summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-18 07:37:17 +0100
committerGitHub <noreply@github.com>2018-01-18 07:37:17 +0100
commitbe0e14ab3e7b07b5d7879347114428f0beef595f (patch)
tree34521653cd5172d2af45214c3cce1f010842210a /src/yuzu_cmd
parentMerge pull request #91 from lioncash/svc (diff)
parentCMakeLists: Derive the source directory grouping from targets themselves (diff)
downloadyuzu-be0e14ab3e7b07b5d7879347114428f0beef595f.tar
yuzu-be0e14ab3e7b07b5d7879347114428f0beef595f.tar.gz
yuzu-be0e14ab3e7b07b5d7879347114428f0beef595f.tar.bz2
yuzu-be0e14ab3e7b07b5d7879347114428f0beef595f.tar.lz
yuzu-be0e14ab3e7b07b5d7879347114428f0beef595f.tar.xz
yuzu-be0e14ab3e7b07b5d7879347114428f0beef595f.tar.zst
yuzu-be0e14ab3e7b07b5d7879347114428f0beef595f.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/CMakeLists.txt25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt
index 433e210b0..297dab653 100644
--- a/src/yuzu_cmd/CMakeLists.txt
+++ b/src/yuzu_cmd/CMakeLists.txt
@@ -1,21 +1,18 @@
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
-set(SRCS
- emu_window/emu_window_sdl2.cpp
- config.cpp
- yuzu.cpp
- yuzu.rc
- )
-set(HEADERS
- emu_window/emu_window_sdl2.h
- config.h
- default_ini.h
- resource.h
- )
+add_executable(yuzu-cmd
+ config.cpp
+ config.h
+ default_ini.h
+ emu_window/emu_window_sdl2.cpp
+ emu_window/emu_window_sdl2.h
+ resource.h
+ yuzu.cpp
+ yuzu.rc
+)
-create_directory_groups(${SRCS} ${HEADERS})
+create_target_directory_groups(yuzu-cmd)
-add_executable(yuzu-cmd ${SRCS} ${HEADERS})
target_link_libraries(yuzu-cmd PRIVATE common core input_common)
target_link_libraries(yuzu-cmd PRIVATE inih glad)
if (MSVC)