2013/4/10 Stephen Kelly <[email protected]> > Stephen Kelly wrote: > > > So, how is the target 32bit/64bit determined? An option to cmake at cmake > > time? > > It seems to be determined by the generator: > > > http://stackoverflow.com/questions/3785976/cmake-generate-visual-studio-2008-solution-for-win32-and-x64 >
I was about to say so. Try git grep Win64 in the CMake source tree. You'll see that as well. > I'll figure out a way to determine that in the ctest_testcase.prf file and > set the 64 bit version. > check were "CMAKE_GENERATOR" variable is setup. It is then used at line 73 of https://qt.gitorious.org/qt/qtbase/blobs/HEAD/mkspecs/features/ctest_testcase.prf cmake $$_PRO_FILE_PWD_ $$CMAKE_GENERATOR \ $$CMAKE_MODULE_DEFINES \ ... > Thanks, > > Steve. > > > > > -- > > 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers > -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org
-- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
