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
Merge pull request #11 - system recognition mprovements
- Add tests,
- fix small bugs found by added tests,
- improve stability and readability,
- Remove lsb-release, use CMAKE_* variables to determine architecture and OS.
Copy file name to clipboardExpand all lines: doc/PackageChain.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ CMDEF_ADD_EXECUTABLE(
50
50
51
51
Configure installation of a target, that will export it and create the target's `.cmake` file.
52
52
53
-
`NAMESPACE` is **required** when using the whole chain and it must be **equal** to the name of the **main target**.
53
+
`NAMESPACE` is **optional**but **recommended**when using the whole chain. When specified, it must be **equal** to the name of the **main target** and end with `::`. If using `CMDEF_PACKAGE`, the namespace consistency is validated automatically.
54
54
> **main target** - the 'object' for which we create the CMake project. It relates to CMDEF_PACKAGE
55
55
56
56
#### Example
@@ -106,7 +106,7 @@ make install # Install cmake files, mylib-shared.so and myexecutable to <instal
> Note that when `CMAKE_BUILD_TYPE=Debug`, the libraries and executables **OUTPUT_NAME** will have a suffix `d`added to them.
109
+
> Note that when `CMAKE_BUILD_TYPE=Debug`, the libraries and executables **OUTPUT_NAME** will have a debug suffix added to them (controlled by `CMDEF_EXECUTABLE_NAME_DEBUG_SUFFIX`, typically `d`).
0 commit comments