diff options
author | Aki <please@ignore.pl> | 2024-03-07 23:59:51 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-03-07 23:59:51 +0100 |
commit | 3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19 (patch) | |
tree | 4a2724f89ce213b1834d5550229243cccfad9fb3 /StarsEx/CMakeLists.txt | |
parent | 1ef05b8b227194ec32ae49f0eaf3e483ef35bb6b (diff) | |
download | starshatter-3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19.zip starshatter-3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19.tar.gz starshatter-3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19.tar.bz2 |
Added gtest to the project and a stub test for showcase
Diffstat (limited to 'StarsEx/CMakeLists.txt')
-rw-r--r-- | StarsEx/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/StarsEx/CMakeLists.txt b/StarsEx/CMakeLists.txt index 1dc025d..1bacde7 100644 --- a/StarsEx/CMakeLists.txt +++ b/StarsEx/CMakeLists.txt @@ -329,3 +329,10 @@ else() PUBLIC -l:libdxguid.a ) endif() +add_executable( + ${PROJECT_NAME}_test + test/AudioConfig.cpp + ) +generate_emulator(${PROJECT_NAME}_test LIBS Opcode ArchiveEx) +target_link_libraries(${PROJECT_NAME}_test PRIVATE ${PROJECT_NAME} GTest::gtest_main) +gtest_discover_tests(${PROJECT_NAME}_test DISCOVERY_TIMEOUT 60) |