mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 12:35:47 +00:00
Move dead submodules in-tree
Signed-off-by: swurl <swurl@swurl.xyz>
This commit is contained in:
parent
c0cceff365
commit
6c655321e6
4081 changed files with 1185566 additions and 45 deletions
30
externals/simpleini/tests/CMakeLists.txt
vendored
Normal file
30
externals/simpleini/tests/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
if(SIMPLEINI_USE_SYSTEM_GTEST)
|
||||
find_package(GTest REQUIRED)
|
||||
else()
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
googletest
|
||||
DOWNLOAD_EXTRACT_TIMESTAMP ON
|
||||
URL https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip
|
||||
URL_HASH SHA1=0ac421f2ec11af38b0fff0f1992184032731a8bc
|
||||
)
|
||||
FetchContent_MakeAvailable(googletest)
|
||||
endif()
|
||||
|
||||
add_executable(tests
|
||||
ts-bugfix.cpp
|
||||
ts-noconvert.cpp
|
||||
ts-quotes.cpp
|
||||
ts-roundtrip.cpp
|
||||
ts-snippets.cpp
|
||||
ts-utf8.cpp)
|
||||
|
||||
add_test(NAME tests COMMAND tests)
|
||||
target_link_libraries(tests PRIVATE ${PROJECT_NAME} GTest::gtest_main)
|
||||
|
||||
add_custom_command(
|
||||
TARGET tests POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/example.ini
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tests.ini
|
||||
${CMAKE_CURRENT_BINARY_DIR})
|
Loading…
Add table
Add a link
Reference in a new issue