CMakeLists.txt 1.1 KB

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