CMakeLists.txt 800 B

1234567891011121314151617181920212223
  1. SET(SOURCE_GROUP ${SOURCE_GROUP}\\win32)
  2. ua_add_architecture("win32")
  3. list (FIND UA_AMALGAMATION_ARCHITECTURES "win32" _index)
  4. if (${_index} GREATER -1 OR "${UA_ARCHITECTURE}" STREQUAL "win32")
  5. ua_add_architecture_file(${CMAKE_CURRENT_SOURCE_DIR}/ua_clock.c)
  6. ua_add_architecture_file(${CMAKE_CURRENT_SOURCE_DIR}/ua_architecture_functions.c)
  7. if("${UA_ARCHITECTURE}" STREQUAL "win32")
  8. ua_architecture_append_to_library(ws2_32)
  9. ua_architecture_append_to_library(iphlpapi)
  10. #append iphlpapi permanently. Problem: PUBSUB Flag is configured after execution.
  11. #if(UA_ENABLE_DISCOVERY_MULTICAST OR UA_ENABLE_PUBSUB)
  12. # ua_architecture_append_to_library(iphlpapi)
  13. #endif()
  14. endif()
  15. ua_include_directories(${CMAKE_CURRENT_SOURCE_DIR})
  16. endif()