CMakeLists.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ################################################################################
  2. # HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. ################################################################################
  16. # Component: deploy
  17. #####################################################
  18. # Description:
  19. # ------------
  20. # Cmake Input File for deploy
  21. #####################################################
  22. project( deploy )
  23. set ( SRCS
  24. configgenengine.cpp
  25. dalideploymentengine.cpp
  26. deploy.cpp
  27. DeployLog.cpp
  28. DeploymentEngine.cpp
  29. DeployTask.cpp
  30. EspDeploymentEngine.cpp
  31. espconfiggenengine.cpp
  32. RoxieDeploymentEngine.cpp
  33. thorconfiggenengine.cpp
  34. ThorDeploymentEngine.cpp
  35. XslFunctions.cpp
  36. )
  37. include_directories (
  38. ${HPCC_SOURCE_DIR}/system/include
  39. ${HPCC_SOURCE_DIR}/system/xmllib
  40. ${HPCC_SOURCE_DIR}/system/jlib
  41. ${HPCC_SOURCE_DIR}/system/mp
  42. ${HPCC_SOURCE_DIR}/common/environment
  43. ${HPCC_SOURCE_DIR}/dali/base
  44. ${HPCC_SOURCE_DIR}/system/security/securesocket
  45. ${CMAKE_BINARY_DIR}
  46. ${CMAKE_BINARY_DIR}/oss
  47. ${HPCC_SOURCE_DIR}/deployment/configutils
  48. ${HPCC_SOURCE_DIR}/system/security/shared
  49. )
  50. ADD_DEFINITIONS ( -D_USRDLL -DDEPLOY_EXPORTS )
  51. HPCC_ADD_LIBRARY( deploy SHARED ${SRCS} )
  52. install ( TARGETS deploy RUNTIME DESTINATION ${EXEC_DIR} LIBRARY DESTINATION ${LIB_DIR} )
  53. target_link_libraries ( deploy
  54. jlib
  55. environment
  56. xmllib
  57. configutils
  58. )
  59. IF (USE_OPENSSL)
  60. target_link_libraries ( deploy
  61. securesocket
  62. )
  63. ENDIF()