You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. include_directories(.)
  2. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -I${JSONCPP_INCLUDE_DIRS}")
  3. set(SOURCE_FILES
  4. main.cpp
  5. Interface/MainClass.cpp
  6. Interface/MainClass.h
  7. Interface/CommandLineParser.cpp
  8. Interface/CommandLineParser.h
  9. Business/PdnsSlave.cpp
  10. Business/PdnsSlave.h
  11. DataAccess/PdnsSlaveConfig.cpp
  12. DataAccess/PdnsSlaveConfig.h
  13. DataAccess/HostsConfig.cpp
  14. DataAccess/HostsConfig.h
  15. DataAccess/MySql.cpp
  16. DataAccess/MySql.h
  17. DBO/CommandLineOption.cpp
  18. DBO/CommandLineOption.h
  19. DBO/SqlConfiguration.cpp
  20. DBO/SqlConfiguration.h
  21. DBO/Result.hxx
  22. DBO/Result.h
  23. DBO/Actions/Action.cpp
  24. DBO/Actions/Action.h
  25. DBO/Actions/ActionDelHost.cpp
  26. DBO/Actions/ActionDelHost.h
  27. DBO/Actions/ActionAddHost.cpp
  28. DBO/Actions/ActionAddHost.h
  29. DBO/Actions/ActionDelDomain.cpp
  30. DBO/Actions/ActionDelDomain.h
  31. DBO/Actions/ActionAddDomain.cpp
  32. DBO/Actions/ActionAddDomain.h
  33. DataAccess/AbstractSql.cpp DataAccess/AbstractSql.h DataAccess/PgSql.cpp DataAccess/PgSql.h)
  34. set(LIBS ${LIBS} jsoncpp)
  35. add_executable(pdns-slave ${SOURCE_FILES})
  36. target_link_libraries(pdns-slave ${LIBS})