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

add_library(
	${PROJECT_NAME} STATIC
	src/Parser.cpp
	src/Term.cpp
	src/Token.cpp
	)
target_include_directories(${PROJECT_NAME} PUBLIC include)
target_link_libraries(${PROJECT_NAME} PUBLIC FoundationEx)

add_executable(${PROJECT_NAME}_test test/parse_utils_like.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)