CMakeLists.txt 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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: fileservices
  17. #####################################################
  18. # Description:
  19. # ------------
  20. # Cmake Input File for fileservices
  21. #####################################################
  22. project( fileservices )
  23. include(${HPCC_SOURCE_DIR}/esp/scm/smcscm.cmake)
  24. set ( SRCS
  25. ${ESPSCM_GENERATED_DIR}/ws_dfu_esp.cpp
  26. ${ESPSCM_GENERATED_DIR}/ws_fs_esp.cpp
  27. fileservices.cpp
  28. ../../esp/bindings/bindutil.cpp
  29. ../../dali/dfuplus/dfuplus.cpp
  30. )
  31. include_directories (
  32. .
  33. ./../../common/environment
  34. ./../../common/remote
  35. ./../../system/jhtree
  36. ./../../system/mp
  37. ./../../common/workunit
  38. ./../../esp/clients
  39. ./../../dali/ft
  40. ./../../system/security/shared
  41. ./../../esp/bindings/SOAP/xpp
  42. ./../../common/deftype
  43. ./../../system/include
  44. ./../../esp/bindings
  45. ./../../dali/base
  46. ./../../ecl/eclagent
  47. ./../../rtl/include
  48. ./../../system/xmllib
  49. ./../../esp/platform
  50. ./../../system/jlib
  51. ./../../common/thorhelper
  52. ./../../rtl/eclrtl
  53. ./../../dali/dfu
  54. ./../../dali/dfuplus
  55. ./../../system/jlib
  56. )
  57. ADD_DEFINITIONS( -D_USRDLL -DFILESERVICES_EXPORTS )
  58. HPCC_ADD_LIBRARY( fileservices SHARED ${SRCS} )
  59. add_dependencies ( fileservices espscm )
  60. install ( TARGETS fileservices DESTINATION plugins )
  61. target_link_libraries ( fileservices
  62. jlib
  63. remote
  64. dalibase
  65. environment
  66. esphttp
  67. dllserver
  68. nbcd
  69. eclrtl
  70. deftype
  71. workunit
  72. )