CMakeLists.txt 940 B

1234567891011121314151617181920212223
  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. add_subdirectory(wec7)
  9. SET(UA_ARCH_EXTRA_INCLUDES "" CACHE STRING "Folders to include from the architecture")
  10. ua_include_directories(${UA_ARCH_EXTRA_INCLUDES})
  11. SET(UA_ARCH_REMOVE_FLAGS "" CACHE STRING "Flags to be removed from compilation that depends on the architecure")
  12. ua_architecture_remove_definitions(${UA_ARCH_REMOVE_FLAGS})
  13. SET(UA_ARCH_ADD_FLAGS "" CACHE STRING "Flags to be added to compilation that depends on the architecure")
  14. ua_architecture_add_definitions(${UA_ARCH_ADD_FLAGS})
  15. SET(UA_ARCH_LINKER_FLAGS "" CACHE STRING "Linker Flags to be added to compilation that depends on the architecure")
  16. ua_architecture_append_to_library(${UA_ARCH_LINKER_FLAGS})