[CMake] Is it safe to use add_definitions() before the first project() command?

Marcel Loose loose at astron.nl
Wed Nov 4 03:41:55 EST 2009


Hi all,

Well the title says it all. Is it safe to use add_definitions() before
the first project() command, or am I entering the realm of undefined
behaviour then?

Best regards,
Marcel Loose.




More information about the CMake mailing list