Cmake 命令

2020 May 31 cmake

Cmake 命令

add_custom_command

用法①

为了生成输出文件,添加一条自定义命令

语法格式①

add_custom_command(OUTPUT output1 [output2 ...]
                    COMMAND command1 [ARGS] [args1...]
                    [COMMAND command2 [ARGS] [args2...] ...]
                    [MAIN_DEPENDENCY depend]
                    [DEPENDS [depends...]]
                    [IMPLICIT_DEPENDS <lang1> depend1 ...]
                    [WORKING_DIRECTORY dir]
                    [COMMENT comment] [VERBATIM] [APPEND])
上一篇:Cmake 命令


下一篇:(二十九)c#Winform自定义控件-文本框(二)