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
90dd774a
Commit
90dd774a
authored
9 months ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
FIX: Wrong build instructions for manual unit tests
parent
2a5c24a9
No related branches found
No related tags found
2 merge requests
!61
Release 0.3.0
,
!49
Resolve "EXTERN: Adapt to Conan 2"
Pipeline
#53735
passed
9 months ago
Stage: info
Stage: setup
Stage: test
Stage: deploy
Pipeline: caosdb-julialib
#53741
Pipeline: CaosDB Octave library
#53740
Pipeline: caosdb-cppinttest
#53737
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Install_develop.rst
+4
-4
4 additions, 4 deletions
doc/Install_develop.rst
with
4 additions
and
4 deletions
doc/Install_develop.rst
+
4
−
4
View file @
90dd774a
...
@@ -180,15 +180,15 @@ Build
...
@@ -180,15 +180,15 @@ Build
For the tests the build type has to be Debug. As a shorthand you can run ``make
For the tests the build type has to be Debug. As a shorthand you can run ``make
test``. If you want to build manually, follow these steps:
test``. If you want to build manually, follow these steps:
1. ``conan install . -s build_type=Debug``
1. ``conan install . -s build_type=Debug
--build=missing
``
2. ``cd build/Debug``
2. ``cd build/Debug``
3. ``cmake -
B
. -D
CMAKE_BUILD_TYPE=Debug
..
``
3. ``cmake -
S
.
./.. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW
-DCMAKE_BUILD_TYPE=Debug``
- If your clang-format version is too old, formatting, linting etc. can
- If your clang-format version is too old, formatting, linting etc. can
be skipped:
be skipped:
``cmake -B . -D CMAKE_BUILD_TYPE=Debug -D SKIP_LINTING=ON ..``
``cmake -B . -D CMAKE_BUILD_TYPE=Debug -D SKIP_LINTING=ON ..``
- Depending on the clang version it may be necessary to also add
- Depending on the clang version it may be necessary to also add
``-DCMAKE_CXX_FLAGS="-Wno-unused-parameter"``
``-DCMAKE_CXX_FLAGS="-Wno-unused-parameter"``
4
. ``cmake --build .``
5
. ``cmake --build .
``
- If this fails with ``Error running '': No such file or directory``, you may want to try
- If this fails with ``Error running '': No such file or directory``, you may want to try
CMake's ``-D SKIP_LINTING=ON``. (See previous step.)
CMake's ``-D SKIP_LINTING=ON``. (See previous step.)
...
...
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