Sources.cmake 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #BIBISH Is [a] Bible Interactive SHell, a front-end for the SWORD Project
  2. #inspired by Debian's bible package
  3. #Copyright (C) 2015 David "Judah's Shadow" Blue <yudahsshadow@gmx.com>
  4. #
  5. #This program 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 version 2
  8. #
  9. #This program is distributed in the hope that it will be useful,
  10. #but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. #GNU General Public License for more details.
  13. #
  14. #You should have received a copy of the GNU General Public License along
  15. #with this program; if not, write to the Free Software Foundation, Inc.,
  16. #51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  17. SET (backend_src ${CMAKE_CURRENT_SOURCE_DIR}/src/back/parser.cpp
  18. ${CMAKE_CURRENT_SOURCE_DIR}/src/back/passage.cpp
  19. ${CMAKE_CURRENT_SOURCE_DIR}/src/back/search.cpp
  20. ${CMAKE_CURRENT_SOURCE_DIR}/src/back/library.cpp
  21. )
  22. source_group("backend_src" FILES ${backend_src})
  23. SET (frontend_src ${CMAKE_CURRENT_SOURCE_DIR}/src/front/display.cpp
  24. ${CMAKE_CURRENT_SOURCE_DIR}/src/front/interface.cpp
  25. ${CMAKE_CURRENT_SOURCE_DIR}/src/front/pager.cpp
  26. )
  27. source_group("frontend_src" FILES ${frontend_src})
  28. SET (main_src ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)
  29. source_group("main_src" FILES ${main_src})
  30. SET ( bibish_srcs
  31. ${backend_src}
  32. ${frontend_src}
  33. ${main_src}
  34. )