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

29 lines
424 B
CMake

include_directories(
.
../hyplib/integer
../hyplib/scalar
../hyplib/vector
)
add_library(hyporo-hmesh STATIC
# Header files
mesh.hpp
# Source files
mesh.cpp
)
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()