Last active
August 28, 2020 07:20
-
-
Save Kairo-Dai/f66195edb2afd8f279e811604b2c7db1 to your computer and use it in GitHub Desktop.
cmake测试表达式
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_custom_command(TARGET ${LIBNAME} POST_BUILD | |
COMMAND ${CMAKE_COMMAND} -E copy_directory ${DEPS_DIR}/ ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$<$<CONFIG:Release>:Release>$<$<CONFIG:Debug>:Debug>/FolderName | |
) | |
如下测试表达式的结果是:somethingtext | |
#$<1:somethingtext> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment