simstr/tests/CMakeLists.txt

12 lines
328 B
CMake
Raw Normal View History

2025-04-05 14:21:11 +00:00
# CMakeList.txt : CMake project for core_as, include source and define
# project specific logic here.
#
add_executable(testStr test_str.cpp)
target_link_libraries(testStr simstr gtest_main)
add_test(NAME testStr COMMAND testStr)
if (EMSCRIPTEN)
set_target_properties (testStr PROPERTIES SUFFIX .html)
endif(EMSCRIPTEN)