Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
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
Code review analytics
Issue 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
caosdb
Software
caosdb-cpplib
Commits
033d1208
Verified
Commit
033d1208
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: pipeline
parent
cdaa27ce
No related branches found
No related tags found
No related merge requests found
Pipeline
#9510
passed with warnings
3 years ago
Stage: info
Stage: setup
Stage: test
Stage: deploy
Pipeline: caosdb-cppinttest
#9511
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+8
-13
8 additions, 13 deletions
CMakeLists.txt
with
8 additions
and
13 deletions
CMakeLists.txt
+
8
−
13
View file @
033d1208
...
...
@@ -96,11 +96,11 @@ set(PROTO_FILES
set
(
PROTO_PATH
${
PROJECT_SOURCE_DIR
}
/proto/proto
)
# Generated sources
set
(
hw_hdrs_path
"
caosdb/
info/v1alpha1"
)
set
(
hw_proto_srcs
"
${
CMAKE_CURRENT_BINARY_DIR
}
/include/caosdb/
info/v1alpha1
/main.pb.cc"
)
set
(
hw_proto_hdrs
"
${
CMAKE_CURRENT_BINARY_DIR
}
/include/
${
hw_hdrs_path
}
/main.pb.h"
)
set
(
hw_grpc_srcs
"
${
CMAKE_CURRENT_BINARY_DIR
}
/include/caosdb/
info/v1alpha1
/main.grpc.pb.cc"
)
set
(
hw_grpc_hdrs
"
${
CMAKE_CURRENT_BINARY_DIR
}
/include/
${
hw_hdrs_path
}
/main.grpc.pb.h"
)
set
(
hw_hdrs_path
"info/v1alpha1"
)
set
(
hw_proto_srcs
"
${
CMAKE_CURRENT_BINARY_DIR
}
/include/caosdb/
${
hw_hdrs_path
}
/main.pb.cc"
)
set
(
hw_proto_hdrs
"
${
CMAKE_CURRENT_BINARY_DIR
}
/include/
caosdb/
${
hw_hdrs_path
}
/main.pb.h"
)
set
(
hw_grpc_srcs
"
${
CMAKE_CURRENT_BINARY_DIR
}
/include/caosdb/
${
hw_hdrs_path
}
/main.grpc.pb.cc"
)
set
(
hw_grpc_hdrs
"
${
CMAKE_CURRENT_BINARY_DIR
}
/include/
caosdb/
${
hw_hdrs_path
}
/main.grpc.pb.h"
)
add_custom_command
(
OUTPUT
"
${
hw_proto_srcs
}
"
"
${
hw_proto_hdrs
}
"
"
${
hw_grpc_srcs
}
"
"
${
hw_grpc_hdrs
}
"
COMMAND
${
_PROTOBUF_PROTOC
}
...
...
@@ -141,13 +141,8 @@ ${_PROTOBUF_LIBPROTOBUF})
############ INSTALLATION #####################
###############################################
# These variables slightly modify the install location to allow for version
# specific installations.
if
(
NOT INSTALL_DIR_NAME
)
set
(
INSTALL_DIR_NAME
"libcaosdb"
)
endif
()
set
(
libcaosdb_INCLUDE_DEST
"include/
${
INSTALL_DIR_NAME
}
"
)
set
(
libcaosdb_LIB_DEST
"lib/
${
INSTALL_DIR_NAME
}
"
)
set
(
libcaosdb_INCLUDE_DEST
"include/caosdb"
)
set
(
libcaosdb_LIB_DEST
"lib"
)
# generator expressions are needed for the include directories, since
...
...
@@ -174,7 +169,7 @@ target_include_directories(caosdb PUBLIC
)
set
(
CMAKE_INSTALL_PREFIX
"$ENV{HOME}/
libcaosdb
/"
)
set
(
CMAKE_INSTALL_PREFIX
"$ENV{HOME}/
.local
/"
)
# Install libcaosdb in CMAKE_INSTALL_PREFIX (defaults to /usr/local on linux).
# To change the install location, run
# cmake -DCMAKE_INSTALL_PREFIX=<desired-install-path> ..
...
...
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