mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 20:25:34 -05:00
25 lines
392 B
CMake
25 lines
392 B
CMake
enable_testing()
|
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/include)
|
|
|
|
add_executable(
|
|
testlib_unit_test
|
|
testlib_unit_test.cpp
|
|
)
|
|
|
|
set_source_files_properties(
|
|
testlib_unit_test.cpp
|
|
|
|
PROPERTIES COMPILE_FLAGS "-fno-rtti"
|
|
)
|
|
|
|
target_link_libraries(
|
|
testlib_unit_test
|
|
gtest_main
|
|
ConcretelangRuntime
|
|
ConcretelangTestLib
|
|
)
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(testlib_unit_test)
|