2009-09-28 19:46:51 +04:00
#=============================================================================
# Copyright 2009 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
2010-08-07 04:48:47 +04:00
# (To distribute this file outside of CMake, substitute the full
2009-09-28 19:46:51 +04:00
# License text for the above reference.)
2009-05-12 23:11:16 +04:00
# This file is included in CMakeSystemSpecificInformation.cmake if
# the Eclipse CDT4 extra generator has been selected.
FIND_PROGRAM ( CMAKE_ECLIPSE_EXECUTABLE NAMES eclipse DOC "The Eclipse executable" )
2010-12-12 18:52:20 +03:00
# 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" )
2009-05-12 23:11:16 +04:00
2010-12-13 23:53:11 +03:00
# 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 )
2011-08-02 03:46:39 +04:00
# Determine builtin macros and include dirs:
INCLUDE ( ${ CMAKE_CURRENT_LIST_DIR } /CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake )