CMakeLists.txt 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. ################################################################################
  2. # HPCC SYSTEMS software Copyright (C) 2014 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: loggingmanager
  17. #####################################################
  18. # Description:
  19. # ------------
  20. # Cmake Input File for loggingmanager
  21. #####################################################
  22. project( loggingmanager )
  23. # include(${HPCC_SOURCE_DIR}/cmake_modules/shares.cmake)
  24. include(${HPCC_SOURCE_DIR}/esp/scm/espscm.cmake)
  25. set ( SRCS
  26. ${ESPSCM_GENERATED_DIR}/ws_loggingservice_esp.cpp
  27. loggingmanager.cpp
  28. )
  29. include_directories (
  30. ${HPCC_SOURCE_DIR}/esp/platform
  31. ${HPCC_SOURCE_DIR}/system/jlib
  32. ${HPCC_SOURCE_DIR}/system/security/shared
  33. ${HPCC_SOURCE_DIR}/system/xmllib
  34. ${HPCC_SOURCE_DIR}/system/include
  35. ${HPCC_SOURCE_DIR}/esp/bindings/SOAP/client
  36. ${HPCC_SOURCE_DIR}/esp/bindings/SOAP/Platform
  37. ${HPCC_SOURCE_DIR}/esp/clients
  38. ${HPCC_SOURCE_DIR}/esp/clients/espcommonclient
  39. ${HPCC_SOURCE_DIR}/esp/clients/LoggingClient
  40. ${HPCC_SOURCE_DIR}/esp/bindings
  41. ${HPCC_SOURCE_DIR}/esp/bindings/SOAP/LoggingService
  42. ${HPCC_SOURCE_DIR}/esp/bindings/SOAP/xpp
  43. # ./../../protocols/sidex
  44. ${HPCC_SOURCE_DIR}/esp/logging/logginglib
  45. ./..
  46. )
  47. ADD_DEFINITIONS( -D_USRDLL -DLOGGINGCOMMON_EXPORTS -DLOGGINGMANAGER_EXPORTS )
  48. if (RELEASE_BUILD EQUAL 1)
  49. ADD_DEFINITIONS( -DISC_NO_MAIN)
  50. endif (RELEASE_BUILD EQUAL 1)
  51. HPCC_ADD_LIBRARY( loggingmanager SHARED ${SRCS} )
  52. add_dependencies( loggingmanager espscm )
  53. install ( TARGETS loggingmanager RUNTIME DESTINATION ${EXEC_DIR} LIBRARY DESTINATION ${LIB_DIR} )
  54. target_link_libraries ( loggingmanager
  55. ${XALAN_LIBRARIES} ${XERCES_LIBRARIES}
  56. jlib
  57. xmllib
  58. logginglib
  59. esphttp
  60. )