CMakeLists.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # You may redistribute this program and/or modify it under the terms of
  2. # the GNU General Public License as published by the Free Software Foundation,
  3. # either version 3 of the License, or (at your option) any later version.
  4. #
  5. # This program is distributed in the hope that it will be useful,
  6. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. # GNU General Public License for more details.
  9. #
  10. # You should have received a copy of the GNU General Public License
  11. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. add_library(cjdns-admin
  13. Admin.c
  14. AuthorizedPasswords.c
  15. )
  16. target_link_libraries(cjdns-admin
  17. crypto
  18. cjdbenc_StandardBencSerializer
  19. )
  20. add_library(cjdns-admin-logger
  21. AdminLog.c
  22. )
  23. target_link_libraries(cjdns-admin-logger cjdns-admin)
  24. add_library(cjdns-admin-client
  25. AdminClient.c
  26. Configurator.c
  27. )
  28. target_link_libraries(cjdns-admin-client
  29. crypto
  30. cjdbenc_StandardBencSerializer
  31. cjdns-util-platform-socket
  32. )
  33. add_subdirectory(testframework)
  34. add_subdirectory(angel)
  35. enable_testing()
  36. add_subdirectory(test)