Fix CMake build

This commit is contained in:
Connor McLaughlin 2019-10-20 22:31:45 +10:00
parent b9e0c329d0
commit 4f1fc7abf0
6 changed files with 9 additions and 5 deletions

View File

@ -4,6 +4,8 @@ set(SRCS
bitfield.h
cd_image.cpp
cd_image.h
cd_image_bin.cpp
cd_image_cue.cpp
cd_xa.cpp
cd_xa.h
gl_program.cpp

View File

@ -50,7 +50,7 @@
<ClCompile Include="audio_stream.cpp" />
<ClCompile Include="cd_image.cpp" />
<ClCompile Include="cd_image_bin.cpp" />
<ClCompile Include="cd_image_cuesheet.cpp" />
<ClCompile Include="cd_image_cue.cpp" />
<ClCompile Include="gl_program.cpp" />
<ClCompile Include="gl_texture.cpp" />
<ClCompile Include="jit_code_buffer.cpp" />
@ -389,4 +389,4 @@
<ImportGroup Label="ExtensionTargets">
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
</ImportGroup>
</Project>
</Project>

View File

@ -20,10 +20,10 @@
<ClCompile Include="cd_image.cpp" />
<ClCompile Include="audio_stream.cpp" />
<ClCompile Include="cd_xa.cpp" />
<ClCompile Include="cd_image_cuesheet.cpp" />
<ClCompile Include="cd_image_cue.cpp" />
<ClCompile Include="cd_image_bin.cpp" />
</ItemGroup>
<ItemGroup>
<Natvis Include="bitfield.natvis" />
</ItemGroup>
</Project>
</Project>

View File

@ -16,6 +16,7 @@ add_library(core
dma.h
gpu.cpp
gpu.h
gpu_commands.cpp
gpu_hw.cpp
gpu_hw.h
gpu_hw_opengl.cpp

View File

@ -1,4 +1,5 @@
set(SRCS
icon.cpp
main.cpp
sdl_audio_stream.cpp
sdl_audio_stream.h
@ -8,4 +9,4 @@ set(SRCS
add_executable(duckstation ${SRCS})
target_include_directories(duckstation PRIVATE "${SDL2_INCLUDE_DIRS}")
target_link_libraries(duckstation core imgui "${SDL2_LIBRARIES}")
target_link_libraries(duckstation core imgui nativefiledialog "${SDL2_LIBRARIES}")