Re: [CMake] Visual Studio folders

2009-02-15 Thread Armin Berres
On Sun, 15 Feb 09 15:15, Michael Jackson wrote: Two things are needed: 1) Add the headers to the target and 2) use the source_group command to group them together. This should work. set(LIB1_SRCS MyLibrary1.h MyLibrary1.cpp ) source_group(Library1 FILES ${LIB1_SRCS} )

Re: [CMake] CMake, Visual studio 2005 and long relative path

2009-01-12 Thread Armin Berres
On Mon, 12 Jan 09 16:15, Andrew Maclean wrote: Reading on further: The Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of 32,767 characters. This type of path is composed of components separated by backslashes,

Re: [CMake] CMake, Visual studio 2005 and long relative path

2009-01-10 Thread Armin Berres
On Thu, 08 Jan 09 14:56, Julien Michel wrote: Dear CMake users and developpers, My project is using cmake and I am trying to build it on Visual Studio 2005. The configuration process is successful, but when trying to compile, I have a long bunch of fatal C1083 error : fatal error C1083:

Re: [CMake] ALL_BUILD and ZERO_CHECK

2008-11-24 Thread Armin Berres
On Sat, 22 Nov 08 12:47, Philip Lowman wrote: On Sat, Nov 22, 2008 at 8:12 AM, Armin Berres [EMAIL PROTECTED]wrote: PS: What I'd reallylike to know is if it is possible to prevent the creation of the Source/Header folders. With source groups it is just possible to put files

Re: [CMake] ALL_BUILD and ZERO_CHECK

2008-11-24 Thread Armin Berres
On Mon, 24 Nov 08 08:38, Philip Lowman wrote: Works for me. Puts files in the root of the bar project: PROJECT(foo) SOURCE_GROUP( FILES bar.h bar.cc) ADD_EXECUTABLE(bar bar.h bar.cc) Ah, ok. What I am trying is more or less the following: PROJECT(foo) source_group( REGULAR_EXPRESSION

Re: [CMake] ALL_BUILD and ZERO_CHECK

2008-11-22 Thread Armin Berres
On Fri, 21 Nov 08 23:44, Robert Dailey wrote: Hi, Is there a purpose for these 2 projects? They are generated when I run: cmake -G Visual Studio 9 2008 ZERO_CHECK will rerun cmake. You can/should execute this after changing something on your CMake files. ALL_BUILD is simply a target which

Re: [CMake] Customizing target locations with VS generator

2008-09-21 Thread Armin Berres
On Wed, 17 Sep 08 12:28, cyril_wobow wrote: This is great but I would really love to find a way to remove that $(OutDir) from the way, so that all my targets are put into the same directory, not depending on the build config. There is no possible filename clash since all my targets have