graph_lcr.cmake 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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: graph_lcr
  17. #####################################################
  18. # Description:
  19. # ------------
  20. # Cmake Input File for graph_lcr
  21. #####################################################
  22. project( graph_lcr )
  23. set ( SRCS
  24. ../thorutil/thbuf.cpp
  25. ../thorutil/thcompressutil.cpp
  26. ../thorutil/thmem.cpp
  27. ../thorutil/thorport.cpp
  28. ../thorutil/thalloc.cpp
  29. ../thorutil/thormisc.cpp
  30. thgraph.cpp
  31. ../thorutil/thorport.hpp
  32. )
  33. include_directories (
  34. ./../thorutil
  35. ./../../system/jhtree
  36. ./../../system/mp
  37. ./../../rtl/include
  38. ./../../common/workunit
  39. ./../shared
  40. ./../../common/deftype
  41. ./../../system/include
  42. ./../../dali/base
  43. ./../../rtl/include
  44. ./../../common/dllserver
  45. ./../../system/jlib
  46. ./../thorcodectx
  47. ./../mfilemanager
  48. ./../../rtl/eclrtl
  49. ./../../common/thorhelper
  50. ./../../roxie/roxiemem
  51. ./../../system/security/shared
  52. )
  53. HPCC_ADD_LIBRARY( graph_lcr SHARED ${SRCS} )
  54. set_target_properties(graph_lcr PROPERTIES
  55. COMPILE_FLAGS -D_USRDLL
  56. DEFINE_SYMBOL GRAPH_EXPORTS )
  57. install ( TARGETS graph_lcr RUNTIME DESTINATION ${EXEC_DIR} LIBRARY DESTINATION ${LIB_DIR} )
  58. target_link_libraries ( graph_lcr
  59. jlib
  60. jhtree
  61. remote
  62. dalibase
  63. dllserver
  64. nbcd
  65. eclrtl
  66. deftype
  67. workunit
  68. thorhelper
  69. roxiemem
  70. )
  71. if (USE_TBBMALLOC)
  72. add_dependencies ( graph_lcr tbb)
  73. target_link_libraries ( graph_lcr libtbbmalloc_proxy libtbbmalloc)
  74. endif()