![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
NerfUS_cmake_cleanup
Fork of NerfUS by
CMakeLists.txt.in@3:aaf84424abb1, 2017-02-04 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Sat Feb 04 22:48:36 2017 -0500
- Revision:
- 3:aaf84424abb1
- Child:
- 8:0498fa4f5c1f
Integrate GoogleTest and GoogleMock
How to build and run the tests:
- mkdir build
- cd build
- cmake ..
- make
- ./run_all_tests
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maxime Dupuis |
3:aaf84424abb1 | 1 | cmake_minimum_required(VERSION 2.8.2) |
Maxime Dupuis |
3:aaf84424abb1 | 2 | |
Maxime Dupuis |
3:aaf84424abb1 | 3 | project(googletest-download NONE) |
Maxime Dupuis |
3:aaf84424abb1 | 4 | |
Maxime Dupuis |
3:aaf84424abb1 | 5 | include(ExternalProject) |
Maxime Dupuis |
3:aaf84424abb1 | 6 | ExternalProject_Add(googletest |
Maxime Dupuis |
3:aaf84424abb1 | 7 | GIT_REPOSITORY https://github.com/google/googletest.git |
Maxime Dupuis |
3:aaf84424abb1 | 8 | GIT_TAG master |
Maxime Dupuis |
3:aaf84424abb1 | 9 | SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src" |
Maxime Dupuis |
3:aaf84424abb1 | 10 | BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build" |
Maxime Dupuis |
3:aaf84424abb1 | 11 | CONFIGURE_COMMAND "" |
Maxime Dupuis |
3:aaf84424abb1 | 12 | BUILD_COMMAND "" |
Maxime Dupuis |
3:aaf84424abb1 | 13 | INSTALL_COMMAND "" |
Maxime Dupuis |
3:aaf84424abb1 | 14 | TEST_COMMAND "" |
Maxime Dupuis |
3:aaf84424abb1 | 15 | ) |