diff options
author | Brad King <brad.king@kitware.com> | 2010-12-14 19:38:55 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-12-14 19:38:55 (GMT) |
commit | 03c4623fb4605a347acc20a1914582e794dd474d (patch) | |
tree | baeb57890186c7dca76a7cd55e4db1dfa948b571 /Modules | |
parent | 5eed07e2d812376067191d7ae444125d491a63df (diff) | |
parent | 27ee50a7d81b4d5b975b5015897f88bbd6318118 (diff) | |
download | CMake-03c4623fb4605a347acc20a1914582e794dd474d.zip CMake-03c4623fb4605a347acc20a1914582e794dd474d.tar.gz CMake-03c4623fb4605a347acc20a1914582e794dd474d.tar.bz2 |
Merge topic 'ParallelEclipseMakefiles2'
27ee50a Add ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT as a ADVANCED cache variable (#9631)
50d21d4 Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generator
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeFindEclipseCDT4.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/CMakeFindEclipseCDT4.cmake b/Modules/CMakeFindEclipseCDT4.cmake index 836e4c9..fbcdc98 100644 --- a/Modules/CMakeFindEclipseCDT4.cmake +++ b/Modules/CMakeFindEclipseCDT4.cmake @@ -17,6 +17,12 @@ FIND_PROGRAM(CMAKE_ECLIPSE_EXECUTABLE NAMES eclipse DOC "The Eclipse executable") +# This variable is used by the Eclipse generator and appended to the make invocation commands. +SET(CMAKE_ECLIPSE_MAKE_ARGUMENTS "" CACHE STRING "Additional command line arguments when Eclipse invokes make. Enter e.g. -j<some_number> to get parallel builds") + +# This variable is used by the Eclipse generator in out-of-source builds only. +SET(ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT FALSE CACHE BOOL "If enabled, CMake will generate a source project for Eclipse in CMAKE_SOURCE_DIR") +MARK_AS_ADVANCED(ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT) # The Eclipse generator needs to know the standard include path # so that Eclipse ca find the headers at runtime and parsing etc. works better |