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

51 lines
780 B
CMake
Raw Normal View History

2022-09-22 20:43:06 +05:00
include_directories(
integer
scalar
2022-10-17 11:12:52 +05:00
array
2022-09-22 20:43:06 +05:00
vector
matrix
)
add_library(hyporo-hyplib STATIC
# Header files
integer/integer.hpp
scalar/scalar.hpp
2022-10-17 11:12:52 +05:00
array/iterator.hpp
array/dynamic_array.hpp
array/static_array.hpp
array/array.hpp
vector/vector_space.hpp
2022-09-22 20:43:06 +05:00
vector/VectorSpace.hpp
vector/vector.hpp
2022-10-17 11:12:52 +05:00
2022-09-22 20:43:06 +05:00
matrix/MatrixSpace.hpp
matrix/matrix.hpp
2022-10-17 11:12:52 +05:00
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)
2022-10-17 11:12:52 +05:00
add_executable(mytest
tests/mytest.cpp)
2022-09-22 20:43:06 +05:00
endif()