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 805B

1234567891011121314151617181920212223242526
  1. include_directories(.)
  2. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
  3. set(SOURCE_FILES
  4. main.cpp
  5. Interface/MainClass.cpp
  6. Interface/MainClass.h
  7. Interface/CommandLineParser.cpp
  8. Interface/CommandLineParser.h
  9. DBO/CommandLineOption.cpp
  10. DBO/CommandLineOption.h
  11. Business/PdnsSlave.cpp
  12. Business/PdnsSlave.h
  13. DBO/SqlConfiguration.cpp
  14. DBO/SqlConfiguration.h
  15. DataAccess/PdnsSlaveConfig.cpp
  16. DataAccess/PdnsSlaveConfig.h
  17. DataAccess/HostsConfig.cpp
  18. DataAccess/HostsConfig.h
  19. DBO/Actions/Action.cpp
  20. DBO/Actions/Action.h
  21. DBO/Result.hxx
  22. DBO/Result.h
  23. )
  24. set(LIBS ${LIBS} jsoncpp)
  25. add_executable(pdns-slave ${SOURCE_FILES} DBO/Actions/ActionDelHost.cpp DBO/Actions/ActionDelHost.h DBO/Actions/ActionAddHost.cpp DBO/Actions/ActionAddHost.h)
  26. target_link_libraries(pdns-slave ${LIBS})