diff options
-rw-r--r-- | CMakeLists.txt | 16 | ||||
-rw-r--r-- | test/matrixtest.cpp (renamed from test/matrix_test.cpp) | 0 | ||||
-rw-r--r-- | test/rigidbodytest.cpp (renamed from test/rigid_body_test.cpp) | 0 | ||||
-rw-r--r-- | test/testbench.cpp | 0 | ||||
-rw-r--r-- | test/testbench.hpp | 18 |
5 files changed, 26 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a1bb9806..7580bbee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,21 +64,21 @@ include_directories(${YAGE_INCLUDE_DIR} add_library(${PROJECT_NAME} ${YAGE_SOURCES}) # add tests -add_executable(rigid_body_test - ${YAGE_TEST_DIR}/rigid_body_test.cpp) -target_link_libraries(rigid_body_test +add_executable(rigidbodytest + ${YAGE_TEST_DIR}/rigidbodytest.cpp) +target_link_libraries(rigidbodytest ${YAGE_LIBRARIES} ${OPENGL_LIBRARIES} ${GLEW_LIBRARIES}) -add_executable(matrix_test - ${YAGE_TEST_DIR}/matrix_test.cpp) -target_link_libraries(matrix_test +add_executable(matrixtest + ${YAGE_TEST_DIR}/matrixtest.cpp) +target_link_libraries(matrixtest ${YAGE_LIBRARIES} ${OPENGL_LIBRARIES} ${GLEW_LIBRARIES}) # enable tests enable_testing() -add_test(RigidBodyTest ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rigid_body_test) -add_test(MatrixTest ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/matrix_test) +add_test(RigidBodyTest ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rigidbodytest) +add_test(MatrixTest ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/matrixtest) diff --git a/test/matrix_test.cpp b/test/matrixtest.cpp index 16548164..16548164 100644 --- a/test/matrix_test.cpp +++ b/test/matrixtest.cpp diff --git a/test/rigid_body_test.cpp b/test/rigidbodytest.cpp index c5683697..c5683697 100644 --- a/test/rigid_body_test.cpp +++ b/test/rigidbodytest.cpp diff --git a/test/testbench.cpp b/test/testbench.cpp new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/testbench.cpp diff --git a/test/testbench.hpp b/test/testbench.hpp new file mode 100644 index 00000000..0d2424fa --- /dev/null +++ b/test/testbench.hpp @@ -0,0 +1,18 @@ +/* + * created 22-06-17 by Yann Herklotz + * + * Test bench to test different functions in the yage library + * + */ + +#ifndef TEST_BENCH_HPP +#define TEST_BENCH_HPP + +class TestBench +{ +private: +public: + +}; + +#endif |