You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
479 B
12 lines
479 B
file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/$<LOWER_CASE:$<CONFIG>>/usesourcepermissions.txt"
|
|
INPUT "${CMAKE_CURRENT_SOURCE_DIR}/input.txt"
|
|
USE_SOURCE_PERMISSIONS
|
|
)
|
|
|
|
add_custom_target(checkUseSourcePermissions ALL
|
|
COMMAND ${CMAKE_COMMAND}
|
|
-DsourceFile=${CMAKE_CURRENT_SOURCE_DIR}/input.txt
|
|
-DgeneratedFile=${CMAKE_CURRENT_BINARY_DIR}/$<LOWER_CASE:$<CONFIG>>/usesourcepermissions.txt
|
|
-P "${CMAKE_CURRENT_SOURCE_DIR}/UseSourcePermissionsVerify.cmake"
|
|
)
|