diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | cmake/cmake.d/03-macros.cmake | 2 | ||||
-rw-r--r-- | docs/dev_guide/1_Quickstart.md | 2 | ||||
-rw-r--r-- | samples.d/config.cmake.sample | 2 | ||||
-rwxr-xr-x | template.d/start-on-target.sh.in | 2 |
5 files changed, 5 insertions, 5 deletions
@@ -48,7 +48,7 @@ For each target part of your project, you need to use ***PROJECT_TARGET_ADD*** to include this target to your project. Using it, make available the cmake variable ***TARGET_NAME*** until the next -***PROJECT_TARGET_ADD*** is invoked with a new target name. +***PROJECT_TARGET_ADD*** is invoked with a new target name. So, typical usage defining a target is: diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake index 88d6dd4..ff4388d 100644 --- a/cmake/cmake.d/03-macros.cmake +++ b/cmake/cmake.d/03-macros.cmake @@ -144,7 +144,7 @@ macro(add_input_files INPUT_FILES) list_filter(LUA_LIST "lua$") list_filter(JSON_LIST "json$") - add_custom_target(${TARGET_NAME} + add_custom_target(${TARGET_NAME} DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_NAME} ) diff --git a/docs/dev_guide/1_Quickstart.md b/docs/dev_guide/1_Quickstart.md index baf70ae..9aad1ef 100644 --- a/docs/dev_guide/1_Quickstart.md +++ b/docs/dev_guide/1_Quickstart.md @@ -29,7 +29,7 @@ For each target part of your project, you need to use ***PROJECT_TARGET_ADD*** to include this target to your project. Using it, make available the cmake variable ***TARGET_NAME*** until the next -***PROJECT_TARGET_ADD*** is invoked with a new target name. +***PROJECT_TARGET_ADD*** is invoked with a new target name. So, typical usage defining a target is: diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample index 9d26ad7..393c893 100644 --- a/samples.d/config.cmake.sample +++ b/samples.d/config.cmake.sample @@ -84,7 +84,7 @@ set (PKG_REQUIRED_LIST # Either separate options with ";", or each options must be quoted separately # DO NOT PUT ALL OPTION QUOTED AT ONCE , COMPILATION COULD FAILED ! # ---------------------------------------------------------------------------- -#set(COMPILE_OPTIONS +#set(COMPILE_OPTIONS # -Wall # -Wextra # -Wconversion diff --git a/template.d/start-on-target.sh.in b/template.d/start-on-target.sh.in index 9e3a60d..d5426ed 100755 --- a/template.d/start-on-target.sh.in +++ b/template.d/start-on-target.sh.in @@ -1,5 +1,5 @@ #!/bin/sh -# +# # File: start-on-target.sh # Author: Fulup Ar Foll @ IoT.bzh # Object: Forward signal (SIGTERM) to remote process |