Skip to content

Commit

Permalink
[cmake] Add the testsuite-depends target. (#8315)
Browse files Browse the repository at this point in the history
  - This corresponds to the same target of the autoconf build. It is
    missing some functionality but it is fine for most use cases.
  • Loading branch information
mahge committed Dec 13, 2021
1 parent ef563cc commit e8c3123
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .CI/common.groovy
Expand Up @@ -339,6 +339,7 @@ void buildOMC_CMake(cmake_args, cmake_exe='cmake') {
sh "${cmake_exe} --build ./build_cmake/OMShell --parallel ${numPhysicalCPU()} --target install"
sh "${cmake_exe} --build ./build_cmake/OMNotebook --parallel ${numPhysicalCPU()} --target install"
sh "${cmake_exe} --build ./build_cmake/testsuite --parallel ${numPhysicalCPU()} --target install"
sh "${cmake_exe} --build ./build_cmake --parallel ${numPhysicalCPU()} --target testsuite-depends"
}
}

Expand Down
6 changes: 6 additions & 0 deletions testsuite/CMakeLists.txt
Expand Up @@ -3,3 +3,9 @@
omc_add_subdirectory(difftool)
omc_add_subdirectory(ReferenceFiles)
omc_add_subdirectory(libraries-for-testing)


add_custom_target(testsuite-depends
DEPENDS omc-diff
DEPENDS libs-for-testing
DEPENDS reference-files)

0 comments on commit e8c3123

Please sign in to comment.