diff options
author | Alex Neundorf <neundorf@kde.org> | 2010-12-12 15:52:20 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2010-12-12 15:52:20 (GMT) |
commit | 50d21d4251b179707b4569e5cfff0c9e65432273 (patch) | |
tree | 1244745ec15998fe626f69ea975a932ac0223cd2 /Modules/CMakeFindEclipseCDT4.cmake | |
parent | 1b98d99c28949347c7c6a1e5ee67ee8e49670277 (diff) | |
download | CMake-50d21d4251b179707b4569e5cfff0c9e65432273.zip CMake-50d21d4251b179707b4569e5cfff0c9e65432273.tar.gz CMake-50d21d4251b179707b4569e5cfff0c9e65432273.tar.bz2 |
Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generator
This variable can be set to command line arguments which will be passed
to make when eclipse invokes make, e.g. you can enter "-j8" to get
8 parallel builds (#9930)
Alex
Diffstat (limited to 'Modules/CMakeFindEclipseCDT4.cmake')
-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 836e4c9..b2a0299 100644 --- a/Modules/CMakeFindEclipseCDT4.cmake +++ b/Modules/CMakeFindEclipseCDT4.cmake @@ -17,6 +17,8 @@ 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") # The Eclipse generator needs to know the standard include path # so that Eclipse ca find the headers at runtime and parsing etc. works better |