Hi Gonzalo

On 10/06/16 18:52, Gonzalo wrote:

>> We have big project with lots of libraries and applications. We want to
>> switch to cmake. Currently we use our own build system, which is derived
>> from tmake.
> Cmake handles all dependencies if you keep the CMakeFiles directory around.
> If you do and have a debug build, you can then just do:
> 
> touch file.c
> 
> and only that file will be recompiled and relinked.

I do release build, but I want single source file to be compiled in
debug mode, with "-O0 -DDEBUG" options instead of "-O3".

Of course, without recompiling whole directory.

-- 
Best regards, Sergey Spiridonov



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to