On Mon, Sep 14, 2009 at 3:51 PM, Bill Hoffman <[email protected]> wrote:
> Tanguy Krotoff wrote:
>> Still why try_run() works in debug mode instead of release mode?
>
> Why not debug?  It is the default build.

humm why not in release mode (or release with debug info)?
smaller exe, faster, and I guess nobody is debugging a try_run()?

What would be nice is to easily change the compilation mode by passing
the right flags.
I didn't manage to achieve that with COMPILE_DEFINITIONS and
CMAKE_FLAGS options for try_run
Could be nice to have this documented if it is already possible.

Thanks

-- 
Tanguy Krotoff <[email protected]>
+33 6 68 42 70 24
_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to