CMakeLists.txt 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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: deployutils
  17. #####################################################
  18. # Description:
  19. # ------------
  20. # Cmake Input File for deployutils
  21. #####################################################
  22. project( deployutils )
  23. set ( SRCS
  24. buildset.cpp
  25. computerpicker.cpp
  26. configenvhelper.cpp
  27. wizardInputs.cpp
  28. deployutils.cpp
  29. )
  30. include_directories (
  31. ${HPCC_SOURCE_DIR}/system/include
  32. ${HPCC_SOURCE_DIR}/system/jlib
  33. ${HPCC_SOURCE_DIR}/system/mp
  34. ${HPCC_SOURCE_DIR}/system/xmllib
  35. ${HPCC_SOURCE_DIR}/common/environment
  36. ${HPCC_SOURCE_DIR}/dali/base
  37. ${HPCC_SOURCE_DIR}/esp/esplib
  38. ${HPCC_SOURCE_DIR}/deployment/configgen
  39. ${HPCC_SOURCE_DIR}/deployment/deploy
  40. ${HPCC_SOURCE_DIR}/deployment/configutils
  41. ${CMAKE_BINARY_DIR}
  42. ${CMAKE_BINARY_DIR}/oss
  43. )
  44. ADD_DEFINITIONS ( -D_USRDLL -DDEPLOYUTILS_EXPORTS )
  45. HPCC_ADD_LIBRARY( deployutils SHARED ${SRCS} )
  46. install ( TARGETS deployutils RUNTIME DESTINATION ${EXEC_DIR} LIBRARY DESTINATION ${LIB_DIR} )
  47. target_link_libraries ( deployutils
  48. jlib
  49. environment
  50. xmllib
  51. deploy
  52. configutils
  53. )