Hello all,
I've been working on getting cmake set up in our dev environment for cross
platform builds and am running into some (one, primarily) issues.
In general, our source tree looks like this:
project Folder A
\
code folder for (static lib) project A-1
|
code folder for (stat
I have my CMake build, test and install working on Linux, and now I'm trying to
get it to build on Windows.
On Windows XP SP3, I have installed:
CMake 2.8.2
Virtual Studio Express 9 and 10
CMake Configure and Generate for either Virtual Studio 9 or 10 run without
error.
In VS, I open t
On 8/5/10 6:22 PM, Eric Noulard wrote:
> 2010/8/6 Chris Wolf :
>>
>> Unfortunately, at first, I din't see how your example is different from
>> the parts of my CMakeList.txt I sent in my last post.
>>
>> Then I noticed that your "install(TARGETS..." command had a relative
>> path for "DESTINATION
2010/8/4 Kishore :
> On Monday 02 Aug 2010 4:59:47 pm Eric Noulard wrote:
>> Hi All,
>>
>> I did add a patch for the "multiple file problem"
>> http://public.kitware.com/Bug/view.php?id=10736
>>
>> May be interested people can have a try and comment
>> this patch.
>>
>> It adds the possibility for
2010/8/3 Eric Noulard :
> 2010/8/3 David Cole :
>> On Mon, Aug 2, 2010 at 6:57 PM, Eric Noulard wrote:
>
>>>
>>> 2. may always be an option because it was the behavior we had before the
>>> component support and ALL CPack generator may handle an all-in-one
>>> package.
>>> We could add an OPTION l
Hi All,
I wrote a little c++ program that gets the date and time from the
system. It just returns a UTC time: "/mm/dd hhm:ss UTC". Works in
Linux, Windows, MAC-OS but does use iostream and ctime.
Then I have this in my CMake file:
#-
2010/8/6 Chris Wolf :
>
> Unfortunately, at first, I din't see how your example is different from
> the parts of my CMakeList.txt I sent in my last post.
>
> Then I noticed that your "install(TARGETS..." command had a relative
> path for "DESTINATION", whereas mine had an absolute path. When
> I c
2010/8/5 Alexander Neundorf :
> On Thursday 05 August 2010, Magnus Therning wrote:
>> On Thu, Aug 5, 2010 at 10:39, Eric Noulard wrote:
> ...
>> > What is your usage pattern?
>>
>> We ship most of our sources as source RPMs since most of our changes are
>> added patches to upstream (CentOS) RPMs.
On 8/5/10 5:15 PM, Olaf van der Spek wrote:
> On Thu, Aug 5, 2010 at 11:06 PM, Chris Wolf wrote:
>> I'm looking all over for an end-to-end basic example of using CPack
>> to create a package with a single shared library target. It can
>> even be with the TGZ generator.
>
> cmake_minimum_requir
On 05.08.10 17:05:46, David Cole wrote:
> On Thu, Aug 5, 2010 at 2:29 PM, Andreas Pakulat wrote:
> > we're currently hitting what looks like a dependency problem with CMake
> > and a custom-command. Unfortunately I couldn't reproduce this so far
> > with a small example and it also only happens wi
On Thu, Aug 5, 2010 at 11:06 PM, Chris Wolf wrote:
> I'm looking all over for an end-to-end basic example of using CPack
> to create a package with a single shared library target. It can
> even be with the TGZ generator.
cmake_minimum_required(VERSION 2.4)
set(CMAKE_BUILD_TYPE release)
include_d
I have a CMake 2.8.2 based project that is using Bullseye Coverage and
Visual Studio 10 along with CTest on Windows 7 64bit. This project is
reporting building/testing/coverage results to a local CDash server. If I
use Bullseye 7.14.0 the coverage results shown in CDash show decorated
source wi
I'm looking all over for an end-to-end basic example of using CPack
to create a package with a single shared library target. It can
even be with the TGZ generator.
I already checked these pages:
http://www.cmake.org/cmake/help/cpack-2-8-docs.html#see:FrequentlyAskedQuestions
http://www.itk.org/W
On Thu, Aug 5, 2010 at 2:29 PM, Andreas Pakulat wrote:
> Hi,
>
> we're currently hitting what looks like a dependency problem with CMake
> and a custom-command. Unfortunately I couldn't reproduce this so far
> with a small example and it also only happens with one of the targets
> we're building
Do you need to set the sourcefile property GENERATED to true? (I'd think
that would be automatic, but worth a try.)
Ryan
On Thu, Aug 5, 2010 at 1:29 PM, Andreas Pakulat wrote:
> Hi,
>
> we're currently hitting what looks like a dependency problem with CMake
> and a custom-command. Unfortunatel
Today is my first time messing with CMake, so I don't have any prior
versions.
Well, I was reading this page:
http://www.cmake.org/Wiki/CMake:How_To_Write_Platform_Checks
because I wanted to use:
INCLUDE (CheckIncludeFiles)
This page has the following paragraph:
Additionally to the builti
On 05/08/10 20:25, Alexander Neundorf wrote:
> On Thursday 05 August 2010, Magnus Therning wrote:
>> On Thu, Aug 5, 2010 at 10:39, Eric Noulard
>> wrote:
> ...
>>> What is your usage pattern?
>>
>> We ship most of our sources as source RPMs since most of our changes are
>> added patches to upstrea
On Thu, Aug 5, 2010 at 9:25 PM, Alexander Neundorf
wrote:
> Somehow I don't really understand how a source RPM or source deb generator
> would make sense for CPack.
> E.g. a source deb is the plain source package, plus an optional patch, plus a
> file which describes how to build it.
> IMO the pat
On Thursday 05 August 2010, Magnus Therning wrote:
> On Thu, Aug 5, 2010 at 10:39, Eric Noulard wrote:
...
> > What is your usage pattern?
>
> We ship most of our sources as source RPMs since most of our changes are
> added patches to upstream (CentOS) RPMs.
>
> It is just nice to also ship the so
How are you running cmake? I've used the installer from the web site on my
mac, and it works fine both from the GUI and the command line, and I did not
have to move/link the modules. Is it possible that you have some other
version of cmake installed (from macports, fink, or brew?)? Try removing
I already searched around and found this answer:
http://www.mail-archive.com/cmake@cmake.org/msg04790.html
...however, there is NO such directory, " /usr/share/cmake*" on my system.
(nor "/usr/local/share/cmake*")
I tried to investigate:
$ cd /Library/Receipts/cmake-2.8.2-Darwin-universal.pkg/C
Hi,
we're currently hitting what looks like a dependency problem with CMake
and a custom-command. Unfortunately I couldn't reproduce this so far
with a small example and it also only happens with one of the targets
we're building in kdevplatform. This code was recently added, but looks
the same as
Hi,
I have in my repository N projects/packages, that depend on each other.
E.g. project 1 found with find_package( wxDocview ), needs to build
first, before i can do project2.
I can not generate all at once all cmake binary project files, since the
project2, call find_package on project 1.
S
On 08/05/2010 10:42 AM, David Cole wrote:
Shouldn't that be this?
add_custom_command(OUTPUT test_diagnostics_get_mean.icc
COMMAND python test_diagnostics_crosscheck.py
DEPENDS test_diagnostics_crosscheck.py)
add_executable(test_diagnostics test_diagnostics.cc
test_diagnostics_get_mean.ic
Shouldn't that be this?
add_custom_command(OUTPUT test_diagnostics_get_mean.icc
COMMAND python test_diagnostics_crosscheck.py
DEPENDS test_diagnostics_crosscheck.py)
add_executable(test_diagnostics test_diagnostics.cc
test_diagnostics_get_mean.icc)
FYI, add_dependencies is only used to esta
I cannot get the following simple build process to work. I must be
missing something.
I build a (test) executable test_diagnostics, which depends on a source
file test_diagnostics.cc and a generated file
test_diagnostics_get_mean.icc. I generate the latter with
python test_diagnostics_cr
On Thu, Aug 5, 2010 at 10:39, Eric Noulard wrote:
> 2010/8/5 Magnus Therning :
>> I'm currently using CPack to build binary RPMs, is there a way to also
>> generate a source RPM?
>
> Not yet...with CPackRPM.
>
> Building a source RPM with CMake/CPack is not as easy as building a
> binary RPM. Bec
On 08/05/2010 03:28 AM, Dennis Schridde wrote:
On Monday 02 August 2010 17:20:36 Dennis Schridde wrote:
Replacing
".framework" with "\\.framework" works.
Was this change already
commited?
I.e. is the problem solved in the sources now?
Yes, it is in git, but its still waiting for
On Thu, Aug 5, 2010 at 9:46 AM, Jean-Christophe Fillion-Robin <
jchris.filli...@kitware.com> wrote:
> hi Folks,
>
> Earlier in the day, somebody asked me how he could obtain "today date"
> using cmake.
> I replied there was no direct way to obtain the date and I told him to use
> a macro I wrote.
On 5. Aug, 2010, at 15:46 , Jean-Christophe Fillion-Robin wrote:
> hi Folks,
>
> Earlier in the day, somebody asked me how he could obtain "today date" using
> cmake.
> I replied there was no direct way to obtain the date and I told him to use a
> macro I wrote.
> See
> http://viewvc.slicer.org/
hi Folks,
Earlier in the day, somebody asked me how he could obtain "today date" using
cmake.
I replied there was no direct way to obtain the date and I told him to use a
macro I wrote.
See
http://viewvc.slicer.org/viewcvs.cgi/trunk/CMake/Slicer3TodayMacro.cmake?rev=11898&view=log
Is there a bett
Ah yes, I always keep forgetting that you have to get the \ past the CMake
parser... :-(
Sorry for the noise.
Michael
On 5. Aug, 2010, at 12:07 , David Cole wrote:
> No, he's right. "\\." when used in a CMake string(REGEX operation matches a
> single dot exactly. The "\\" is required to get a
On Thursday 05 August 2010 11:39:00 Michael Wild wrote:
> On 5. Aug, 2010, at
11:28 , Dennis Schridde wrote:
> > On Monday 02 August 2010 17:20:36 Dennis
Schridde wrote:
> >> Replacing
> >
> > ".framework" with "\\.framework"
works.
> > Was this change already
> > commited?
> > I.e. is the problem
No, he's right. "\\." when used in a CMake string(REGEX operation matches a
single dot exactly. The "\\" is required to get a single "\" into the
regular expression engine.
On Thu, Aug 5, 2010 at 5:39 AM, Michael Wild wrote:
>
> On 5. Aug, 2010, at 11:28 , Dennis Schridde wrote:
>
> > On Monday
2010/8/5 Magnus Therning :
> I'm currently using CPack to build binary RPMs, is there a way to also
> generate a source RPM?
Not yet...with CPackRPM.
Building a source RPM with CMake/CPack is not as easy as building a
binary RPM. Because currently the spec file used to build a binary RPM
is a "s
On 5. Aug, 2010, at 11:28 , Dennis Schridde wrote:
> On Monday 02 August 2010 17:20:36 Dennis Schridde wrote:
>> Replacing
> ".framework" with "\\.framework" works.
> Was this change already
> commited?
> I.e. is the problem solved in the sources now?
>
> --Dennis
IMHO this is wrong. \\. search
On Monday 02 August 2010 17:20:36 Dennis Schridde wrote:
> Replacing
".framework" with "\\.framework" works.
Was this change already
commited?
I.e. is the problem solved in the sources now?
--Dennis
signature.asc
Description: This is a digitally signed message part.
_
I'm currently using CPack to build binary RPMs, is there a way to also
generate a source RPM?
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
_
38 matches
Mail list logo