summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraEclipseCDT4Generator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-19/+13
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Major improvement of the generated targets in Eclipse.Alexander Neundorf2009-09-161-13/+63
| | | | | | | | | | | | | | | Before this change all targets were displayed in the top level directory of the project. Now the targets are displayed in the correct directory. The targets "clean" and "all" are now created in every subdirectory. Also now the targets for just compiling one file, preprocessing one file, assembling one file are are created for Eclipse. Additionally all targets get a prefix now in eclipse, so that they are sorted in a way which makes sense (global targets first, then executable and libraries, then object files, then preprocessed, then assembly). Also this prefix gives the user a hint what the target is, i.e. whether it's a library or an executable or something else. Alex
* Put compiler defined macros into eclipse project filesAlexander Neundorf2009-09-161-0/+69
| | | | | | | | | Now gcc is queried also for the builtin definitions, and they are then added to the .cproject file. This should make the preprocessor highlighting in eclipse work better (#9272) Patch mostly from Miguel. Alex
* sync target generation with the CodeBlocks generatorAlexander Neundorf2009-09-101-79/+51
| | | | | | | | | | | Basically the code is now a copy of the one from the CodeBlocks generator, maybe this could move into a common helper function somewhere: -only insert GLOBAL targets from the toplevel directory -don't insert the edit_cache target if it calls ccmake, since this doesn't work in the output tab of Eclipse -add the /fast targets Alex
* ENH: don't enforce VERBOSE Makefiles, but set the env. var VERBOSE to 1 inAlexander Neundorf2009-03-131-1/+1
| | | | | | | when make is executed from within Eclipse. This way when building from the command line one can build also in non-verbose mode. Alex
* ENH: when using the Eclipse project generator, run gcc so that it tells usAlexander Neundorf2009-03-131-12/+48
| | | | | | | | | | its system include directories. These are catched in CMakeSystemSpecificInformation.cmake (only with the Eclipse generator) and then written by the Eclipse generator in the Eclipse project file. This way Eclipse can find the standard headers (#7585) Not sure CMakeSystemSpecificInformation.cmake is the best place to do this. Alex
* COMP: Fix const set find for Borland 5.5Brad King2009-01-141-2/+4
| | | | | | The Borland 5.5 compiler's STL set does not define correct signatures for its find() members, leading to build errors. This works around the problem.
* ENH: patch from Miguel,Alexander Neundorf2009-01-111-34/+54
| | | | | | | | | | | | | | | | | | | | | As it is today the generator creates linked resources to LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH if they are not a subdirectory of the binary dir, so that the IDE can detect the Binaries (this was addressed previously as a result of a bug report). Reduces code redundancy by encapsulating common behaviour for LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH in AppendLinkedResource. Addresses the two new variable names for these locations, CMAKE_LIBRARY_OUTPUT_DIRECTORY and CMAKE_RUNTIME_OUTPUT_DIRECTORY respectively. Finally, it is addressing a bug in the current code for relative paths in these variables. If it is a relative path to the binary dir, the IsSubdirectory call returns false and so it creates the linked resource. The created linked resource produces an error in the Eclipse IDE because the IDE expects it to be a full path. The patch now addresses this by concatenating the binary dir if it is a relative path.
* STYLE: remove debug outputAlexander Neundorf2009-01-101-1/+0
| | | | Alex
* BUG: fix #8073: also show targets created using add_custom_targets()Alexander Neundorf2009-01-101-34/+62
| | | | | | | -additionally also create the target/fast targets for Eclipse -skip preinstall and install/local, they should be only rarely used Alex
* BUG: remove the call to EnableInstallTarget(), don't know why it was there.Alexander Neundorf2009-01-101-1/+0
| | | | | | | This caused that always an install target was created which installed nothing, even if there was no install rule in the project. Alex
* BUG: fix #8105: don't hardcode "gcc" and "make" but use CMAKE_C_COMPILER andAlexander Neundorf2009-01-091-4/+19
| | | | | | CMAKE_MAKE_PROGRAM instead Alex
* BUG: apply patch from #8205, also fixes #8212: escape characters for XMLAlexander Neundorf2009-01-081-1/+15
| | | | | | when writing the eclipse project files Alex
* BUG: don't crash in the generator is EXECUTABLE_OUTPUT_PATH orAlexander Neundorf2008-08-061-3/+3
| | | | | | LIBRARY_OUTPUT_PATH are empty Alex
* ENH: add edit_cache target for Eclipse (if it's not ccmake, because thisAlexander Neundorf2008-04-031-0/+12
| | | | | | doesn't work inside the log view) Alex
* STYLE: patch part 3 from Miguel: follow naming style for variablesAlexander Neundorf2008-02-191-16/+16
| | | | Alex
* ENH: patch from Miguel part 2: if ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT isAlexander Neundorf2008-02-191-65/+91
| | | | | | | | | | true, then the generator additionally generates eclipse project files in the source dir, since this is the only way to get cvs/svn working with eclipse This is off by default and the user has to enable it explicitely. If cmake can't write there it still continues. Alex
* ENH: patch part 1 from Miguel: use the cmake project name for the eclipseAlexander Neundorf2008-02-191-15/+34
| | | | | | project name Alex
* ENH: enable color in the eclipse generator, there doesn't seem to be problemsAlexander Neundorf2008-02-151-1/+1
| | | | Alex
* patch from MiguelAlexander Neundorf2008-02-071-10/+15
| | | | | | | BUG: fix #5496: eclipse can't load projects where the build dir is a subdir of the src dir Alex
* two patches from Miguel:Alexander Neundorf2008-02-071-47/+55
| | | | | | | | BUG: fix #5819: put compile definitions into the eclipse project files so eclipse handles ifdef blcoks correctly STYLE: make the code for filtering some global targets out nicer Alex
* ENH: add the "clean" targetAlexander Neundorf2007-11-251-4/+83
| | | | | | | | don't add *all existing* targets as Eclipse targets, but only a subset (the same as for CodeBlocks), e.g. exclude the subtargets of Experimental, and also edit_cache, ccmake doesn't work from within an IDE Alex
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-3/+3
| | | | there, also provides secitons for Variables now
* ENH: patch from MiguelAlexander Neundorf2007-08-171-214/+240
| | | | | | | | | | | | | | | - cleaning up a bit: static helper functions, remove unused scanner profiles, remove unused variables, etc. - correct <name> entry in .project file - converts the make command and other paths obtained from cygwin cmake to windows style paths - provide environment setup for compiling with nmake - create linked resources and path entries for executable/library_output_path's not subdirs of binary path - fixes incorrect exclusions of output dirs when named the same as source dir - excludes the CMakeFiles subdirs from the directories to scan for output targets - removes possible redundant entries in <pathentry include ...> - adds the all and preinstall targets to the target list - removes the linked resources for non out-of-source builds and conflicting dirs Alex
* STYLE: fix line lengthsAlexander Neundorf2007-08-061-9/+11
| | | | Alex
* COMP: fix warningAlexander Neundorf2007-08-021-1/+1
| | | | Alex
* ENH: works also with nmake, tested by JeffAlexander Neundorf2007-08-011-3/+3
| | | | Alex
* ENH: add Eclipse CDT4 generator, patch from Miguel A. Figueroa-VillanuevaAlexander Neundorf2007-08-011-0/+706
Alex