Hi all,
I'm developing on Mac using Xcode, and I need to create a directory in 'Debug':
add_custom_command(TARGET target POST_BUILD ${CMAKE_COMMAND} -E make_directory
${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/MyDir)
How do I test the existence of 'MyDir' before creating it? Can I put 'if
(exists MyDir)' before make_directory?
Thanks
Yifei
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake