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.

37 lines
1.1 KiB

  1. # This program source code file is part of KiCad, a free EDA CAD application.
  2. #
  3. # Copyright (C) 2023 KiCad Developers, see AUTHORS.TXT for contributors.
  4. #
  5. # This program is free software: you can redistribute it and/or modify it
  6. # under the terms of the GNU General Public License as published by the
  7. # Free Software Foundation, either version 3 of the License, or (at your
  8. # option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. # General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License along
  16. # with this program. If not, see <http://www.gnu.org/licenses/>.
  17. set( KINNG_SRCS
  18. src/kinng.cpp
  19. )
  20. add_library( kinng STATIC
  21. ${KINNG_SRCS}
  22. )
  23. target_link_libraries( kinng
  24. ${NNG_LIBRARY}
  25. )
  26. target_include_directories( kinng PUBLIC
  27. ${PROJECT_BINARY_DIR}
  28. ${CMAKE_CURRENT_SOURCE_DIR}/include
  29. )
  30. target_include_directories( kinng PRIVATE
  31. ${PROJECT_SOURCE_DIR}/include
  32. ${NNG_INCLUDE_DIR}
  33. )