CMakeLists.txt 550 B

12345678910111213141516171819202122232425
  1. add_executable(badvpn-ncd
  2. ncd.c
  3. NCDValue.c
  4. NCDModule.c
  5. NCDIfConfig.c
  6. NCDInterfaceMonitor.c
  7. modules/command_template.c
  8. modules/var.c
  9. modules/list.c
  10. modules/depend.c
  11. modules/concat.c
  12. modules/net_backend_physical.c
  13. modules/net_backend_badvpn.c
  14. modules/net_dns.c
  15. modules/net_iptables.c
  16. modules/net_ipv4_addr.c
  17. modules/net_ipv4_route.c
  18. modules/net_ipv4_dhcp.c
  19. )
  20. target_link_libraries(badvpn-ncd system dhcpclient ncdconfig)
  21. install(
  22. TARGETS badvpn-ncd
  23. RUNTIME DESTINATION bin
  24. )