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

37 lines
582 B
CMake
Raw Normal View History

2022-09-22 20:43:06 +05:00
include_directories(
integer
scalar
vector
matrix
)
add_library(hyporo-hyplib STATIC
# Header files
integer/integer.hpp
scalar/scalar.hpp
vector/VectorSpace.hpp
vector/vector.hpp
matrix/MatrixSpace.hpp
matrix/matrix.hpp
2022-10-05 21:10:51 +05:00
io/file.hpp
io/io.hpp
2022-09-22 20:43:06 +05:00
# Source files
scalar/scalar.cpp
2022-10-05 21:10:51 +05:00
io/file.cpp
2022-09-22 20:43:06 +05:00
)
if(WITH_GTESTS)
add_executable(hyporo-hyplib-test
tests/hyplib-test.cpp
)
target_link_libraries(hyporo-hyplib-test
GTest::gtest_main
)
gtest_add_tests(TARGET hyporo-hyplib-test)
endif()