CMakeLists.txt 1.1 KB

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