CMakeLists.txt 662 B

12345678910111213141516171819202122
  1. SET(SOURCE_GROUP ${SOURCE_GROUP}\\win32)
  2. ua_add_architecture("win32")
  3. list (FIND UA_AMALGAMATION_ARCHITECUTRES "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. if(UA_ENABLE_DISCOVERY_MULTICAST OR UA_ENABLE_PUBSUB)
  10. ua_architecture_append_to_library(iphlpapi)
  11. endif()
  12. endif()
  13. ua_include_directories(${CMAKE_CURRENT_SOURCE_DIR})
  14. endif()