CMakeLists.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # ***** BEGIN GPL LICENSE BLOCK *****
  2. #
  3. # This program is free software; you can redistribute it and/or
  4. # modify it under the terms of the GNU General Public License
  5. # as published by the Free Software Foundation; either version 2
  6. # of the License, or (at your option) any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software Foundation,
  15. # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16. #
  17. # The Original Code is Copyright (C) 2014, Blender Foundation
  18. # All rights reserved.
  19. #
  20. # Contributor(s): Sergey Sharybin
  21. #
  22. # ***** END GPL LICENSE BLOCK *****
  23. set(INC
  24. .
  25. include
  26. )
  27. set(INC_SYS
  28. ../gtest/include
  29. )
  30. set(SRC
  31. # src/gmock-all.cc
  32. src/gmock-cardinalities.cc
  33. src/gmock.cc
  34. src/gmock-internal-utils.cc
  35. src/gmock_main.cc
  36. src/gmock-matchers.cc
  37. src/gmock-spec-builders.cc
  38. )
  39. set(SRC_HEADERS
  40. include/gmock/gmock-actions.h
  41. include/gmock/gmock-cardinalities.h
  42. include/gmock/gmock-generated-actions.h
  43. include/gmock/gmock-generated-function-mockers.h
  44. include/gmock/gmock-generated-matchers.h
  45. include/gmock/gmock-generated-nice-strict.h
  46. include/gmock/gmock.h
  47. include/gmock/gmock-matchers.h
  48. include/gmock/gmock-more-actions.h
  49. include/gmock/gmock-more-matchers.h
  50. include/gmock/gmock-spec-builders.h
  51. include/gmock/internal/custom/gmock-generated-actions.h
  52. include/gmock/internal/custom/gmock-matchers.h
  53. include/gmock/internal/custom/gmock-port.h
  54. include/gmock/internal/gmock-generated-internal-utils.h
  55. include/gmock/internal/gmock-internal-utils.h
  56. include/gmock/internal/gmock-port.h
  57. )
  58. include_directories(${INC})
  59. include_directories(SYSTEM ${INC_SYS})
  60. add_library(extern_gmock ${SRC} ${SRC_HEADERS})