1 2
try_compile(RESULT ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/proj TestProject COPY_FILE ${CMAKE_CURRENT_BINARY_DIR}/result)