FindCVS¶
Finds the Concurrent Versions System (CVS):
find_package(CVS [...])
結果變數¶
該模組定義了以下變數:
CVS_FOUND
Boolean indicating whether the
cvs
command-line client was found.
快取變數¶
The following cache variables may also be set:
CVS_EXECUTABLE
Path to
cvs
command-line client.
範例¶
Finding CVS and executing it in a process:
find_package(CVS)
if(CVS_FOUND)
execute_process(COMMAND ${CVS_EXECUTABLE} --help)
endif()