Hi, > Date: Thu, 11 Sep 2014 07:49:23 +0000 > From: Ravi Raman <ravi.ra...@xoriant.com>
> Hi, > > Thanks Petr for your reply. By incorrect I meant instead of the conventional > main.obj, we get main.cpp.obj. > I understood what you are saying. We have found a solution for this in our > cmake code. Good, so you've found a "solution" - to which, umm, I dare ask... "problem" exactly? :) > We have explicitly set the /Fo compiler flag for main.cpp. With that it > creates main.obj for main.cpp and also main.res for main.rc Why does this need some manual effort (and of manually adding a very specific compiler flag syntax, in fact!) when it ideally/normally/usually shouldn't, one would want to ask. Perhaps this "issue" is indicative of an asymmetric/incomplete mechanism or configuration in CMake or this specific CMake environment, which one might want to discover and fix, in order to have the need for any manual tweaking (in all sufficiently standard cases) avoided in all future deployments... Thanks, Andreas Mohr -- 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