[CMake] Semicolons in command options

Eric (Brad) Lemings brad at rebit.com
Tue Oct 21 17:01:20 EDT 2008


Why does CMake do this and how can I tell it to NOT replace semicolons
with spaces?

CMakeLists.txt:
    set (FOO one;two;three)
    add_custom_target (foo.exe ALL
        myCmd -I${FOO}
        VERBATIM)

CMake Output:
        myCmd -Ione two three

Thanks,
Eric.



More information about the CMake mailing list