Skip to content
Snippets Groups Projects
Commit ce25246d authored by Adam Paquette's avatar Adam Paquette
Browse files

Added functions to h file and update library name in cmake files

parent ef970d4c
No related branches found
No related tags found
No related merge requests found
#===============================================================================
# The main build file for building SpiceRefactor using CMake.
# The main build file for building EAL using CMake.
#===============================================================================
# CMake initialization
......
......@@ -12,4 +12,10 @@ vector<double> getVelocity(vector<vector<double>> coords, vector<double> coeffs,
vector<double> getPosition(vector<double> coeffs, char *interp, double time);
vector<double> getVelocity(vector<double> coeffs, char *interp, double time, bool interpolation);
vector<double> getRotation(char *from, char *to, vector<vector<double>> rotations, vector<double> times, char *interp, double time);
vector<double> getAngularVelocity(char *from, char *to, vector<vector<double>> rotations, vector<double> times, char *interp, double time);
vector<double> getRotation(char *from, char *to, vector<double> coefficients, char *interp, double time);
vector<double> getAngularVelocity(char *from, char *to, vector<double> coefficients, char *interp, double time);
#endif // EAL_H
......@@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.10)
file(GLOB test_source "${CMAKE_SOURCE_DIR}/tests/*.cpp")
# Link runSpiceRefactorTests with what we want to test and the GTest and pthread library
add_executable(runSpiceRefactorTests
# Link runEALTests with what we want to test and the GTest and pthread library
add_executable(runEALTests
TestMain.cpp
${test_source})
target_link_libraries(runSpiceRefactorTests usgsephem ${ALLLIBS} ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES} pthread)
target_link_libraries(runEALTests usgsephem ${ALLLIBS} ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES} pthread)
gtest_discover_tests(runSpiceRefactorTests WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/../tests)
gtest_discover_tests(runEALTests WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/../tests)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment