Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
crest-cmd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
crest-db
crest-cmd
Commits
fbbcab82
Commit
fbbcab82
authored
9 months ago
by
Andrea Formica
Browse files
Options
Downloads
Patches
Plain Diff
Change CMakeList to adapt to new packaging of CrestApi using Attila suggestions
parent
8fcab1b9
No related branches found
No related tags found
No related merge requests found
Pipeline
#10060167
failed
9 months ago
Stage: build_docker_image
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+14
-15
14 additions, 15 deletions
CMakeLists.txt
with
14 additions
and
15 deletions
CMakeLists.txt
+
14
−
15
View file @
fbbcab82
...
...
@@ -33,14 +33,13 @@ IF (Boost_FOUND)
ENDIF
()
#find_package(nlohmann_json 3.2.0 REQUIRED)
find_package
(
CrestApi
Lib
5.1 REQUIRED
)
find_package
(
CrestApi 5.1 REQUIRED
)
#find_package(OpenSSL REQUIRED)
IF
(
CrestApi
Lib
_FOUND
)
message
(
STATUS
"Found CrestApi
Lib
: set include to
${
CrestApi
Lib
_INCLUDE_DIRS
}
"
)
INCLUDE_DIRECTORIES
(
${
CrestApi
Lib
_INCLUDE_DIRS
}
)
IF
(
CrestApi_FOUND
)
message
(
STATUS
"Found CrestApi: set include to
${
CrestApi_INCLUDE_DIRS
}
"
)
INCLUDE_DIRECTORIES
(
${
CrestApi_INCLUDE_DIRS
}
)
ENDIF
()
### INCLUDE_DIRECTORIES("/usr/local/include")
set
(
SOURCES_CMD ./src/crestCmd.cxx
)
set
(
SOURCES_EXP ./src/crestExport.cxx
)
...
...
@@ -52,34 +51,34 @@ set (SOURCES_COPY_GLOBAL_TAG ./src/copyGlobalTag.cxx)
set
(
SOURCES_TAG_CREATION ./src/tag_creation.cxx
)
set
(
SOURCES_REMOVE_TAG_LIST ./src/removeTagList.cxx
)
SET
(
CMAKE_INCLUDE_PATH
${
CMAKE_INCLUDE_PATH
}
${
Boost_INCLUDE_DIR
}
${
CrestApi
Lib
_INCLUDE_DIRS
}
)
SET
(
CMAKE_INCLUDE_PATH
${
CMAKE_INCLUDE_PATH
}
${
Boost_INCLUDE_DIR
}
${
CrestApi_INCLUDE_DIRS
}
)
add_executable
(
crestCmd
${
SOURCES_CMD
}
)
target_link_libraries
(
crestCmd CrestApi
Lib
::CrestApiLib
${
Boost_LIBRARIES
}
)
target_link_libraries
(
crestCmd CrestApi::CrestApiLib
${
Boost_LIBRARIES
}
)
add_executable
(
crestExport
${
SOURCES_EXP
}
)
target_link_libraries
(
crestExport CrestApi
Lib
::CrestApiLib
${
Boost_LIBRARIES
}
)
target_link_libraries
(
crestExport CrestApi::CrestApiLib
${
Boost_LIBRARIES
}
)
add_executable
(
crestImport
${
SOURCES_IMP
}
)
target_link_libraries
(
crestImport CrestApi
Lib
::CrestApiLib
${
Boost_LIBRARIES
}
)
target_link_libraries
(
crestImport CrestApi::CrestApiLib
${
Boost_LIBRARIES
}
)
add_executable
(
crestCopy
${
SOURCES_COPY
}
)
target_link_libraries
(
crestCopy CrestApi
Lib
::CrestApiLib
${
Boost_LIBRARIES
}
)
target_link_libraries
(
crestCopy CrestApi::CrestApiLib
${
Boost_LIBRARIES
}
)
add_executable
(
deleteTag
${
SOURCES_DELETE
}
)
target_link_libraries
(
deleteTag CrestApi
Lib
::CrestApiLib
${
Boost_LIBRARIES
}
)
target_link_libraries
(
deleteTag CrestApi::CrestApiLib
${
Boost_LIBRARIES
}
)
add_executable
(
insertTag
${
SOURCES_INSERT
}
)
target_link_libraries
(
insertTag CrestApi
Lib
::CrestApiLib
${
Boost_LIBRARIES
}
)
target_link_libraries
(
insertTag CrestApi::CrestApiLib
${
Boost_LIBRARIES
}
)
add_executable
(
copyGlobalTag
${
SOURCES_COPY_GLOBAL_TAG
}
)
target_link_libraries
(
copyGlobalTag CrestApi
Lib
::CrestApiLib
${
Boost_LIBRARIES
}
)
target_link_libraries
(
copyGlobalTag CrestApi::CrestApiLib
${
Boost_LIBRARIES
}
)
add_executable
(
tag_creation
${
SOURCES_TAG_CREATION
}
)
target_link_libraries
(
tag_creation CrestApi
Lib
::CrestApiLib
${
Boost_LIBRARIES
}
)
target_link_libraries
(
tag_creation CrestApi::CrestApiLib
${
Boost_LIBRARIES
}
)
add_executable
(
removeTagList
${
SOURCES_REMOVE_TAG_LIST
}
)
target_link_libraries
(
removeTagList CrestApi
Lib
::CrestApiLib
${
Boost_LIBRARIES
}
)
target_link_libraries
(
removeTagList CrestApi::CrestApiLib
${
Boost_LIBRARIES
}
)
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
sign in
to comment