summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-10-31 20:33:36 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-10-31 20:33:36 (GMT)
commit0b9dac6cbc15acfb8df01e5b6dd5284c4a42fe9a (patch)
treeb09777a6f9df48c2445ccb5da83aa75ac3681b27 /Modules
parent72632f885c904d8d76de47f284086eea02c4567e (diff)
parentfbda95883c3a86e5b808c78fa433bd9dbcc93754 (diff)
downloadCMake-0b9dac6cbc15acfb8df01e5b6dd5284c4a42fe9a.zip
CMake-0b9dac6cbc15acfb8df01e5b6dd5284c4a42fe9a.tar.gz
CMake-0b9dac6cbc15acfb8df01e5b6dd5284c4a42fe9a.tar.bz2
Merge topic 'EclipseNoLinkedResources'
fbda958 Eclipse: add switch to disable linked resources (#13189)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeFindEclipseCDT4.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeFindEclipseCDT4.cmake b/Modules/CMakeFindEclipseCDT4.cmake
index 37b72fa..ae17454 100644
--- a/Modules/CMakeFindEclipseCDT4.cmake
+++ b/Modules/CMakeFindEclipseCDT4.cmake
@@ -77,6 +77,8 @@ endif()
# This variable is used by the Eclipse generator and appended to the make invocation commands.
set(CMAKE_ECLIPSE_MAKE_ARGUMENTS "${_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS}" CACHE STRING "Additional command line arguments when Eclipse invokes make. Enter e.g. -j<some_number> to get parallel builds")
+set(CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES TRUE CACHE BOOL "If disabled, CMake will not generate linked resource to the subprojects and to the source files within targets")
+
# This variable is used by the Eclipse generator in out-of-source builds only.
set(CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT FALSE CACHE BOOL "If enabled, CMake will generate a source project for Eclipse in CMAKE_SOURCE_DIR")
mark_as_advanced(CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT)