Why do you think this is incorrect? Either $(Configuration) or $(IntDir) should be acceptable locations for obj files...
On Sun, Sep 26, 2010 at 11:40 AM, J Decker <[email protected]> wrote: > this is the sample cmakelists that causes bad output... > > -------------- > > cmake_minimum_required(VERSION 2.8) > > project( launchpad ) > set(BASE_SOURCES launchpad.c launchpad.rc ) > add_executable(${PROJECT_NAME} WIN32 ${BASE_SOURCES} ) > > ------------- > > the 'Output File Name' property in visual studio is ... > <ObjectFileName>$(Configuration)/launchpad.c.obj</ObjectFileName> > Normally this is just $(IntDir) > > but some reason because I have a resource and a source file the same > name the output file is different? > > and even if it was... it should still be $(IntDir)/launchpad.c.obj ( > I guess so I can have launchpad.c.obj and launchpad.cpp.obj and > launchpad.rc.obj ?) > > > Also if I have another project like... > ----- > project( launchpad2 ) > set(BASE_SOURCES launchpad.c ) # no resources > add_executable(${PROJECT_NAME} WIN32 ${BASE_SOURCES} ) > ----- > > the output file of this also becomes $((Configuration)/launchpad.c.obj > _______________________________________________ > 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 >
_______________________________________________ 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
