summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFindEclipseCDT4.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Update links to gitlab.kitware.com repos to add `-/`Brad King2020-05-261-1/+1
| | | | | | GitLab now uses a `/-/` component between the `group/project` part of the URL and the `{issues,merge_requests,tree}` part so that it can support `group/subgroup/project` with arbitrary depth.
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* issues: update references to the CMake issue trackerBen Boeckel2016-08-151-1/+1
| | | | | References to specific comments are left as-is since comments were not migrated.
* Eclipse: add newer version numbersAlex Neundorf2016-02-241-0/+4
| | | | Alex
* Eclipse: add -j only on UNIX hostsAlex Neundorf2013-11-231-1/+1
| | | | | | | | | | The previous version added -jN to the make invokation if UNIX was set, but this was true also when cross compiling. What we are actually interested in is CMAKE_HOST_UNIX, i.e. whether the build host is UNIX. Or we should check more exactly what CMAKE_MAKE_PROGRAM is. Alex
* Eclipse: add version 4.3 for completenessAlex Neundorf2013-09-181-0/+2
| | | | | | | This just adds the version number, there are no features depending on this. Alex
* Eclipse: print different message if CMAKE_ECLIPSE_VERSION is already setAlex Neundorf2013-09-181-17/+23
| | | | | | This fixes #14422. Alex
* CMakeFindEclipse: use lowercase for macro callsAlex Neundorf2013-09-181-2/+2
| | | | Alex
* Eclipse: add switch to disable linked resources (#13189)Alex Neundorf2012-10-171-0/+2
| | | | | | | | Eclipse may get confused by these linked resources, because it sees the same source file multiple times then and doesn't recognize that it's the same file actually. Alex
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-39/+39
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Eclipse: improve (fix ?) version detection on OSXAlex Neundorf2012-07-281-0/+3
| | | | | | | This is probably related to a framework installation I guess. This is part of the patch in #13367 from Nicholas Yue. Alex
* Eclipse: add support for the 4.2 Juno release (#13367)Alex Neundorf2012-07-281-1/+4
| | | | | | Thanks for the path to Nicholas Yue. Alex
* Eclipse: fix #13036, make version detection work with symlinksAlex Neundorf2012-03-201-1/+3
| | | | | | | This patch uses get_filename_component(REALPATH) so symlinks in the path to Eclipse are resolved, which makes the version detection work in such cases. Alex
* Eclipse: use new variable CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECTAlex Neundorf2011-11-191-2/+2
| | | | | | | | | | | | | Previously ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT was used, but the new name CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT is more in line with the general naming conventions in cmake, and, more importantly IMO, in cmake-gui it now appears right next to the other eclipse-related variables, which all start with CMAKE_ECLIPSE_. A warning is printed if the old variable is TRUE and the new one isn't, so users should notice that they have to enable the new one. Alex
* Eclipse: detect number of CPUs, set CMAKE_ECLIPSE_MAKE_ARGUMENTS accordiglyAlex Neundorf2011-10-231-1/+13
| | | | | | | Using the new module ProcessorCount.cmake now the number of CPUs is detected, and if it is bigger than 1, make -jX is set accordingly. Alex
* Eclipse: better message when Eclipse version could not be determinedAlex Neundorf2011-10-151-7/+7
| | | | Alex
* Eclipse generator: detect Eclipse versionAlex Neundorf2011-10-151-0/+37
| | | | | | Try to detect the eclipse version and put it in the cache. Alex
* Also put builtin include dirs into CodeBlocks project fileAlex Neundorf2011-08-011-102/+2
| | | | | | | | Refactor code from CMakeFindEclipseCDT4.cmake so it can be used alkso for CodeBlocks, and move it into new file CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake. Alex
* Don't skip the last builtin include dir for the Eclipse project fileAlex Neundorf2011-04-031-2/+2
| | | | | | | | | The regex was slightly wrong, it excluded the last line, so e.g. /usr/include/ didn't end up in the .cproject file. Thanks to Shash Chatterjee for the patch. Alex
* Fix parsing include dirs and builtin macros for CXX-only projectsAlex Neundorf2011-04-031-1/+7
| | | | Alex
* Add ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT as a ADVANCED cache variable (#9631)Alex Neundorf2010-12-131-0/+4
| | | | | | | This variable has been supported since 2.6 I think, having it in the cache makes it easier to use (see bug report #9631) Alex
* Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generatorAlex Neundorf2010-12-121-0/+2
| | | | | | | | 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
* Fix parsing of builtin macros so Eclipse handles them properly (#10868)Alex Neundorf2010-08-231-7/+12
| | | | Alex
* Fix EclipseCDT parsing of builtin macros with spaces (#10868)Alex Neundorf2010-08-151-12/+21
| | | | | | Patch from dnewmarch Alex
* Fix EclipseCDT include path parsing with spaces (#10868)Alex Neundorf2010-08-151-6/+11
| | | | Alex
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+14
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* The check for include dirs and builtin macros also works with the Intel compilerAlexander Neundorf2009-09-171-11/+15
| | | | Alex
* Put compiler defined macros into eclipse project filesAlexander Neundorf2009-09-161-5/+20
| | | | | | | | | 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
* BUG: recognize system include paths also when the languages are set toAlexander Neundorf2009-06-281-0/+25
| | | | | | something different from "C", by resetting them to "C" (#9122) Alex
* STYLE: rename the files from CMake<GENERATOR>.cmake toAlexander Neundorf2009-05-121-0/+39
CMakeFind<GENERATOR>.cmake, so it is more consistent e.g. with CMakeFindXcode.cmake Alex