add check-commits target

This commit is contained in:
Arne Morten Kvarving
2014-12-08 15:26:18 +01:00
committed by Bård Skaflestad
parent 6e52a7bc3b
commit 5dca993b69
2 changed files with 105 additions and 0 deletions
+6
View File
@@ -73,6 +73,12 @@ endmacro (tests_hook)
# all setup common to the OPM library modules is done here
include (OpmLibMain)
add_custom_target(check-commits
COMMAND ${CMAKE_COMMAND}
-DPROJECT_SOURCE_DIR=${PROJECT_SOURCE_DIR}
-DCMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}
-P ${PROJECT_SOURCE_DIR}/cmake/Scripts/CheckCommits.cmake)
# download Eigen if user doesn't have the correct version
if (NOT EIGEN3_FOUND)
message (STATUS "Downloading Eigen3")