You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-28Lines changed: 24 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# project_options
2
2
3
-
A general-purpose CMake library that makes using CMake easier
3
+
A general-purpose CMake library that provides functions that improve the CMake experience.
4
+
5
+
It provdes different functions such as `project_options`, `package_project`, `dynamic_project_options`, `run_vcpkg`, `target_link_system_libraries`, etc.
4
6
5
7
## Usage
6
8
@@ -9,29 +11,26 @@ Here is a full example:
9
11
```cmake
10
12
cmake_minimum_required(VERSION 3.16)
11
13
12
-
# uncomment to set a default CXX standard for the external tools like clang-tidy and cppcheck
13
-
# and the targets that do not specify a standard.
14
-
# If not set, the latest supported standard for your compiler is used
15
-
# You can later set fine-grained standards for each target using `target_compile_features`
16
-
# set(CMAKE_CXX_STANDARD 17)
14
+
# set a default CXX standard for the tools and targets that do not specify them.
15
+
# If commented, the latest supported standard for your compiler is automatically set.
@@ -228,7 +227,8 @@ The following arguments specify the package:
228
227
-`TARGETS`: the targets you want to package. It is recursively found for the current folder if not specified
229
228
230
229
-`PUBLIC_INCLUDES`: a list of public/interface include directories or files.
231
-
_the given include directories are directly installed to the install destination. To have an `include` folder in the install destination with the content of your include directory, name your directory `include`._
230
+
231
+
<sub>NOTE: The given include directories are directly installed to the install destination. To have an `include` folder in the install destination with the content of your include directory, name your directory `include`.</sub>
232
232
233
233
-`PUBLIC_DEPENDENCIES_CONFIGURED`: the names of the INTERFACE/PUBLIC dependencies that are found using `CONFIG`.
0 commit comments