[CMake] Can I change the default directory(CMakeFiles) to store the generated file and object files?

Yongqiang Li jasonleehust at gmail.com
Thu May 21 04:03:15 EDT 2009


Hi all,

For some special reasons, I need to use another directory to store all the
generated files and object files, not the default one, "CMakeFiles", in
CMAKE_CURRENT_BINARY_DIRECTORY.

I want to store them in another place. I've googled for a long time, but I
have not find the solution. Someone said to set the variable of
CMAKE_FILES_DIRECTORY to do that, but it didn't work.

Is it possible?

Thanks in advance.

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090521/5700666e/attachment.htm>


More information about the CMake mailing list