[CMake] CMAKE 2.8.9 not observing CMAKE_FILES_DIRECTORY?

Jason T. Slack-Moehrle slackmoehrle at gmail.com
Sat Aug 25 20:14:27 EDT 2012


Eric,

>>> What makes you think that "PROJECT_BINARY_DIR" or
>>> "CMAKE_FILES_DIRECTORY" may be modified?
>>
>> Ah, well, I had no idea that it was a read-only variable.
>>
>> So how do people move the location of CMakeFiles and the cache, etc
>> away from the root? I dont want all the clutter there...
>
> I guess 'root' means your source tree right?
>
> Usually you use out-of-source build:
> http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

Thanks. This worked great for me.

-Jason


More information about the CMake mailing list