Move dvp one folder up and update CMakeLists.txt

This commit is contained in:
Tilen Majerle 2021-12-24 19:44:26 +01:00
parent 9826de4def
commit 4f5e3ae8ad
6 changed files with 9 additions and 9 deletions

View File

@ -18,14 +18,14 @@ add_executable(${PROJECT_NAME})
# Add key executable block # Add key executable block
target_sources(${PROJECT_NAME} PUBLIC target_sources(${PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/dev/VisualStudio/main.c ${CMAKE_CURRENT_LIST_DIR}/dev/main.c
${CMAKE_CURRENT_LIST_DIR}/tests/lwmem_test.c ${CMAKE_CURRENT_LIST_DIR}/tests/lwmem_test.c
) )
# Add key include paths # Add key include paths
target_include_directories(${PROJECT_NAME} PUBLIC target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR} ${CMAKE_CURRENT_LIST_DIR}
${CMAKE_CURRENT_LIST_DIR}/dev/VisualStudio ${CMAKE_CURRENT_LIST_DIR}/dev
) )
# Compilation definition information # Compilation definition information

View File

@ -73,7 +73,7 @@
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental> <LinkIncremental>true</LinkIncremental>
<IncludePath>..\..\lwmem\src\include;.;$(IncludePath)</IncludePath> <IncludePath>..\lwmem\src\include;.;$(IncludePath)</IncludePath>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental> <LinkIncremental>true</LinkIncremental>
@ -143,9 +143,9 @@
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\..\lwmem\src\lwmem\lwmem.c" /> <ClCompile Include="..\lwmem\src\lwmem\lwmem.c" />
<ClCompile Include="..\..\lwmem\src\system\lwmem_sys_win32.c" /> <ClCompile Include="..\lwmem\src\system\lwmem_sys_win32.c" />
<ClCompile Include="..\..\tests\lwmem_test.c" /> <ClCompile Include="..\tests\lwmem_test.c" />
<ClCompile Include="main.c" /> <ClCompile Include="main.c" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -16,13 +16,13 @@
<ClCompile Include="main.c"> <ClCompile Include="main.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\lwmem\src\lwmem\lwmem.c"> <ClCompile Include="..\lwmem\src\lwmem\lwmem.c">
<Filter>Source Files\LWMEM</Filter> <Filter>Source Files\LWMEM</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\lwmem\src\system\lwmem_sys_win32.c"> <ClCompile Include="..\lwmem\src\system\lwmem_sys_win32.c">
<Filter>Source Files\LWMEM</Filter> <Filter>Source Files\LWMEM</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\tests\lwmem_test.c"> <ClCompile Include="..\tests\lwmem_test.c">
<Filter>Source Files\Tests</Filter> <Filter>Source Files\Tests</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>