summaryrefslogtreecommitdiffstats
path: root/Modules/UseEcos.cmake
Commit message (Collapse)AuthorAgeFilesLines
* UseEcos: Fix for separate <DEFINES> and <INCLUDES> placeholdersFlorian Schmaus2017-05-191-2/+2
| | | | | | | | | Update the module to account for commit v3.4.0-rc1~342^2 (Factor an <INCLUDES> placeholder out of <FLAGS> in rule variables, 2015-07-13) and v2.6.0~537 (Create COMPILE_DEFINITIONS property for targets and source files, 2008-01-14). Fixes: #16904
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-13/+22
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Fix spelling and typos (non-binary)Andreas Mohr2013-05-071-2/+2
|
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-18/+18
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-95/+95
| | | | | | | | | | | | | | | | | 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
* 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/+13
| | | | | | | 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.
* ENH: now also the "ecosclean" target works with MS nmakeAlexander Neundorf2007-02-071-5/+4
| | | | Alex
* BUG: reent.c wasn't intended to be committed, too specialAlexander Neundorf2007-01-231-2/+1
| | | | Alex
* STYLE: use even more absolute paths, can't hurt for out-of-source buildsAlexander Neundorf2007-01-231-40/+34
| | | | | | | | | STYLE: use SET_SOURCE_FILES_PROPERTIES() on multiple files at once instead of interating over each one of them STYLE: no need to add target.ld to the clean-files, this is done now automatically by add_custom_command() ENH: now also MS nmake can be used to build ecos apps Alex
* ENH: the ecos headers are always in the binary dirAlexander Neundorf2007-01-171-1/+1
| | | | Alex
* ENH: building ecos apps now seems to work also out-of-sourceAlexander Neundorf2007-01-171-11/+16
| | | | Alex
* BUG: also check that tclsh is available, otherwise you can't build any eCosAlexander Neundorf2007-01-171-6/+18
| | | | | | | | stuff ENH: make the name of the config file ecos.ecc adjustable via the new variable ECOS_CONFIG_FILE Alex
* ENH: add i386 toolchain and some minor improvement of the commentsAlexander Neundorf2006-08-231-2/+20
|
* STYLE: don't use the hack to copy and rename the created executable underAlexander Neundorf2006-08-221-13/+7
| | | | | | | cygwin but instead use the SUFFIX target property (I'll publish a short article about ecos+cmake RSN) Alex
* BUG: finally really fix #2576 by adding UseEcos.cmake to cvs :-)Alexander Neundorf2006-04-231-0/+202
Alex