-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
129 changed files
with
122,392 additions
and
536 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "third_party/embedded-libs"] | ||
path = third_party/embedded-libs | ||
url = https://github.com/MaJerle/embedded-libs | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"version": 4, | ||
"configurations": [ | ||
{ | ||
"name": "Win32", | ||
"includePath": [ | ||
"${workspaceFolder}\\dev\\VisualStudio\\", | ||
"${workspaceFolder}\\lwmem\\src\\include\\" | ||
], | ||
"defines": [ | ||
"WIN32", | ||
"_DEBUG", | ||
"UNICODE", | ||
"_UNICODE", | ||
"LWMEM_DEV" | ||
], | ||
"compilerPath": "c:\\msys64\\mingw64\\bin\\gcc.exe", | ||
"cStandard": "gnu17", | ||
"cppStandard": "gnu++14", | ||
"intelliSenseMode": "windows-gcc-x86", | ||
"configurationProvider": "ms-vscode.cmake-tools" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "(Windows) Launch", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}\\build\\LwLibPROJECT.exe", | ||
"miDebuggerPath": "c:\\msys64\\mingw64\\bin\\gdb.exe", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${fileDirname}", | ||
"environment": [], | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"version": "2.0.0", | ||
|
||
/* For this builds, you need | ||
* | ||
* - Ninja build system | ||
* - MSYS2 compiler with ninja support | ||
* - C/C++ extension for VSCode | ||
* - CMake-Tools extension for VSCode | ||
*/ | ||
"tasks": [ | ||
{ | ||
"type": "cppbuild", | ||
"label": "Build project", | ||
"command": "cmake", | ||
"args": ["--build", "\"build\""], | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
"problemMatcher": ["$gcc"], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Re-build project", | ||
"command": "cmake", | ||
"args": ["--build", "\"build\"", "--clean-first", "-v"], | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
"problemMatcher": ["$gcc"], | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Clean project", | ||
"command": "cmake", | ||
"args": ["--build", "\"build\"", "--target", "clean"], | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Run application", | ||
"command": "${workspaceFolder}\\build\\LwLibPROJECT.exe", | ||
"args": [], | ||
"problemMatcher": [], | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
cmake_minimum_required(VERSION 3.0.0) | ||
project(LwLibPROJECT VERSION 0.1.0) | ||
|
||
include(CTest) | ||
enable_testing() | ||
|
||
add_executable(${PROJECT_NAME} | ||
lwmem/src/lwmem/lwmem.c | ||
lwmem/src/system/lwmem_sys_win32.c | ||
tests/lwmem_test.c | ||
dev/VisualStudio/main.c | ||
) | ||
|
||
target_include_directories(${PROJECT_NAME} PRIVATE | ||
dev/VisualStudio | ||
lwmem/src/include | ||
) | ||
|
||
target_compile_definitions(${PROJECT_NAME} PRIVATE | ||
WIN32 | ||
_DEBUG | ||
CONSOLE | ||
LWMEM_DEV | ||
) | ||
|
||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | ||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | ||
include(CPack) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.3 | ||
* Version: v1.6.0 | ||
*/ | ||
#ifndef LWMEM_HDR_OPTS_H | ||
#define LWMEM_HDR_OPTS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.