diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-10-17 21:45:02 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2012-10-17 21:45:02 (GMT) |
commit | fbda95883c3a86e5b808c78fa433bd9dbcc93754 (patch) | |
tree | 47cedf8200e21e64f780c1b56a3ed8303a70df1d /Modules | |
parent | 7ded904329635b490467ddf06d87b2620da470aa (diff) | |
download | CMake-fbda95883c3a86e5b808c78fa433bd9dbcc93754.zip CMake-fbda95883c3a86e5b808c78fa433bd9dbcc93754.tar.gz CMake-fbda95883c3a86e5b808c78fa433bd9dbcc93754.tar.bz2 |
Eclipse: add switch to disable linked resources (#13189)
Eclipse may get confused by these linked resources, because it sees
the same source file multiple times then and doesn't recognize
that it's the same file actually.
Alex
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeFindEclipseCDT4.cmake | 2 |
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) |