> On Thursday 31 May 2007 14:29, Clinton Chau wrote:
> > I want to build both x64 and Win32 binaries from the same source tree
> and
> > the same CMakeLists.txt, merely by choosing the appropriate generator,
> > Visual Studio 2005 or Visual Studio 2005 Win64, for example. I'd like
> all
> > the build output binaries in the Win64 case, to be stored under a
> "Win64"
> > or "x64" directory.
> >
> > I can achieve this by modifying the CMakeLists.txt in each project
> > subdirectory and adding
> >
> > SET_TARGET_PROPERTIES(<TARGET> PROPERTIES PREFIX "Win64/")
> >
> >
> >
> > But I can't figure out a way of applying this prefix to all targets.
> 
> You can also set EXECUTABLE_OUTPUT_PATH , which applies to all
> executables "below" this point. Does this help ?

Alex, thanks for replying. It's not ideal for us to use EXECUTABLE_ AND 
LIBRARY_OUTPUT_PATH, just because we want to preserve the conventional 
directory structure of outputs from a Visual Studio project. It also won't work 
for us because we'd like to keep debug and release versions of the binaries 
simultaneously (though in different output directories).

Clinton

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to