Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ale
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aflab
astrogeology
Ale
Commits
ce25246d
Commit
ce25246d
authored
Nov 29, 2018
by
Adam Paquette
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
include/eal.h
+6
-0
6 additions, 0 deletions
include/eal.h
tests/CMakeLists.txt
+4
-4
4 additions, 4 deletions
tests/CMakeLists.txt
with
11 additions
and
5 deletions
CMakeLists.txt
+
1
−
1
View file @
ce25246d
#===============================================================================
# The main build file for building
SpiceRefactor
using CMake.
# The main build file for building
EAL
using CMake.
#===============================================================================
# CMake initialization
...
...
This diff is collapsed.
Click to expand it.
include/eal.h
+
6
−
0
View file @
ce25246d
...
...
@@ -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
This diff is collapsed.
Click to expand it.
tests/CMakeLists.txt
+
4
−
4
View file @
ce25246d
...
...
@@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.10)
file
(
GLOB test_source
"
${
CMAKE_SOURCE_DIR
}
/tests/*.cpp"
)
# Link run
SpiceRefactor
Tests with what we want to test and the GTest and pthread library
add_executable
(
run
SpiceRefactor
Tests
# Link run
EAL
Tests with what we want to test and the GTest and pthread library
add_executable
(
run
EAL
Tests
TestMain.cpp
${
test_source
}
)
target_link_libraries
(
run
SpiceRefactor
Tests usgsephem
${
ALLLIBS
}
${
GTEST_LIBRARIES
}
${
GTEST_MAIN_LIBRARIES
}
pthread
)
target_link_libraries
(
run
EAL
Tests usgsephem
${
ALLLIBS
}
${
GTEST_LIBRARIES
}
${
GTEST_MAIN_LIBRARIES
}
pthread
)
gtest_discover_tests
(
run
SpiceRefactor
Tests WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
/../tests
)
gtest_discover_tests
(
run
EAL
Tests WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
/../tests
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment