summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2017-05-07 15:21:32 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-09 15:46:29 (GMT)
commit32400110fe7ea1b624d19625b5ae606f5f47814d (patch)
tree964b480f5b4890706ecb213c87b8b9156a1282f6 /Help/command
parent22d0a83a4cc2188119e008ed346a10f7b0b32f8e (diff)
downloadCMake-32400110fe7ea1b624d19625b5ae606f5f47814d.zip
CMake-32400110fe7ea1b624d19625b5ae606f5f47814d.tar.gz
CMake-32400110fe7ea1b624d19625b5ae606f5f47814d.tar.bz2
Help: Document HEADER_FILE_ONLY use case
Describe how to get sources into IDE project files.
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/add_executable.rst3
-rw-r--r--Help/command/add_library.rst4
2 files changed, 7 insertions, 0 deletions
diff --git a/Help/command/add_executable.rst b/Help/command/add_executable.rst
index 19ca658..c088796 100644
--- a/Help/command/add_executable.rst
+++ b/Help/command/add_executable.rst
@@ -40,6 +40,9 @@ the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
manual for available expressions. See the :manual:`cmake-buildsystem(7)`
manual for more on defining buildsystem properties.
+See also :prop_sf:`HEADER_FILE_ONLY` on what to do if some sources are
+pre-processed, and you want to have the original sources reachable from
+within IDE.
--------------------------------------------------------------------------
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index 3a76040..02788e3 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -59,6 +59,10 @@ the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
manual for available expressions. See the :manual:`cmake-buildsystem(7)`
manual for more on defining buildsystem properties.
+See also :prop_sf:`HEADER_FILE_ONLY` on what to do if some sources are
+pre-processed, and you want to have the original sources reachable from
+within IDE.
+
Imported Libraries
^^^^^^^^^^^^^^^^^^