PageRenderTime 33ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/linux_updater/CMakeLists.txt

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 51 lines | 40 code | 10 blank | 1 comment | 0 complexity | ece1f6bf56c5a258f5ca582fc97c352c MD5 | raw file
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. project(linux_updater)
  3. include(00-Common)
  4. include(CURL)
  5. include(CARes)
  6. include(OpenSSL)
  7. include(UI)
  8. include(LLCommon)
  9. include(LLVFS)
  10. include(LLXML)
  11. include(LLXUIXML)
  12. include(Linking)
  13. include_directories(
  14. ${LLCOMMON_INCLUDE_DIRS}
  15. ${LLVFS_INCLUDE_DIRS}
  16. ${LLXML_INCLUDE_DIRS}
  17. ${LLXUIXML_INCLUDE_DIRS}
  18. ${CURL_INCLUDE_DIRS}
  19. ${CARES_INCLUDE_DIRS}
  20. ${OPENSSL_INCLUDE_DIRS}
  21. ${UI_INCLUDE_DIRS}
  22. )
  23. set(linux_updater_SOURCE_FILES linux_updater.cpp)
  24. set(linux_updater_HEADER_FILES CMakeLists.txt)
  25. set_source_files_properties(${linux_updater_HEADER_FILES}
  26. PROPERTIES HEADER_FILES_ONLY TRUE)
  27. list(APPEND linux_updater_SOURCE_FILES ${linux_updater_HEADER_FILES})
  28. add_executable(linux-updater ${linux_updater_SOURCE_FILES})
  29. target_link_libraries(linux-updater
  30. ${CURL_LIBRARIES}
  31. ${CARES_LIBRARIES}
  32. ${OPENSSL_LIBRARIES}
  33. ${CRYPTO_LIBRARIES}
  34. ${UI_LIBRARIES}
  35. ${LLXML_LIBRARIES}
  36. ${LLXUIXML_LIBRARIES}
  37. ${LLVFS_LIBRARIES}
  38. ${LLCOMMON_LIBRARIES}
  39. )
  40. add_custom_target(linux-updater-target ALL
  41. DEPENDS linux-updater)