mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-27 07:57:21 +00:00
15 lines
392 B
CMake
15 lines
392 B
CMake
message (STATUS "Testing is enabled.")
|
|
enable_testing()
|
|
|
|
find_package(GoogleTest REQUIRED)
|
|
include(GoogleTest)
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
|
|
|
|
add_custom_target(conncpp_tests
|
|
${CMAKE_COMMAND} -E copy $<TARGET_FILE:MariaDB::ConnCpp> ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
|
|
|
# Add the subdirectories
|
|
add_subdirectory(dCommonTests)
|
|
add_subdirectory(dGameTests)
|