Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gnss_utils
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
algorithms
gnss_utils
Commits
15fd4cc9
Commit
15fd4cc9
authored
3 years ago
by
Mederic Fourmy
Browse files
Options
Downloads
Patches
Plain Diff
[skip-ci] remove iri-algorithms and minor things
parent
7feb4914
No related branches found
No related tags found
2 merge requests
!26
cmake fixes
,
!24
Resolve "cmake: remove iri-algorithms from include install path"
Pipeline
#11248
skipped
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+7
-7
7 additions, 7 deletions
CMakeLists.txt
with
7 additions
and
7 deletions
CMakeLists.txt
+
7
−
7
View file @
15fd4cc9
...
...
@@ -12,7 +12,7 @@ PROJECT(gnss_utils)
SET
(
EXECUTABLE_OUTPUT_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/bin
)
SET
(
LIBRARY_OUTPUT_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/lib
)
set
(
INCLUDE_INSTALL_DIR include
/iri-algorithms
)
set
(
INCLUDE_INSTALL_DIR include
)
set
(
LIB_INSTALL_DIR lib/
)
IF
(
NOT CMAKE_BUILD_TYPE
)
...
...
@@ -55,7 +55,7 @@ if(BUILD_TESTS)
endif
()
# Define the directory where will be the configured config.h
SET
(
GNSS_UTILS_CONFIG_DIR
${
PROJECT_BINARY_DIR
}
/conf/
gnss_utils
/internal
)
SET
(
GNSS_UTILS_CONFIG_DIR
${
PROJECT_BINARY_DIR
}
/conf/
${
PROJECT_NAME
}
/internal
)
# Create the specified output directory if it does not exist.
IF
(
NOT EXISTS
"
${
GNSS_UTILS_CONFIG_DIR
}
"
)
...
...
@@ -126,10 +126,10 @@ FIND_PACKAGE(Eigen3 3.3 REQUIRED CONFIG)
INCLUDE_DIRECTORIES
(
BEFORE include
${
RTKLIB_SRC_DIR
}
)
# create the shared library
ADD_LIBRARY
(
gnss_utils
SHARED
${
SOURCES
}
${
RTKLIB_SRC
}
)
ADD_LIBRARY
(
${
PROJECT_NAME
}
SHARED
${
SOURCES
}
${
RTKLIB_SRC
}
)
# Link this library wrt. its dependencies
TARGET_LINK_LIBRARIES
(
gnss_utils
Eigen3::Eigen
)
TARGET_LINK_LIBRARIES
(
${
PROJECT_NAME
}
Eigen3::Eigen
)
# Examples
ADD_SUBDIRECTORY
(
src/examples
)
...
...
@@ -169,12 +169,12 @@ target_include_directories(${PROJECT_NAME} INTERFACE
$<INSTALL_INTERFACE:
${
INCLUDE_INSTALL_DIR
}
>
)
INSTALL
(
DIRECTORY include/
gnss_utils
DESTINATION
${
INCLUDE_INSTALL_DIR
}
)
INSTALL
(
DIRECTORY include/
${
PROJECT_NAME
}
DESTINATION
${
INCLUDE_INSTALL_DIR
}
)
INSTALL
(
FILES
${
RTKLIB_SRC_DIR
}
/rtklib.h DESTINATION
${
INCLUDE_INSTALL_DIR
}
/
gnss_utils
)
INSTALL
(
FILES
${
RTKLIB_SRC_DIR
}
/rtklib.h DESTINATION
${
INCLUDE_INSTALL_DIR
}
/
${
PROJECT_NAME
}
)
INSTALL
(
FILES
"
${
GNSS_UTILS_CONFIG_DIR
}
/config.h"
DESTINATION
${
INCLUDE_INSTALL_DIR
}
/
gnss_utils
/internal
)
DESTINATION
${
INCLUDE_INSTALL_DIR
}
/
${
PROJECT_NAME
}
/internal
)
###############
...
...
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