Hi All,
If anybody could guide me about, How to redirect .o
files in user defined directory?
I am setting CMAKE_CURRENT_SOURCE_DIR to "../obj" but
it is generating targets in ~/src/*.o
Can anybody enlighten?
Thanks & regards
amit
__
Do You Yahoo!
2007/11/12, Amit C. Kr. Saluja <[EMAIL PROTECTED]>:
> Hi All,
>
> If anybody could guide me about, How to redirect .o
> files in user defined directory?
>
> I am setting CMAKE_CURRENT_SOURCE_DIR to "../obj" but
> it is generating targets in ~/src/*.o
You cannot change CMAKE_CURRENT_SOURCE_DIR
>
>
Eric,
Thanks for this info!
> EXECUTABLE_OUTPUT_PATH
> LIBRARY_OUTPUT_PATH
These are global CMake variables. If we change it then
the EXECUTABLE & LIBRARY path of all the exe and libs
changes but not for .os The.os are still generated in
CMakeFiles/ directory.
Can CMAKE_CURRENT_BINARY_DIR could
On Monday 12 November 2007, Amit C. Kr. Saluja wrote:
> Eric,
> Thanks for this info!
>
> > EXECUTABLE_OUTPUT_PATH
> > LIBRARY_OUTPUT_PATH
>
> These are global CMake variables. If we change it then
> the EXECUTABLE & LIBRARY path of all the exe and libs
> changes but not for .os The.os are still ge
> No, AFAIK this is fix and you can't change it.
>
> Why do you want to do that ?
> (I recommend you just get used to the location of
> the object files).
I want to add the gcc options for gcov in Makefile.
The gcc flags dumps the *.gcno files at the location
of .o files.
So, if you run the gco
Amit C. Kr. Saluja wrote:
No, AFAIK this is fix and you can't change it.
Why do you want to do that ?
(I recommend you just get used to the location of
the object files).
I want to add the gcc options for gcov in Makefile.
The gcc flags dumps the *.gcno files at the location
of .o files.
So,