On Thursday 24 March 2011, Chatterjee, Shash wrote: > Hi Alex, > > I have attached a tar file with a tiny example project that shows the > behaviour. Screenshot-1 shows the problem (this is the config included in > the tar file), Screenshot-2 shows the state after I fixed it manually.
I had a look at the generated .cproject file, and indeed all the system include dirs and built macros are missing. They should be detected when cmake runs initially. I attached three files: - .cproject, this is how this file looks for me for a basic hello-world style project - CMakeFindEclipseCDT4.cmake : this is slightly changed version from the one shipped with cmake 2.8.4, it produces debug output. Please replace the CMakeFindEclipseCDT4.cmake in your cmake 2.8.4 installation with this file. Then create a fresh and empty build directory, and let cmake run there, with the same command line as you posted. Capture the output, both stdout and stderr in a log file and post it here. - eclipse.log: this is how the output from cmake looks on my system (with the attached CMakeFindEclipseCDT4.cmake. I saw that you are using ccache, maybe this behaves slightly different for some things ? Alex
-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- This is CMakeFindEclipse.cmake, compiler id is -GNU- , -GNU- -- Getting include dirs for c ... -- stderr: -Reading specs from /usr/lib/gcc/i486-slackware-linux/4.2.3/specs Target: i486-slackware-linux Configured with: ../gcc-4.2.3/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 4.2.3 /usr/libexec/gcc/i486-slackware-linux/4.2.3/cc1 -E -quiet -v dummy -mtune=i486 -march=i486 -dD ignoring nonexistent directory "/usr/lib/gcc/i486-slackware-linux/4.2.3/../../../../i486-slackware-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.2.3/include /usr/include End of search list. - -- stdout: -# 1 "dummy" # 1 "<built-in>" #define __STDC__ 1 #define __STDC_HOSTED__ 1 #define __GNUC__ 4 #define __GNUC_MINOR__ 2 #define __GNUC_PATCHLEVEL__ 3 #define __SIZE_TYPE__ unsigned int #define __PTRDIFF_TYPE__ int #define __WCHAR_TYPE__ long int #define __WINT_TYPE__ unsigned int #define __INTMAX_TYPE__ long long int #define __UINTMAX_TYPE__ long long unsigned int #define __GXX_ABI_VERSION 1002 #define __SCHAR_MAX__ 127 #define __SHRT_MAX__ 32767 #define __INT_MAX__ 2147483647 #define __LONG_MAX__ 2147483647L #define __LONG_LONG_MAX__ 9223372036854775807LL #define __WCHAR_MAX__ 2147483647 #define __CHAR_BIT__ 8 #define __INTMAX_MAX__ 9223372036854775807LL #define __FLT_EVAL_METHOD__ 2 #define __DEC_EVAL_METHOD__ 2 #define __FLT_RADIX__ 2 #define __FLT_MANT_DIG__ 24 #define __FLT_DIG__ 6 #define __FLT_MIN_EXP__ (-125) #define __FLT_MIN_10_EXP__ (-37) #define __FLT_MAX_EXP__ 128 #define __FLT_MAX_10_EXP__ 38 #define __FLT_MAX__ 3.40282347e+38F #define __FLT_MIN__ 1.17549435e-38F #define __FLT_EPSILON__ 1.19209290e-7F #define __FLT_DENORM_MIN__ 1.40129846e-45F #define __FLT_HAS_DENORM__ 1 #define __FLT_HAS_INFINITY__ 1 #define __FLT_HAS_QUIET_NAN__ 1 #define __DBL_MANT_DIG__ 53 #define __DBL_DIG__ 15 #define __DBL_MIN_EXP__ (-1021) #define __DBL_MIN_10_EXP__ (-307) #define __DBL_MAX_EXP__ 1024 #define __DBL_MAX_10_EXP__ 308 #define __DBL_MAX__ 1.7976931348623157e+308 #define __DBL_MIN__ 2.2250738585072014e-308 #define __DBL_EPSILON__ 2.2204460492503131e-16 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __DBL_HAS_DENORM__ 1 #define __DBL_HAS_INFINITY__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __LDBL_MANT_DIG__ 64 #define __LDBL_DIG__ 18 #define __LDBL_MIN_EXP__ (-16381) #define __LDBL_MIN_10_EXP__ (-4931) #define __LDBL_MAX_EXP__ 16384 #define __LDBL_MAX_10_EXP__ 4932 #define __DECIMAL_DIG__ 21 #define __LDBL_MAX__ 1.18973149535723176502e+4932L #define __LDBL_MIN__ 3.36210314311209350626e-4932L #define __LDBL_EPSILON__ 1.08420217248550443401e-19L #define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L #define __LDBL_HAS_DENORM__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __LDBL_HAS_QUIET_NAN__ 1 #define __DEC32_MANT_DIG__ 7 #define __DEC32_MIN_EXP__ (-95) #define __DEC32_MAX_EXP__ 96 #define __DEC32_MIN__ 1E-95DF #define __DEC32_MAX__ 9.999999E96DF #define __DEC32_EPSILON__ 1E-6DF #define __DEC32_DEN__ 0.000001E-95DF #define __DEC64_MANT_DIG__ 16 #define __DEC64_MIN_EXP__ (-383) #define __DEC64_MAX_EXP__ 384 #define __DEC64_MIN__ 1E-383DD #define __DEC64_MAX__ 9.999999999999999E384DD #define __DEC64_EPSILON__ 1E-15DD #define __DEC64_DEN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __DEC128_MIN_EXP__ (-6143) #define __DEC128_MAX_EXP__ 6144 #define __DEC128_MIN__ 1E-6143DL #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __DEC128_EPSILON__ 1E-33DL #define __DEC128_DEN__ 0.000000000000000000000000000000001E-6143DL #define __REGISTER_PREFIX__ #define __USER_LABEL_PREFIX__ #define __VERSION__ "4.2.3" #define __GNUC_GNU_INLINE__ 1 #define __NO_INLINE__ 1 #define __FINITE_MATH_ONLY__ 0 #define __i386 1 #define __i386__ 1 #define i386 1 #define __tune_i486__ 1 #define __i486 1 #define __i486__ 1 #define __gnu_linux__ 1 #define __linux 1 #define __linux__ 1 #define linux 1 #define __unix 1 #define __unix__ 1 #define unix 1 #define __ELF__ 1 # 1 "<command-line>" # 1 "dummy" - -- Getting include dirs for c++ ... -- stderr: -Reading specs from /usr/lib/gcc/i486-slackware-linux/4.2.3/specs Target: i486-slackware-linux Configured with: ../gcc-4.2.3/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 4.2.3 /usr/libexec/gcc/i486-slackware-linux/4.2.3/cc1plus -E -quiet -v -D_GNU_SOURCE dummy -mtune=i486 -march=i486 -dD ignoring nonexistent directory "/usr/lib/gcc/i486-slackware-linux/4.2.3/../../../../i486-slackware-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/qt4/include /usr/lib/qt/include /usr/lib/gcc/i486-slackware-linux/4.2.3/../../../../include/c++/4.2.3 /usr/lib/gcc/i486-slackware-linux/4.2.3/../../../../include/c++/4.2.3/i486-slackware-linux /usr/lib/gcc/i486-slackware-linux/4.2.3/../../../../include/c++/4.2.3/backward /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.2.3/include /usr/include End of search list. - -- stdout: -# 1 "dummy" # 1 "<built-in>" #define __STDC__ 1 #define __cplusplus 1 #define __STDC_HOSTED__ 1 #define __GNUC__ 4 #define __GNUG__ 4 #define __GNUC_MINOR__ 2 #define __GNUC_PATCHLEVEL__ 3 #define __SIZE_TYPE__ unsigned int #define __PTRDIFF_TYPE__ int #define __WCHAR_TYPE__ long int #define __WINT_TYPE__ unsigned int #define __INTMAX_TYPE__ long long int #define __UINTMAX_TYPE__ long long unsigned int #define __GXX_WEAK__ 1 #define __DEPRECATED 1 #define __EXCEPTIONS 1 #define __GXX_ABI_VERSION 1002 #define __SCHAR_MAX__ 127 #define __SHRT_MAX__ 32767 #define __INT_MAX__ 2147483647 #define __LONG_MAX__ 2147483647L #define __LONG_LONG_MAX__ 9223372036854775807LL #define __WCHAR_MAX__ 2147483647 #define __CHAR_BIT__ 8 #define __INTMAX_MAX__ 9223372036854775807LL #define __FLT_EVAL_METHOD__ 2 #define __DEC_EVAL_METHOD__ 2 #define __FLT_RADIX__ 2 #define __FLT_MANT_DIG__ 24 #define __FLT_DIG__ 6 #define __FLT_MIN_EXP__ (-125) #define __FLT_MIN_10_EXP__ (-37) #define __FLT_MAX_EXP__ 128 #define __FLT_MAX_10_EXP__ 38 #define __FLT_MAX__ 3.40282347e+38F #define __FLT_MIN__ 1.17549435e-38F #define __FLT_EPSILON__ 1.19209290e-7F #define __FLT_DENORM_MIN__ 1.40129846e-45F #define __FLT_HAS_DENORM__ 1 #define __FLT_HAS_INFINITY__ 1 #define __FLT_HAS_QUIET_NAN__ 1 #define __DBL_MANT_DIG__ 53 #define __DBL_DIG__ 15 #define __DBL_MIN_EXP__ (-1021) #define __DBL_MIN_10_EXP__ (-307) #define __DBL_MAX_EXP__ 1024 #define __DBL_MAX_10_EXP__ 308 #define __DBL_MAX__ 1.7976931348623157e+308 #define __DBL_MIN__ 2.2250738585072014e-308 #define __DBL_EPSILON__ 2.2204460492503131e-16 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __DBL_HAS_DENORM__ 1 #define __DBL_HAS_INFINITY__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __LDBL_MANT_DIG__ 64 #define __LDBL_DIG__ 18 #define __LDBL_MIN_EXP__ (-16381) #define __LDBL_MIN_10_EXP__ (-4931) #define __LDBL_MAX_EXP__ 16384 #define __LDBL_MAX_10_EXP__ 4932 #define __DECIMAL_DIG__ 21 #define __LDBL_MAX__ 1.18973149535723176502e+4932L #define __LDBL_MIN__ 3.36210314311209350626e-4932L #define __LDBL_EPSILON__ 1.08420217248550443401e-19L #define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L #define __LDBL_HAS_DENORM__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __LDBL_HAS_QUIET_NAN__ 1 #define __DEC32_MANT_DIG__ 7 #define __DEC32_MIN_EXP__ (-95) #define __DEC32_MAX_EXP__ 96 #define __DEC32_MIN__ 1E-95DF #define __DEC32_MAX__ 9.999999E96DF #define __DEC32_EPSILON__ 1E-6DF #define __DEC32_DEN__ 0.000001E-95DF #define __DEC64_MANT_DIG__ 16 #define __DEC64_MIN_EXP__ (-383) #define __DEC64_MAX_EXP__ 384 #define __DEC64_MIN__ 1E-383DD #define __DEC64_MAX__ 9.999999999999999E384DD #define __DEC64_EPSILON__ 1E-15DD #define __DEC64_DEN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __DEC128_MIN_EXP__ (-6143) #define __DEC128_MAX_EXP__ 6144 #define __DEC128_MIN__ 1E-6143DL #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __DEC128_EPSILON__ 1E-33DL #define __DEC128_DEN__ 0.000000000000000000000000000000001E-6143DL #define __REGISTER_PREFIX__ #define __USER_LABEL_PREFIX__ #define __VERSION__ "4.2.3" #define __GNUC_GNU_INLINE__ 1 #define __NO_INLINE__ 1 #define __FINITE_MATH_ONLY__ 0 #define __i386 1 #define __i386__ 1 #define i386 1 #define __tune_i486__ 1 #define __i486 1 #define __i486__ 1 #define __gnu_linux__ 1 #define __linux 1 #define __linux__ 1 #define linux 1 #define __unix 1 #define __unix__ 1 #define unix 1 #define __ELF__ 1 # 1 "<command-line>" #define _GNU_SOURCE 1 # 1 "dummy" - -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- cmake: /opt/cmake-HEAD/bin/cmake -- buildtype: -Debug -- Looking for include files HAVE_STDIO_H -- Looking for include files HAVE_STDIO_H - found -- Looking for include files HAVE_BLUB_H -- Looking for include files HAVE_BLUB_H - not found. -- Configuring done -- Generating done -- Build files have been written to: /home/alex/src/tests/hello-build-eclipse-helios
#============================================================================= # 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. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # 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") # 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 # This is done here by actually running gcc with the options so it prints its # system include directories, which are parsed then and stored in the cache. MACRO(_DETERMINE_GCC_SYSTEM_INCLUDE_DIRS _lang _resultIncludeDirs _resultDefines) message(STATUS "Getting include dirs for ${_lang} ...") SET(${_resultIncludeDirs}) SET(_gccOutput) FILE(WRITE "${CMAKE_BINARY_DIR}/CMakeFiles/dummy" "\n" ) EXECUTE_PROCESS(COMMAND ${CMAKE_C_COMPILER} -v -E -x ${_lang} -dD dummy WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/CMakeFiles ERROR_VARIABLE _gccOutput OUTPUT_VARIABLE _gccStdout ) FILE(REMOVE "${CMAKE_BINARY_DIR}/CMakeFiles/dummy") MESSAGE(STATUS "stderr: -${_gccOutput}-") MESSAGE(STATUS "stdout: -${_gccStdout}-") # First find the system include dirs: IF( "${_gccOutput}" MATCHES "> search starts here[^\n]+\n *(.+) *\n *End of (search) list" ) # split the output into lines and then remove leading and trailing spaces from each of them: STRING(REGEX MATCHALL "[^\n]+\n" _includeLines "${CMAKE_MATCH_1}") FOREACH(nextLine ${_includeLines}) STRING(STRIP "${nextLine}" _includePath) LIST(APPEND ${_resultIncludeDirs} "${_includePath}") ENDFOREACH(nextLine) ENDIF( "${_gccOutput}" MATCHES "> search starts here[^\n]+\n *(.+) *\n *End of (search) list" ) # now find the builtin macros: STRING(REGEX MATCHALL "#define[^\n]+\n" _defineLines "${_gccStdout}") # A few example lines which the regexp below has to match properly: # #define MAX(a,b) ((a) > (b) ? (a) : (b)) # #define __fastcall __attribute__((__fastcall__)) # #define FOO (23) # #define __UINTMAX_TYPE__ long long unsigned int # #define __UINTMAX_TYPE__ long long unsigned int # #define __i386__ 1 FOREACH(nextLine ${_defineLines}) STRING(REGEX MATCH "^#define +([A-Za-z_][A-Za-z0-9_]*)(\\([^\\)]+\\))? +(.+) *$" _dummy "${nextLine}") SET(_name "${CMAKE_MATCH_1}${CMAKE_MATCH_2}") STRING(STRIP "${CMAKE_MATCH_3}" _value) #MESSAGE(STATUS "m1: -${CMAKE_MATCH_1}- m2: -${CMAKE_MATCH_2}- m3: -${CMAKE_MATCH_3}-") LIST(APPEND ${_resultDefines} "${_name}") IF(_value) LIST(APPEND ${_resultDefines} "${_value}") ELSE() LIST(APPEND ${_resultDefines} " ") ENDIF() ENDFOREACH(nextLine) ENDMACRO(_DETERMINE_GCC_SYSTEM_INCLUDE_DIRS _lang) # Save the current LC_ALL, LC_MESSAGES, and LANG environment variables and set them # to "C" that way GCC's "search starts here" text is in English and we can grok it. SET(_orig_lc_all $ENV{LC_ALL}) SET(_orig_lc_messages $ENV{LC_MESSAGES}) SET(_orig_lang $ENV{LANG}) IF(_orig_lc_all) SET(ENV{LC_ALL} C) ENDIF(_orig_lc_all) IF(_orig_lc_messages) SET(ENV{LC_MESSAGES} C) ENDIF(_orig_lc_messages) IF(_orig_lang) SET(ENV{LANG} C) ENDIF(_orig_lang) message(STATUS "This is CMakeFindEclipse.cmake, compiler id is -${CMAKE_C_COMPILER_ID}- , -${CMAKE_CXX_COMPILER_ID}-") # Now check for C, works for gcc and Intel compiler at least IF (NOT CMAKE_ECLIPSE_C_SYSTEM_INCLUDE_DIRS) IF ("${CMAKE_C_COMPILER_ID}" MATCHES GNU OR "${CMAKE_C_COMPILER_ID}" MATCHES Intel) _DETERMINE_GCC_SYSTEM_INCLUDE_DIRS(c _dirs _defines) SET(CMAKE_ECLIPSE_C_SYSTEM_INCLUDE_DIRS "${_dirs}" CACHE INTERNAL "C compiler system include directories") SET(CMAKE_ECLIPSE_C_SYSTEM_DEFINED_MACROS "${_defines}" CACHE INTERNAL "C compiler system defined macros") ENDIF ("${CMAKE_C_COMPILER_ID}" MATCHES GNU OR "${CMAKE_C_COMPILER_ID}" MATCHES Intel) ENDIF (NOT CMAKE_ECLIPSE_C_SYSTEM_INCLUDE_DIRS) # And now the same for C++ IF (NOT CMAKE_ECLIPSE_CXX_SYSTEM_INCLUDE_DIRS) IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES GNU OR "${CMAKE_CXX_COMPILER_ID}" MATCHES Intel) _DETERMINE_GCC_SYSTEM_INCLUDE_DIRS(c++ _dirs _defines) SET(CMAKE_ECLIPSE_CXX_SYSTEM_INCLUDE_DIRS "${_dirs}" CACHE INTERNAL "CXX compiler system include directories") SET(CMAKE_ECLIPSE_CXX_SYSTEM_DEFINED_MACROS "${_defines}" CACHE INTERNAL "CXX compiler system defined macros") ENDIF ("${CMAKE_CXX_COMPILER_ID}" MATCHES GNU OR "${CMAKE_CXX_COMPILER_ID}" MATCHES Intel) ENDIF (NOT CMAKE_ECLIPSE_CXX_SYSTEM_INCLUDE_DIRS) # Restore original LC_ALL, LC_MESSAGES, and LANG IF(_orig_lc_all) SET(ENV{LC_ALL} ${_orig_lc_all}) ENDIF(_orig_lc_all) IF(_orig_lc_messages) SET(ENV{LC_MESSAGES} ${_orig_lc_messages}) ENDIF(_orig_lc_messages) IF(_orig_lang) SET(ENV{LANG} ${_orig_lang}) ENDIF(_orig_lang)
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?fileVersion 4.0.0?> <cproject> <storageModule moduleId="org.eclipse.cdt.core.settings"> <cconfiguration id="org.eclipse.cdt.core.default.config.1"> <storageModule buildSystemId="org.eclipse.cdt.core.defaultConfigDataProvider" id="org.eclipse.cdt.core.default.config.1" moduleId="org.eclipse.cdt.core.settings" name="Configuration"> <externalSettings/> <extensions> <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> <extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"> <attribute key="addr2line" value="addr2line"/> <attribute key="c++filt" value="c++filt"/> </extension> </extensions> </storageModule> <storageModule moduleId="org.eclipse.cdt.core.language.mapping"> <project-mappings/> </storageModule> <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> <storageModule moduleId="org.eclipse.cdt.core.pathentry"> <pathentry kind="src" path="[Source directory]"/> <pathentry kind="src" path="hello"/> <pathentry excluding="[Source directory]/|hello/|**/CMakeFiles/" kind="out" path=""/> <pathentry kind="mac" name="__STDC__" path="" value="1"/> <pathentry kind="mac" name="__STDC_HOSTED__" path="" value="1"/> <pathentry kind="mac" name="__GNUC__" path="" value="4"/> <pathentry kind="mac" name="__GNUC_MINOR__" path="" value="2"/> <pathentry kind="mac" name="__GNUC_PATCHLEVEL__" path="" value="3"/> <pathentry kind="mac" name="__SIZE_TYPE__" path="" value="unsigned int"/> <pathentry kind="mac" name="__PTRDIFF_TYPE__" path="" value="int"/> <pathentry kind="mac" name="__WCHAR_TYPE__" path="" value="long int"/> <pathentry kind="mac" name="__WINT_TYPE__" path="" value="unsigned int"/> <pathentry kind="mac" name="__INTMAX_TYPE__" path="" value="long long int"/> <pathentry kind="mac" name="__UINTMAX_TYPE__" path="" value="long long unsigned int"/> <pathentry kind="mac" name="__GXX_ABI_VERSION" path="" value="1002"/> <pathentry kind="mac" name="__SCHAR_MAX__" path="" value="127"/> <pathentry kind="mac" name="__SHRT_MAX__" path="" value="32767"/> <pathentry kind="mac" name="__INT_MAX__" path="" value="2147483647"/> <pathentry kind="mac" name="__LONG_MAX__" path="" value="2147483647L"/> <pathentry kind="mac" name="__LONG_LONG_MAX__" path="" value="9223372036854775807LL"/> <pathentry kind="mac" name="__WCHAR_MAX__" path="" value="2147483647"/> <pathentry kind="mac" name="__CHAR_BIT__" path="" value="8"/> <pathentry kind="mac" name="__INTMAX_MAX__" path="" value="9223372036854775807LL"/> <pathentry kind="mac" name="__FLT_EVAL_METHOD__" path="" value="2"/> <pathentry kind="mac" name="__DEC_EVAL_METHOD__" path="" value="2"/> <pathentry kind="mac" name="__FLT_RADIX__" path="" value="2"/> <pathentry kind="mac" name="__FLT_MANT_DIG__" path="" value="24"/> <pathentry kind="mac" name="__FLT_DIG__" path="" value="6"/> <pathentry kind="mac" name="__FLT_MIN_EXP__" path="" value="(-125)"/> <pathentry kind="mac" name="__FLT_MIN_10_EXP__" path="" value="(-37)"/> <pathentry kind="mac" name="__FLT_MAX_EXP__" path="" value="128"/> <pathentry kind="mac" name="__FLT_MAX_10_EXP__" path="" value="38"/> <pathentry kind="mac" name="__FLT_MAX__" path="" value="3.40282347e+38F"/> <pathentry kind="mac" name="__FLT_MIN__" path="" value="1.17549435e-38F"/> <pathentry kind="mac" name="__FLT_EPSILON__" path="" value="1.19209290e-7F"/> <pathentry kind="mac" name="__FLT_DENORM_MIN__" path="" value="1.40129846e-45F"/> <pathentry kind="mac" name="__FLT_HAS_DENORM__" path="" value="1"/> <pathentry kind="mac" name="__FLT_HAS_INFINITY__" path="" value="1"/> <pathentry kind="mac" name="__FLT_HAS_QUIET_NAN__" path="" value="1"/> <pathentry kind="mac" name="__DBL_MANT_DIG__" path="" value="53"/> <pathentry kind="mac" name="__DBL_DIG__" path="" value="15"/> <pathentry kind="mac" name="__DBL_MIN_EXP__" path="" value="(-1021)"/> <pathentry kind="mac" name="__DBL_MIN_10_EXP__" path="" value="(-307)"/> <pathentry kind="mac" name="__DBL_MAX_EXP__" path="" value="1024"/> <pathentry kind="mac" name="__DBL_MAX_10_EXP__" path="" value="308"/> <pathentry kind="mac" name="__DBL_MAX__" path="" value="1.7976931348623157e+308"/> <pathentry kind="mac" name="__DBL_MIN__" path="" value="2.2250738585072014e-308"/> <pathentry kind="mac" name="__DBL_EPSILON__" path="" value="2.2204460492503131e-16"/> <pathentry kind="mac" name="__DBL_DENORM_MIN__" path="" value="4.9406564584124654e-324"/> <pathentry kind="mac" name="__DBL_HAS_DENORM__" path="" value="1"/> <pathentry kind="mac" name="__DBL_HAS_INFINITY__" path="" value="1"/> <pathentry kind="mac" name="__DBL_HAS_QUIET_NAN__" path="" value="1"/> <pathentry kind="mac" name="__LDBL_MANT_DIG__" path="" value="64"/> <pathentry kind="mac" name="__LDBL_DIG__" path="" value="18"/> <pathentry kind="mac" name="__LDBL_MIN_EXP__" path="" value="(-16381)"/> <pathentry kind="mac" name="__LDBL_MIN_10_EXP__" path="" value="(-4931)"/> <pathentry kind="mac" name="__LDBL_MAX_EXP__" path="" value="16384"/> <pathentry kind="mac" name="__LDBL_MAX_10_EXP__" path="" value="4932"/> <pathentry kind="mac" name="__DECIMAL_DIG__" path="" value="21"/> <pathentry kind="mac" name="__LDBL_MAX__" path="" value="1.18973149535723176502e+4932L"/> <pathentry kind="mac" name="__LDBL_MIN__" path="" value="3.36210314311209350626e-4932L"/> <pathentry kind="mac" name="__LDBL_EPSILON__" path="" value="1.08420217248550443401e-19L"/> <pathentry kind="mac" name="__LDBL_DENORM_MIN__" path="" value="3.64519953188247460253e-4951L"/> <pathentry kind="mac" name="__LDBL_HAS_DENORM__" path="" value="1"/> <pathentry kind="mac" name="__LDBL_HAS_INFINITY__" path="" value="1"/> <pathentry kind="mac" name="__LDBL_HAS_QUIET_NAN__" path="" value="1"/> <pathentry kind="mac" name="__DEC32_MANT_DIG__" path="" value="7"/> <pathentry kind="mac" name="__DEC32_MIN_EXP__" path="" value="(-95)"/> <pathentry kind="mac" name="__DEC32_MAX_EXP__" path="" value="96"/> <pathentry kind="mac" name="__DEC32_MIN__" path="" value="1E-95DF"/> <pathentry kind="mac" name="__DEC32_MAX__" path="" value="9.999999E96DF"/> <pathentry kind="mac" name="__DEC32_EPSILON__" path="" value="1E-6DF"/> <pathentry kind="mac" name="__DEC32_DEN__" path="" value="0.000001E-95DF"/> <pathentry kind="mac" name="__DEC64_MANT_DIG__" path="" value="16"/> <pathentry kind="mac" name="__DEC64_MIN_EXP__" path="" value="(-383)"/> <pathentry kind="mac" name="__DEC64_MAX_EXP__" path="" value="384"/> <pathentry kind="mac" name="__DEC64_MIN__" path="" value="1E-383DD"/> <pathentry kind="mac" name="__DEC64_MAX__" path="" value="9.999999999999999E384DD"/> <pathentry kind="mac" name="__DEC64_EPSILON__" path="" value="1E-15DD"/> <pathentry kind="mac" name="__DEC64_DEN__" path="" value="0.000000000000001E-383DD"/> <pathentry kind="mac" name="__DEC128_MANT_DIG__" path="" value="34"/> <pathentry kind="mac" name="__DEC128_MIN_EXP__" path="" value="(-6143)"/> <pathentry kind="mac" name="__DEC128_MAX_EXP__" path="" value="6144"/> <pathentry kind="mac" name="__DEC128_MIN__" path="" value="1E-6143DL"/> <pathentry kind="mac" name="__DEC128_MAX__" path="" value="9.999999999999999999999999999999999E6144DL"/> <pathentry kind="mac" name="__DEC128_EPSILON__" path="" value="1E-33DL"/> <pathentry kind="mac" name="__DEC128_DEN__" path="" value="0.000000000000000000000000000000001E-6143DL"/> <pathentry kind="mac" name="__REGISTER_PREFIX__" path="" value=" "/> <pathentry kind="mac" name="__USER_LABEL_PREFIX__" path="" value=" "/> <pathentry kind="mac" name="__VERSION__" path="" value=""4.2.3""/> <pathentry kind="mac" name="__GNUC_GNU_INLINE__" path="" value="1"/> <pathentry kind="mac" name="__NO_INLINE__" path="" value="1"/> <pathentry kind="mac" name="__FINITE_MATH_ONLY__" path="" value=" "/> <pathentry kind="mac" name="__i386" path="" value="1"/> <pathentry kind="mac" name="__i386__" path="" value="1"/> <pathentry kind="mac" name="i386" path="" value="1"/> <pathentry kind="mac" name="__tune_i486__" path="" value="1"/> <pathentry kind="mac" name="__i486" path="" value="1"/> <pathentry kind="mac" name="__i486__" path="" value="1"/> <pathentry kind="mac" name="__gnu_linux__" path="" value="1"/> <pathentry kind="mac" name="__linux" path="" value="1"/> <pathentry kind="mac" name="__linux__" path="" value="1"/> <pathentry kind="mac" name="linux" path="" value="1"/> <pathentry kind="mac" name="__unix" path="" value="1"/> <pathentry kind="mac" name="__unix__" path="" value="1"/> <pathentry kind="mac" name="unix" path="" value="1"/> <pathentry kind="mac" name="__ELF__" path="" value="1"/> <pathentry kind="mac" name="__cplusplus" path="" value="1"/> <pathentry kind="mac" name="__GNUG__" path="" value="4"/> <pathentry kind="mac" name="__GXX_WEAK__" path="" value="1"/> <pathentry kind="mac" name="__DEPRECATED" path="" value="1"/> <pathentry kind="mac" name="__EXCEPTIONS" path="" value="1"/> <pathentry kind="mac" name="_GNU_SOURCE" path="" value="1"/> <pathentry include="/usr/local/include" kind="inc" path="" system="true"/> <pathentry include="/usr/lib/gcc/i486-slackware-linux/4.2.3/include" kind="inc" path="" system="true"/> <pathentry include="/usr/lib/qt4/include" kind="inc" path="" system="true"/> <pathentry include="/usr/lib/qt/include" kind="inc" path="" system="true"/> <pathentry include="/usr/include/c++/4.2.3" kind="inc" path="" system="true"/> <pathentry include="/usr/include/c++/4.2.3/i486-slackware-linux" kind="inc" path="" system="true"/> <pathentry include="/usr/include/c++/4.2.3/backward" kind="inc" path="" system="true"/> </storageModule> <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"> <buildTargets> <target name="[exe] hallo" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>hallo</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name="[exe] hallo/fast" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>hallo/fast</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name=": install" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>install</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name=": install/local" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>install/local</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name=": install/strip" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>install/strip</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name=": list_install_components" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>list_install_components</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name=": rebuild_cache" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>rebuild_cache</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name=": all" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>all</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name=": clean" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>clean</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name="[obj] main.c.o" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>main.c.o</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name="[pre] main.c.i" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>main.c.i</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> <target name="[to asm] main.c.s" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/gmake</buildCommand> <buildArguments></buildArguments> <buildTarget>main.c.s</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> </target> </buildTargets> </storageModule> <storageModule moduleId="scannerConfiguration"> <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/> <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> <buildOutputProvider> <openAction enabled="true" filePath=""/> <parser enabled="true"/> </buildOutputProvider> <scannerInfoProvider id="specsFile"> <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="/usr/bin/gcc" useDefault="true"/> <parser enabled="true"/> </scannerInfoProvider> </profile> <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> <buildOutputProvider> <openAction enabled="true" filePath=""/> <parser enabled="true"/> </buildOutputProvider> <scannerInfoProvider id="makefileGenerator"> <runAction arguments="-f ${project_name}_scd.mk" command="/usr/bin/gmake" useDefault="true"/> <parser enabled="true"/> </scannerInfoProvider> </profile> </storageModule> </cconfiguration> </storageModule> <storageModule moduleId="cdtBuildSystem" version="4.0.0"> <project id="hello.null.1" name="hello"/> </storageModule> </cproject>
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake