summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Generic.cmake
blob: b6629e2965777da74b5e54813d4b3a7dd80dac0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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_PROPERTIES(GLOBAL PROPERTIES TARGET_SUPPORTS_SHARED_LIBS FALSE)