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
3df261b1
Commit
3df261b1
authored
10 months ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Add basic compilation steps with vcpkg
(not functional yet, only how it should work later on)
parent
c764a229
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!61
Release 0.3.0
,
!53
Add vcpkg support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Install_develop.rst
+22
-1
22 additions, 1 deletion
doc/Install_develop.rst
with
22 additions
and
1 deletion
doc/Install_develop.rst
+
22
−
1
View file @
3df261b1
...
...
@@ -19,6 +19,27 @@ which have ``make`` installed, type this in your command line terminal:
make conan
Building with ``vcpkg``
~~~~~~~~~~~~~~~~~~~~~~~
You can use the vcpkg package manager to install the dependencies (`vcpkg.json`). It's included as
a submodule in the project. To install the dependencies, run the following commands:
.. code:: console
./vcpkg/bootstrap-vcpkg.<sh/bat>
vcpkg/vcpkg install
Then compile the project with CMake by including the vcpkg toolchain file:
.. code:: console
cd build
cmake -S .. -B . -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux
cmake --build .
Manual build
~~~~~~~~~~~~
...
...
@@ -74,7 +95,7 @@ as compiler. We use `cmake <https://cmake.org/download/>`__ as build
tool.
1. clone/update the subrepo ``git submodule update --init proto``
2. ``conan install .. -g visual_studio -s arch=x86_64 -s build_type=Release -s compiler.toolset=v142 -s compiler.version=16 -s compiler.runtime=MD --build=missing --update``
2.
:code:
``conan install .. -g visual_studio -s arch=x86_64 -s build_type=Release -s compiler.toolset=v142 -s compiler.version=16 -s compiler.runtime=MD --build=missing --update``
3. ``cd build/Release``
5. ``cmake -B . ..``
6. open ``libcaosdb.sln`` with Visual Studio, change the buildtype to
...
...
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