CTest Example enable_testing() add_test(NAME GIT_TEST COMMAND git --version) 이후, makefile단계에서 아래와 같이 입력하면 된다. make test See also CMake CMakeLists.txt CMake:Policies Favorite site CMake » 3.0.2 Documentation » cmake-modules(7) » CTest CMake/Testing With CTest CMake Generating Testing Files