Anyone who knows wheter it's possible to calculate logarithms in MATH expressions in CMake? Would like a log2 or alternatively "ln" (natural).
-Martin -----Original Message----- From: [EMAIL PROTECTED] on behalf of Fernando Cacciola Sent: Wed 12/12/2007 2:29 PM To: cmake@cmake.org Subject: [CMake] Controling OutputDirectory in the vcprojs Hi, I'm porting (or trying to) a custom build system to CMake. Following Boost we generate .libs whose names reflect configurarion properties. To keep it simple, say we generate "foo_release.lib" and "foo_debug-lib". I was able to get those names right by setting the <CONFIG>-OUTPUT-NAME target properties, but I still have a problem: I don't want them in "Release" and "Debug" folders (there is no need for that since the configuration is in the name). Looking at "cmLocalVisualStudio7Generator.cxx" it seems I'm plain out of luck since "OutputDirectory" is forcibly defined as the configuration name, so 1) Can the VisualStudio generator be fixed to define that as LIBRARY_OUTPUT_DIRECTORY if defined? 2) What can I do now? Can I plug in a post build event to copy the generated .lib to the right folder? Or do I need to handle it as an install rule? (and force my users to do "make install" in the end even for in-source builds) TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake