diff options
| author | 2019-03-25 20:29:31 -0400 | |
|---|---|---|
| committer | 2019-06-10 00:03:11 -0400 | |
| commit | c508a8d82af08db6cbc38af0611e2b461a39b3f2 (patch) | |
| tree | 84a9a5bc17f59a05311a9d2d2dba4556dbd30067 /src/yuzu_tester | |
| parent | Merge pull request #2571 from lioncash/ref (diff) | |
| download | yuzu-c508a8d82af08db6cbc38af0611e2b461a39b3f2.tar.gz yuzu-c508a8d82af08db6cbc38af0611e2b461a39b3f2.tar.xz yuzu-c508a8d82af08db6cbc38af0611e2b461a39b3f2.zip | |
yuzu_tester: Add project subdirectory
Diffstat (limited to 'src/yuzu_tester')
| -rw-r--r-- | src/yuzu_tester/CMakeLists.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/yuzu_tester/CMakeLists.txt b/src/yuzu_tester/CMakeLists.txt new file mode 100644 index 000000000..06c2ee011 --- /dev/null +++ b/src/yuzu_tester/CMakeLists.txt | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules) | ||
| 2 | |||
| 3 | add_executable(yuzu-tester | ||
| 4 | config.cpp | ||
| 5 | config.h | ||
| 6 | default_ini.h | ||
| 7 | emu_window/emu_window_sdl2_hide.cpp | ||
| 8 | emu_window/emu_window_sdl2_hide.h | ||
| 9 | resource.h | ||
| 10 | service/yuzutest.cpp | ||
| 11 | service/yuzutest.h | ||
| 12 | yuzu.cpp | ||
| 13 | yuzu.rc | ||
| 14 | ) | ||
| 15 | |||
| 16 | create_target_directory_groups(yuzu-tester) | ||
| 17 | |||
| 18 | target_link_libraries(yuzu-tester PRIVATE common core input_common) | ||
| 19 | target_link_libraries(yuzu-tester PRIVATE inih glad) | ||
| 20 | if (MSVC) | ||
| 21 | target_link_libraries(yuzu-tester PRIVATE getopt) | ||
| 22 | endif() | ||
| 23 | target_link_libraries(yuzu-tester PRIVATE ${PLATFORM_LIBRARIES} SDL2 Threads::Threads) | ||
| 24 | |||
| 25 | if(UNIX AND NOT APPLE) | ||
| 26 | install(TARGETS yuzu-tester RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") | ||
| 27 | endif() | ||
| 28 | |||
| 29 | if (MSVC) | ||
| 30 | include(CopyYuzuSDLDeps) | ||
| 31 | include(CopyYuzuUnicornDeps) | ||
| 32 | copy_yuzu_SDL_deps(yuzu-tester) | ||
| 33 | copy_yuzu_unicorn_deps(yuzu-tester) | ||
| 34 | endif() | ||