2007-06-11 23:47:35 +04:00
|
|
|
# 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"
|
|
|
|
#
|
2012-08-13 21:42:58 +04:00
|
|
|
# It is intentionally empty, since nothing is known
|
2007-06-11 23:47:35 +04:00
|
|
|
# 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
|
2007-06-22 00:23:54 +04:00
|
|
|
|
|
|
|
# (embedded) targets without operating system usually don't support shared libraries
|
2012-08-13 21:47:32 +04:00
|
|
|
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
|
2010-04-15 00:09:19 +04:00
|
|
|
|
|
|
|
# To help the find_xxx() commands, set at least the following so CMAKE_FIND_ROOT_PATH
|
|
|
|
# works at least for some simple cases:
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_SYSTEM_INCLUDE_PATH /include )
|
|
|
|
set(CMAKE_SYSTEM_LIBRARY_PATH /lib )
|
|
|
|
set(CMAKE_SYSTEM_PROGRAM_PATH /bin )
|