diff options
author | Brad King <brad.king@kitware.com> | 2015-07-15 13:05:46 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-15 13:05:46 (GMT) |
commit | 27373f550e13b032803873348057b0e80b0c0086 (patch) | |
tree | 1f4b08a4431b119edf5f623aa4e744e6f1de290e | |
parent | b2eff70f6b3a2abb5e5ce27a331717c319200a83 (diff) | |
parent | 606b29d427c362bfcb222c5063dfb629ee27c0d9 (diff) | |
download | CMake-27373f550e13b032803873348057b0e80b0c0086.zip CMake-27373f550e13b032803873348057b0e80b0c0086.tar.gz CMake-27373f550e13b032803873348057b0e80b0c0086.tar.bz2 |
Merge topic 'add-Euros-platform-module'
606b29d4 Add EUROS RTOS platform description file
-rw-r--r-- | Modules/Platform/Euros.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Modules/Platform/Euros.cmake b/Modules/Platform/Euros.cmake new file mode 100644 index 0000000..4c7b182 --- /dev/null +++ b/Modules/Platform/Euros.cmake @@ -0,0 +1,19 @@ +# Support for EUROS RTOS (euros-embedded.com) +set(CMAKE_LINK_LIBRARY_SUFFIX "") +set(CMAKE_STATIC_LIBRARY_PREFIX "") +set(CMAKE_STATIC_LIBRARY_SUFFIX ".lib") +set(CMAKE_SHARED_LIBRARY_PREFIX "") +set(CMAKE_SHARED_LIBRARY_SUFFIX ".lib") +set(CMAKE_EXECUTABLE_SUFFIX ".elf") +set(CMAKE_DL_LIBS "") + +set(CMAKE_FIND_LIBRARY_PREFIXES "") +set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib") + +# EUROS RTOS does not support shared libs +set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE) + +set(CMAKE_CXX_LINK_SHARED_LIBRARY ) +set(CMAKE_CXX_LINK_MODULE_LIBRARY ) +set(CMAKE_C_LINK_SHARED_LIBRARY ) +set(CMAKE_C_LINK_MODULE_LIBRARY ) |