File: CMakeLists.txt

package info (click to toggle)
bornagain 23.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 103,936 kB
  • sloc: cpp: 423,131; python: 40,997; javascript: 11,167; awk: 630; sh: 318; ruby: 173; xml: 130; makefile: 51; ansic: 24
file content (15 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
include(GoogleTest) # provides gtest_discover_tests

set(test TestGUIProjectCompatibility)

file(GLOB source_files *.cpp)

find_package(Qt6Core REQUIRED)

add_executable(${test} ${source_files} ${CMAKE_SOURCE_DIR}/Tests/GTestWrapper/TestAll.cpp)

target_include_directories(${test} PUBLIC ${CMAKE_SOURCE_DIR})

target_link_libraries(${test} BornAgainGUI gtest Qt6::Core)

gtest_discover_tests(${test} DISCOVERY_TIMEOUT 300 TEST_PREFIX Functional.GUIProjectCompatibility.)