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" />

View file

@ -20,7 +20,7 @@
<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>

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}")