SOURCE_DIR

在 3.4 版被加入.

This read-only property reports the value of the CMAKE_CURRENT_SOURCE_DIR variable in the directory in which the target was defined.