I've seen that CMake put the intermediate files, like .obj in a directory like this :
project.dir/sort/of/copy/of/source/directory
Is there a way to have something like that :
project.dir/Debug/ myfiles.obj |--> for my debug
and
project.dir/Release/ myfiles.obj |--> for my release
For moment, I used 2 separate directory to generate each time my libraries or executable for the Debug and the release. And after I have also the platform...
Is there something similar to CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE or CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE...
for intermediate files.obj ?
I've try too the /Fo
but when I used this FLAG, Cmake override with his configuration :
warning D9025 : overriding '/Fo;../x64/Debug/' with '/FoCMakeFiles\project.dir\src\project\main.cpp.obj'
Please, does someone have a solution ?