PageRenderTime 25ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/python/CMakeLists.txt

https://github.com/poes-weather/gr-poes-weather
CMake | 43 lines | 12 code | 4 blank | 27 comment | 1 complexity | 1d7cdc4dc3e15b70bb94a86555a6e3e1 MD5 | raw file
  1. # Copyright 2011 Free Software Foundation, Inc.
  2. #
  3. # This file is part of GNU Radio
  4. #
  5. # GNU Radio is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 3, or (at your option)
  8. # any later version.
  9. #
  10. # GNU Radio is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with GNU Radio; see the file COPYING. If not, write to
  17. # the Free Software Foundation, Inc., 51 Franklin Street,
  18. # Boston, MA 02110-1301, USA.
  19. ########################################################################
  20. # Include python install macros
  21. ########################################################################
  22. include(GrPython)
  23. if(NOT PYTHONINTERP_FOUND)
  24. return()
  25. endif()
  26. ########################################################################
  27. # Install python sources
  28. ########################################################################
  29. GR_PYTHON_INSTALL(
  30. FILES
  31. __init__.py
  32. DESTINATION ${GR_PYTHON_DIR}/poesweather
  33. )
  34. ########################################################################
  35. # Handle the unit tests
  36. ########################################################################
  37. include(GrTest)
  38. set(GR_TEST_TARGET_DEPS gnuradio-poesweather)
  39. set(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/swig)