Alexander Neundorf wrote:
On Friday 24 August 2007 10:51, Matthew Woehlke wrote:
Ok, so if I understand...
a: the reason it doesn't work in 2.4.6 is because I didn't specify the
type.
b: this is fixed in CVS
Right?
Yes.
But since this changes the behaviour, this won't be in any 2.4.x relea
Alexander Neundorf schrieb:
> On Friday 24 August 2007 15:02, you wrote:
macro(ADD_SUBDIRECTORIES dirlist)
set(prefix " + ")
MESSAGE(STATUS "add_subdirectories: ${ARGN}")
foreach(subdir ${dirlist})
MESSAGE(STATUS "${prefix}${subdir}")
add_subdirectory(${s
On Friday 24 Aug 2007 11:43:12 pm kitts wrote:
> On Friday 24 Aug 2007 9:41:26 pm James Bigler wrote:
> > >> Code is organized as;
> > >> src/common
> > >> src/project1
> > >> src/project2
> > >>
> > >> The CMakeLists.tst files are located inside for each project which
> > >> sets the right compile
>> >> macro(ADD_SUBDIRECTORIES dirlist)
>> >> set(prefix " + ")
>> >> MESSAGE(STATUS "add_subdirectories: ${ARGN}")
>> >> foreach(subdir ${dirlist})
>> >> MESSAGE(STATUS "${prefix}${subdir}")
>> >> add_subdirectory(${subdir})
>> >> endforeach(subdir ${dirlist})
>> >> endmacro(ADD_SU
On Friday 24 Aug 2007 9:41:26 pm James Bigler wrote:
> >> Code is organized as;
> >> src/common
> >> src/project1
> >> src/project2
> >>
> >> The CMakeLists.tst files are located inside for each project which sets
> >> the right compiler and sources to be built. Now i want common to be
> >> include
On Friday 24 August 2007 13:24, ope wrote:
...
> macro(ADD_SUBDIRECTORIES dirlist)
> set(prefix " + ")
> MESSAGE(STATUS "add_subdirectories: ${ARGN}")
> foreach(subdir ${dirlist})
> MESSAGE(STATUS "${prefix}${subdir}")
> add_subdirectory(${subdir})
> endforeach(subdir ${dirlist})
>
Hi,
I wrote a macro for use as:
collect_subproject_directory_names("${CMAKE_SOURCE_DIR}/extra"
EXTRA_PROJECT_DIRS)
message(STATUS "Adding ${EXTRA_PROJECT_DIRS}")
add_subdirectories(${EXTRA_PROJECT_DIRS})
where
$ ls -1 extra
boost
CMakeLists.txt
est
threadpool
and the macros self:
macro(COLLEC
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Aug 24, 2007, at 10:48 AM, kitts wrote:
On Thursday 23 Aug 2007 3:53:41 pm kitts wrote:
Anyway, I have a new set of projects and my current problem is
that i have
some code that i share between proj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi again,
I've managed to get it working, with the help of post
http://www.cmake.org/pipermail/cmake/2005-July/007009.html
Here's the macro:
-
#
# QT3 Macro for embedding image files into source
#
# EMBED_TARGET = binary to link to, i.e. sbvd_
kitts wrote:
On Thursday 23 Aug 2007 3:53:41 pm kitts wrote:
Anyway, I have a new set of projects and my current problem is that i have
some code that i share between projects. Once source can be shared not
binaries.
Code is organized as;
src/common
src/project1
src/project2
The CMakeLists.tst
On Friday 24 August 2007 10:51, Matthew Woehlke wrote:
> Alexander Neundorf wrote:
> > On Thursday 23 August 2007 18:49, Alan W. Irwin wrote:
> >> On 2007-08-23 16:29-0500 Matthew Woehlke wrote:
> >>> If I set up a build dir with 'cmake -DCMAKE_MODULE_PATH=
> >>> ', I find that 'make' in the build
On 24/08/07, kitts <[EMAIL PROTECTED]> wrote:
> On Thursday 23 Aug 2007 3:53:41 pm kitts wrote:
> > Anyway, I have a new set of projects and my current problem is that i have
> > some code that i share between projects. Once source can be shared not
> > binaries.
> >
> > Code is organized as;
> > s
Alexander Neundorf wrote:
On Thursday 23 August 2007 18:49, Alan W. Irwin wrote:
On 2007-08-23 16:29-0500 Matthew Woehlke wrote:
If I set up a build dir with 'cmake -DCMAKE_MODULE_PATH=
', I find that 'make' in the build dir, when cmake needs to
be re-run (IIRC 'cmake .' has the same problem) w
On Thursday 23 Aug 2007 3:53:41 pm kitts wrote:
> Anyway, I have a new set of projects and my current problem is that i have
> some code that i share between projects. Once source can be shared not
> binaries.
>
> Code is organized as;
> src/common
> src/project1
> src/project2
>
> The CMakeLists.t
On Wednesday 22 August 2007 09:35, Robert Bielik wrote:
> Hi all,
>
> Just looking into using CPack for generating our installation scripts. On
> Windows I can see only NSIS, are there any efforts towards generating an
> XML for WiX (so that a .msi file can be created)?
No, but as Eric pointed out
Alexander Neundorf wrote:
On Friday 24 August 2007 04:48, Andreas Pakulat wrote:
On 24.08.07 11:02:02, Dizzy wrote:
My project in the install phase copies some configuration files. These
files are originally using UNIX line endings (we are doing main
development on UNIX plus SVN likes to keep t
On Friday 24 August 2007 07:41, Tim Schooley wrote:
> Hi folks,
>
> I've recently ported my project to CMake from standard Makefiles, but
> missed a vital point (only just noticed by running the damn thing!).
>
> I've looked around, but can't find the answer: How to I embed images
> into QT3 apps w
On Friday 24 August 2007 04:48, Andreas Pakulat wrote:
> On 24.08.07 11:02:02, Dizzy wrote:
> > My project in the install phase copies some configuration files. These
> > files are originally using UNIX line endings (we are doing main
> > development on UNIX plus SVN likes to keep them that way).
>
On Thursday 23 August 2007 18:49, Alan W. Irwin wrote:
> On 2007-08-23 16:29-0500 Matthew Woehlke wrote:
> > If I set up a build dir with 'cmake -DCMAKE_MODULE_PATH=
> > ', I find that 'make' in the build dir, when cmake needs to
> > be re-run (IIRC 'cmake .' has the same problem) will then fail be
Matthias Fechner wrote:
> ADD_CUSTOM_TARGET(bar.tex
> bash -c "echo hi>${FOO_BINARY_DIR}/diro/bar.tex"
> VERBATIM)
sry typo in email, in the file I have:
ADD_CUSTOM_TARGET(bar.tex
bash -c "echo hi>${FOO_BINARY_DIR}/dir/bar.tex"
VERBATIM)
Best regards,
Matthias
--
"Programming today is
Hi Eric,
Eric Noulard wrote:
> Did you try add
> ADD_DEPENDENCIES(pdf GNUPLOTs)
I tried with Jack together several combinations but we had problems at
the time we moved some of the maindir into a subdir.
I reduced the problem now to a very simple one, everyone can try it.
Create a directory, touc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I've recently ported my project to CMake from standard Makefiles, but
missed a vital point (only just noticed by running the damn thing!).
I've looked around, but can't find the answer: How to I embed images
into QT3 apps with CMake ? The M
2007/8/24, Dizzy <[EMAIL PROTECTED]>:
> On Friday 24 August 2007 13:04:15 Jack Kelly wrote:
> > Dizzy wrote:
> >
> > You shouldn't have to do any escaping. Use
> >
> > CONFIGURE_FILE(${SOURCEFILE} ${DESTFILE} COPYONLY)
>
> Thanks for the hint. This should solve my existent problem but it's not a go
On Friday 24 August 2007 13:04:15 Jack Kelly wrote:
> Dizzy wrote:
> > Thanks for the idea. I could use as a workarround configure_file() in
> > some way or another but then I still need one more issue solved. How to
> > escape "${variable}" strings in a input to configure_file() so that it
> > doe
2007/8/24, Robert Bielik <[EMAIL PROTECTED]>:
> Is CPack anything that is "alive"? The lack of responses makes me feel
> "not"... (?)
Yes it is.
At least many of us are using CPack.
Mathieu did contribute DEB (Debian) package generator recently merged into CVS
I did some work for an RPM package g
2007/8/22, Matthias Fechner <[EMAIL PROTECTED]>:
> Hi Jack,
>
> Jack Kelly wrote:
> > INCLUDE(AddFileDependencies)
> > and then
> > ADD_FILE_DEPENDENCIES(${CMAKE_BINARY_DIR}/path/to/your/pdf
> > ${CMAKE_BINARY_DIR}/path/to/your/gnuplot/output)
>
> thx for your answer.
> I tried now several combinat
Dizzy wrote:
Thanks for the idea. I could use as a workarround configure_file() in some way
or another but then I still need one more issue solved. How to
escape "${variable}" strings in a input to configure_file() so that it
doesn't try to do variable replacement on the placeholder? (this shou
On Friday 24 August 2007 12:25:47 Jack Kelly wrote:
> Dizzy wrote:
> > To solve this in automake I just created some dummy "_dir"
> > variables that automake interpreted and created those empty directories
> > on install. I would like to know if there is something similar for cmake,
> > thank you!
On Friday 24 August 2007 12:30:58 Andreas Pakulat wrote:
> On 24.08.07 12:08:34, Dizzy wrote:
> > On Friday 24 August 2007 11:48:27 Andreas Pakulat wrote:
> > > Alternatively you could let your program be intelligent enough to guess
> > > the lineending by checking wether its \r\n or just \n and ad
On 24.08.07 12:08:34, Dizzy wrote:
> On Friday 24 August 2007 11:48:27 Andreas Pakulat wrote:
> > Alternatively you could let your program be intelligent enough to guess
> > the lineending by checking wether its \r\n or just \n and adjust the
> > reading of the conf files apropriately.
>
> The pro
Dizzy wrote:
On install I would need cmake to portably create some empty directories that
do not exist in the source. INSTALL(DIRECTORY...) just copies an existent
structure in my case that structure does not exists. I know I could probably
search for some external mkdir command and use it but
On Friday 24 August 2007 11:48:27 Andreas Pakulat wrote:
> You can have a different lineending on the working copy really easily by
> using svn:eol-style property (on each file where you want it). That way
> you could checkout on win32 and automatically get win32-lineendings for
> those files that
On 24.08.07 11:02:02, Dizzy wrote:
> My project in the install phase copies some configuration files. These files
> are originally using UNIX line endings (we are doing main development on UNIX
> plus SVN likes to keep them that way).
Right, SVN internally always stores text files with only \n a
Hi,
Try that:
if platform.platform(True, True) == "Windows-XP":
p1 = subprocess.Popen( ['cmake', '-DCMAKE_INSTALL_PREFIX=' +
installDir, '-DCMAKE_TOOLCHAIN_FILE=' + toolChainFile, '-G', generator,
'-DCMAKE_BUILD_TYPE=' + buildType, sourceDir], shell=True )
else:
p1 = subprocess.
Hello
(Sorry for the mailing list spam I should have asked about this too in the
previous mail)
On install I would need cmake to portably create some empty directories that
do not exist in the source. INSTALL(DIRECTORY...) just copies an existent
structure in my case that structure does not ex
Hello
My project in the install phase copies some configuration files. These files
are originally using UNIX line endings (we are doing main development on UNIX
plus SVN likes to keep them that way). However, when installing on Win32 (or
other platform with different line endings) it would be n
36 matches
Mail list logo