summaryrefslogtreecommitdiffhomepage
path: root/FoundationEx/CMakeLists.txt
blob: d7d6ffabe0096d01ba18e953e1d9749971b389d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
project(FoundationEx)

add_library(
	${PROJECT_NAME} STATIC
	src/Text.cpp
	src/Utils.cpp
	src/reader.cpp
	src/data.cpp
	src/reader/file.cpp
	)
target_include_directories(${PROJECT_NAME} PUBLIC include)

add_executable(${PROJECT_NAME}_test test/Text.cpp test/reader.cpp test/data.cpp)
target_link_libraries(${PROJECT_NAME}_test PRIVATE ${PROJECT_NAME} GTest::gtest_main)
generate_emulator(${PROJECT_NAME}_test)
gtest_discover_tests(${PROJECT_NAME}_test DISCOVERY_TIMEOUT 60)