hyporo-cpp/source/hyporo/hmesh/CMakeLists.txt

29 lines
424 B
CMake
Raw Normal View History

2022-09-22 20:43:06 +05:00
include_directories(
.
../hyplib/integer
../hyplib/scalar
../hyplib/vector
)
add_library(hyporo-hmesh STATIC
# Header files
2022-11-04 18:38:39 +05:00
mesh.hpp
2022-09-22 20:43:06 +05:00
# Source files
2022-11-04 18:38:39 +05:00
mesh.cpp
2022-09-22 20:43:06 +05:00
)
if(WITH_GTESTS)
add_executable(hyporo-hmesh-test
tests/hmesh-test.cpp
)
target_link_libraries(hyporo-hmesh-test
GTest::gtest_main
)
gtest_add_tests(TARGET hyporo-hmesh-test)
endif()