CMakeLists.txt 917 B

12345678910111213141516171819202122
  1. SET(SOURCE_GROUP ${SOURCE_GROUP}\\arch)
  2. ua_include_directories(${CMAKE_CURRENT_SOURCE_DIR}) #to have access to ua_network_tcp.h and udp.h
  3. add_subdirectory(posix)
  4. add_subdirectory(win32)
  5. add_subdirectory(freertosLWIP)
  6. add_subdirectory(vxworks)
  7. add_subdirectory(eCos)
  8. SET(UA_ARCH_EXTRA_INCLUDES "" CACHE STRING "Folders to include from the architecture")
  9. ua_include_directories(${UA_ARCH_EXTRA_INCLUDES})
  10. SET(UA_ARCH_REMOVE_FLAGS "" CACHE STRING "Flags to be removed from compilation that depends on the architecure")
  11. ua_architecture_remove_definitions(${UA_ARCH_REMOVE_FLAGS})
  12. SET(UA_ARCH_ADD_FLAGS "" CACHE STRING "Flags to be added to compilation that depends on the architecure")
  13. ua_architecture_add_definitions(${UA_ARCH_ADD_FLAGS})
  14. SET(UA_ARCH_LINKER_FLAGS "" CACHE STRING "Linker Flags to be added to compilation that depends on the architecure")
  15. ua_architecture_append_to_library(${UA_ARCH_LINKER_FLAGS})