Added the hpps as static libraries
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
build/
|
||||||
34
CMakeLists.txt
Normal file
34
CMakeLists.txt
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.6)
|
||||||
|
project(Vector3D)
|
||||||
|
|
||||||
|
add_subdirectory(unit-tests)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
|
add_library(Vector3D
|
||||||
|
STATIC
|
||||||
|
Vector3D.hpp
|
||||||
|
)
|
||||||
|
|
||||||
|
set_target_properties(Vector3D
|
||||||
|
PROPERTIES
|
||||||
|
LINKER_LANGUAGE CXX
|
||||||
|
)
|
||||||
|
|
||||||
|
target_include_directories(Vector3D PUBLIC
|
||||||
|
include
|
||||||
|
)
|
||||||
|
|
||||||
|
add_library(Matrix
|
||||||
|
STATIC
|
||||||
|
Matrix.hpp
|
||||||
|
)
|
||||||
|
|
||||||
|
set_target_properties(Matrix
|
||||||
|
PROPERTIES
|
||||||
|
LINKER_LANGUAGE CXX
|
||||||
|
)
|
||||||
|
|
||||||
|
target_include_directories(Matrix PUBLIC
|
||||||
|
include
|
||||||
|
)
|
||||||
0
unit-tests/CMakeLists.txt
Normal file
0
unit-tests/CMakeLists.txt
Normal file
11811
unit-tests/catch_amalgamated.cpp
Normal file
11811
unit-tests/catch_amalgamated.cpp
Normal file
File diff suppressed because it is too large
Load Diff
14106
unit-tests/catch_amalgamated.hpp
Normal file
14106
unit-tests/catch_amalgamated.hpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user