Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite9ac6f3

Browse files
committed
how to build
1 parent8e8e4b7 commite9ac6f3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

‎docs/build.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#Overview of the build system
2+
`datalog-cpp` uses the[CMake](www.cmake.org) build tool to generate build files for other build systems. Currently, building using clang and gcc with Makefiles are supported.
3+
4+
#Building with Makefiles
5+
From the command line inside a git clone, run the following:
6+
```
7+
mkdir build
8+
cd build
9+
cmake ../src
10+
make
11+
```
12+
#Building directly with CMake in Visual Studio 2019
13+
Visual Studio 2019 supports using CMake to manage the build directly by selecting File -> Open -> Cmake... and opening`src/CMakeLists.txt`. Then Visual Studio's normal build shortcuts will update the CMake configuration as well as building the project.
14+
15+
CMake options are configured using the`CMakeSettings.json` file, which Visual Studio will generate when`CMakeLists.txt` is opened.
16+
17+
#Build options
18+
Additional configuration variables can be provided in the`cmake` invocation.
19+
20+
For Makefile builds, a build type can be specified by passing`-DCMAKE_BUILD_TYPE=Debug`,`-DCMAKE_BUILD_TYPE=MinSizeRel`,`-DCMAKE_BUILD_TYPE=Release`, or`-DCMAKE_BUILD_TYPE=RelWithDebInfo`. By default, Makefile builds will use`RelWithDebInfo`.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp