CMakeLists.txt
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:1k
源码类别:

游戏引擎

开发平台:

C++ Builder

  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)