mirror of
https://github.com/reactos/CMake.git
synced 2024-12-05 18:27:23 +00:00
77543bde41
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
18 lines
827 B
CMake
18 lines
827 B
CMake
# This is a platform definition file for platforms without
|
|
# operating system, typically embedded platforms.
|
|
# It is used when CMAKE_SYSTEM_NAME is set to "Generic"
|
|
#
|
|
# It is intentionally empty, since nothing is known
|
|
# about the platform. So everything has to be specified
|
|
# in the system/compiler files ${CMAKE_SYSTEM_NAME}-<compiler_basename>.cmake
|
|
# and/or ${CMAKE_SYSTEM_NAME}-<compiler_basename>-${CMAKE_SYSTEM_PROCESSOR}.cmake
|
|
|
|
# (embedded) targets without operating system usually don't support shared libraries
|
|
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
|
|
|
|
# To help the find_xxx() commands, set at least the following so CMAKE_FIND_ROOT_PATH
|
|
# works at least for some simple cases:
|
|
set(CMAKE_SYSTEM_INCLUDE_PATH /include )
|
|
set(CMAKE_SYSTEM_LIBRARY_PATH /lib )
|
|
set(CMAKE_SYSTEM_PROGRAM_PATH /bin )
|