|
@@ -20,6 +20,10 @@ 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.
|
|
# 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")
|
|
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
|
|
# The Eclipse generator needs to know the standard include path
|
|
|
# so that Eclipse ca find the headers at runtime and parsing etc. works better
|
|
# so that Eclipse ca find the headers at runtime and parsing etc. works better
|
|
|
# This is done here by actually running gcc with the options so it prints its
|
|
# This is done here by actually running gcc with the options so it prints its
|