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} )
> add_librar
While I don't think you can group a set of targets into a folder in VS
you _can_ add the headers into the folders of each target so that they
show up in each VS project within the solution file.
Two things are needed: 1) Add the headers to the target and 2) use the
"source_group" command t
Hello,
The following pertains to Visual Studio 2008 (FWIW) and a very recent
(not sure exactly which) build of cmake.
Firstly, I'm a big cmake fan. We had lots of discussions where I work
on which tool to move to. We trialled scons and others and settled on
cmake.
Thanks for the great tool. :)
I
Torsten Martinsen a écrit :
On a related note, is it possible to use variables as an argument to the
SOURCE_GROUP command? I.e. something like
SOURCE_GROUP("Generated Header Files"
FILES
${UIC_HEADERS}
)
Yes of course you can do this, just try it :-)
-Sylvain
_
On 7/24/07, Brandon Van Every wrote:
>> How can I emulate "Add folder" MSVS functionality with CMake? I want
to be
>> able to add a folder without adding another executable or anything
like
>> that.
>
> Are you looking for something that shows up in the MSVS Solution
> Explorer? Perhaps you want
On 7/24/07, Sergei Riaguzov <[EMAIL PROTECTED]> wrote:
Hi!
How can I emulate "Add folder" MSVS functionality with CMake? I want to be
able to add a folder without adding another executable or anything like
that.
Are you looking for something that shows up in the MSVS Solution
Explorer? Perhap
See the cmake function SOURCE_GROUP (search for other messages regarding
this function on this mailing list)...
C:\>"C:\Program Files\CMake 2.4\bin\cmake.exe" --help-command SOURCE_GROUP
cmake version 2.4-patch 7
SOURCE_GROUP
Define a grouping for sources in the makefile.
SOURCE_G
On 2007-07-24 15:49+0200 Sergei Riaguzov wrote:
Hi!
How can I emulate "Add folder" MSVS functionality with CMake? I want to be
able to add a folder without adding another executable or anything like
that.
Try FILE(MAKE_DIRECTORY ...
On Linux that makes a directory at cmake time so I presume
Hi!
How can I emulate "Add folder" MSVS functionality with CMake? I want to be
able to add a folder without adding another executable or anything like
that.
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake