1# This is a platform definition file for platforms without
2# operating system, typically embedded platforms.
3# It is used when CMAKE_SYSTEM_NAME is set to "Generic"
4#
5# It is intentionally empty, since nothing is known
6# about the platform. So everything has to be specified
7# in the system/compiler files ${CMAKE_SYSTEM_NAME}-<compiler_basename>.cmake
8# and/or ${CMAKE_SYSTEM_NAME}-<compiler_basename>-${CMAKE_SYSTEM_PROCESSOR}.cmake
9
10# (embedded) targets without operating system usually don't support shared libraries
11set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
12
13# To help the find_xxx() commands, set at least the following so CMAKE_FIND_ROOT_PATH
14# works at least for some simple cases:
15set(CMAKE_SYSTEM_INCLUDE_PATH /include )
16set(CMAKE_SYSTEM_LIBRARY_PATH /lib )
17set(CMAKE_SYSTEM_PROGRAM_PATH /bin )
18