We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e516b9b commit 57e7408Copy full SHA for 57e7408
.gitignore
@@ -1,4 +1,3 @@
1
.clang-format
2
.idea
3
-cmake-build-debug
4
-main.cpp
+cmake-build-debug
CMakeLists.txt
README.md
@@ -20,3 +20,17 @@ $ uv pip install -r requirements.txt
20
```shell
21
$ mkdocs serve
22
```
23
+
24
+## ライブラリ使用方法
25
26
+### CMakeLists を使用する場合
27
28
+以下のように追記すればOK。
29
30
+```
31
+add_library(cpplib INTERFACE)
32
+target_include_directories(cpplib INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
33
34
+add_executable(main main.cpp)
35
+target_link_libraries(main PRIVATE cpp)
36
0 commit comments