CMakeLists.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ################################################################################
  2. # Copyright (C) 2011 HPCC Systems.
  3. #
  4. # All rights reserved. This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU Affero General Public License as
  6. # published by the Free Software Foundation, either version 3 of the
  7. # License, or (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU Affero General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU Affero General Public License
  15. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. ################################################################################
  17. # Component: auditlib
  18. #####################################################
  19. # Description:
  20. # ------------
  21. # Cmake Input File for auditlib
  22. #####################################################
  23. project( auditlib )
  24. set ( SRCS
  25. auditlib.cpp
  26. )
  27. include_directories (
  28. ./../../system/include
  29. ./../../system/jlib
  30. )
  31. ADD_DEFINITIONS( -D_USRDLL -DAUDITLIB_EXPORTS )
  32. HPCC_ADD_LIBRARY( auditlib SHARED ${SRCS} )
  33. install ( TARGETS auditlib DESTINATION ${OSSDIR}/plugins )
  34. target_link_libraries ( auditlib
  35. jlib
  36. )