summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Generic.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-4/+4
| | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* -add basic search directories for the "Generic" platformAlex Neundorf2010-04-141-0/+6
| | | | | | | | | | As reported on the mailing list, find_path/file/library/program() basically don't work at all if CMAKE_FIND_ROOT_PATH is set and searching in the host system directories is disabled. This patch adds /include, /lib and /bin to the search directories, so they will be appended to CMAKE_FIND_ROOT_PATH so this will work for the "Generic" platform (embedded systems without OS) Alex
* ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more ↵Brad King2008-01-171-2/+1
| | | | powerful signature.
* STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBSAlexander Neundorf2007-06-261-1/+1
| | | | | | to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS Alex
* ENH: print a warning if ADD_LIBRARY( SHARED/MODULE ) is used and the targetAlexander Neundorf2007-06-211-0/+4
| | | | | | platform doesn't support shared libraries Alex
* STYLE: add a comment about SetLanguageEnabled()Alexander Neundorf2007-06-111-0/+8
-add a Generic.cmake for target platforms without operating system Alex