On Tue, Jul 20, 2010 at 21:23, Bill Hoffman bill.hoff...@kitware.com wrote:
On 7/19/2010 11:10 PM, Emmanuel Christophe wrote:
Hi all,
I used to do parallel build for my nightly with ctest by putting
MAKECOMMAND:STRING=/usr/bin/make -i -j8
in my .cmake script.
On Tue, 2010-07-20 at 09:18 -0700, Alan W. Irwin wrote:
On 2010-07-20 17:12+0200 Michael Hertling wrote:
On 07/20/2010 03:26 AM, Alan W. Irwin wrote:
On 2010-07-20 00:51+0200 Michael Hertling wrote:
On 07/18/2010 10:14 PM, Alan W. Irwin wrote:
(1)
On 21. Jul, 2010, at 9:56 , Marcel Loose wrote:
On Tue, 2010-07-20 at 09:18 -0700, Alan W. Irwin wrote:
On 2010-07-20 17:12+0200 Michael Hertling wrote:
On 07/20/2010 03:26 AM, Alan W. Irwin wrote:
On 2010-07-20 00:51+0200 Michael Hertling wrote:
On 07/18/2010 10:14 PM, Alan W. Irwin
Hello.
I want to generate a simple Makefile from cmake.
This Makefile looks like this:
all:
@echo No build
tags:
ctags -R *.cpp
cscope -b -q -k *.cpp
This simple Makefile do not have target to build source code. It is only for
building ctags index and cscope db.
So it is not a
2010/7/21 sheissj shei...@gmail.com:
Hello.
I want to generate a simple Makefile from cmake.
This Makefile looks like this:
all:
@echo No build
tags:
ctags -R *.cpp
cscope -b -q -k *.cpp
This simple Makefile do not have target to build source code. It is only for
On 7/21/2010 6:23 AM, sheissj wrote:
Hello.
I want to generate a simple Makefile from cmake.
This Makefile looks like this:
all:
@echo No build
tags:
ctags -R *.cpp
cscope -b -q -k *.cpp
This simple Makefile do not have target to build source code. It is only
for building
I am guessing that this commit from Dec. 2009:
0b38bb4c535ae972d7f973e3e69945a6d0c14d75
to fix this bug:
http://public.kitware.com/Bug/view.php?id=2336
is related to your problem...
I would recommend updating your script to a new-style (since ctest 2.4 at
least) script that uses the
Hi,
I forgot to use quotes, but cmake doesn't make that obvious.
Shouldn't it return a better error message?
$ cat CMakeLists.txt
project(X T)
$ cmake .
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
I too would like the answer to this and other questions. I have been having
the same problem with CMake (among others)
How to build a project that contains multiple 3rd party sources where:
1) build of one package is dependent on the not yet installed install of a
dependency package where the
On 21. Jul, 2010, at 15:48 , Olaf van der Spek wrote:
Hi,
I forgot to use quotes, but cmake doesn't make that obvious.
Shouldn't it return a better error message?
$ cat CMakeLists.txt
project(X T)
$ cmake .
CMake Error: Error required internal CMake variable not set, cmake may
be
2010/7/21 Olaf van der Spek olafvds...@gmail.com:
Hi,
I forgot to use quotes, but cmake doesn't make that obvious.
Shouldn't it return a better error message?
$ cat CMakeLists.txt
project(X T)
If you read the documentation from the project command you read:
project(projectname
On Wed, Jul 21, 2010 at 4:03 PM, Eric Noulard eric.noul...@gmail.com wrote:
project(X T)
Which is not found :-)
Ah, didn't think project would accept a second parameter as language.
I'm not sure what you mean by I forgot to use quotes
It should've been project(X T)
Olaf
Hi,
http://www.itk.org/Wiki/CMake:CPackConfiguration
CPACK_PACKAGE_NAME: Package name, defaults to the project name.
I've got project(xbttracker) but it's still using Project as name.
What am I doing wrong?
$ make cpack
[100%] Built target xbt_tracker
CPack: Create package using DEB
CPack:
Hi,
I'm having trouble generating the Makefiles I want on Windows. I can't generate
Unix Makefiles because cmake fails to compile a simple program. But also
using generators that should be very much alike, NMake Makefiles and NMake
Makefiles JOM, the first will finish and the second will not.
Hi Dave,
Thanks for the information. I was not aware of the new ctest script
style: I got this from Luis when I set up the ITK nightly a while ago.
That's also what seems to appear on:
http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest
Do you have any pointer for the new-style ctest?
Thanks,
Brad,
Is this normal behaviour after all? Or at least intended?
Thanks,
Arjen
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
Of Verweij, Arjen
Sent: dinsdag 13 juli 2010 13:27
To: cmake@cmake.org
Subject: Re: [CMake] incremental build slow
Thanks Mike!
That work like a charm. I'm not sure why I overlooked that portion of the
user manual. Thanks for being patient.
-kt
-Original Message-
From: Michael Wild [mailto:them...@gmail.com]
Sent: Tuesday, July 20, 2010 2:00 PM
To: Kelly Thompson
Cc: cmake@cmake.org
On Wed, Jul 21, 2010 at 4:24 PM, Olaf van der Spek olafvds...@gmail.com wrote:
Hi,
http://www.itk.org/Wiki/CMake:CPackConfiguration
CPACK_PACKAGE_NAME: Package name, defaults to the project name.
I've got project(xbttracker) but it's still using Project as name.
What am I doing wrong?
My CreateDashboardScripts.cmake and DashboardScript.cmake.in located
in this repository might be a useful example - I also had a hard time
figuring out how to do the new-style script.
http://github.com/rpavlik/wiimote-head-tracker-gui/tree/master/cmake/
Ryan
On 7/21/2010 9:41 AM, Emmanuel
Hi Arjen,
This may be totally the wrong direction, but we have seen similar errors
that appear to be caused by resident programs that crawl the local
filesystem. Desktop search engines (Microsoft or Google) or anti-virus
software may try to open your build files (including temporary files)
On 21. Jul, 2010, at 16:53 , Olaf van der Spek wrote:
On Wed, Jul 21, 2010 at 4:24 PM, Olaf van der Spek olafvds...@gmail.com
wrote:
Hi,
http://www.itk.org/Wiki/CMake:CPackConfiguration
CPACK_PACKAGE_NAME: Package name, defaults to the project name.
I've got project(xbttracker) but
On Wed, Jul 21, 2010 at 5:00 PM, Michael Wild them...@gmail.com wrote:
On 21. Jul, 2010, at 16:53 , Olaf van der Spek wrote:
On Wed, Jul 21, 2010 at 4:24 PM, Olaf van der Spek olafvds...@gmail.com
wrote:
Hi,
http://www.itk.org/Wiki/CMake:CPackConfiguration
CPACK_PACKAGE_NAME: Package
Hi Kelly,
Thanks for your reply. To circumvent these issues we've taken a fresh Windows
XP VM and installed compilers cmake UnxUtils but nothing else. No special
environment variables clouding the view either :)
Regards,
Arjen
From: Kelly Thompson [mailto:k...@lanl.gov]
Sent: woensdag 21 juli
On 7/21/2010 10:41 AM, Emmanuel Christophe wrote:
Hi Dave,
Thanks for the information. I was not aware of the new ctest script
style: I got this from Luis when I set up the ITK nightly a while ago.
That's also what seems to appear on:
http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest
Do you
Hi,
At the moment the default package file name is like
xbt-tracker-0.1.1-Linux.deb.
Could this be changed to xbt-tracker_0.1.1_i386.deb?
Note the underscore instead of minus as field separator and the architecture.
Olaf
___
Powered by www.kitware.com
I can't help either (no Windows, see?) but I have one personal request (don't
know how others here think about this): Could you please turn off HTML emails?
Because
* it hurts my eyes (as in it's dead ugly)
* it doesn't respect my favorite font, text size, and quoting display style
* it is
Zitat von Olaf van der Spek olafvds...@gmail.com:
Hi,
At the moment the default package file name is like
xbt-tracker-0.1.1-Linux.deb.
Could this be changed to xbt-tracker_0.1.1_i386.deb?
Note the underscore instead of minus as field separator and the architecture.
Last time I looked at
On Wed, Jul 21, 2010 at 5:32 PM, Hendrik Sattler
p...@hendrik-sattler.de wrote:
Zitat von Olaf van der Spek olafvds...@gmail.com:
Hi,
At the moment the default package file name is like
xbt-tracker-0.1.1-Linux.deb.
Could this be changed to xbt-tracker_0.1.1_i386.deb?
Note the underscore
On Wed, Jul 21, 2010 at 5:39 PM, Droscy drosc...@yahoo.it wrote:
Hi Olaf,
Olaf van der Spek ha scritto:
Could this be changed to xbt-tracker_0.1.1_i386.deb?
I'm using the following code to obtain a correct debian-name
Looks good, but this should really be part of the generator.
Olaf
Hi Olaf,
Olaf van der Spek ha scritto:
Could this be changed to xbt-tracker_0.1.1_i386.deb?
I'm using the following code to obtain a correct debian-name
string(TOLOWER ${CPACK_PACKAGE_NAME} CPACK_PACKAGE_NAME_LOWERCASE)
find_program(DPKG_PROGRAM dpkg DOC dpkg program of Debian-based
On 2010-07-19 00:47+0200 Eric Noulard wrote:
import sys; print sys.version.split()[0] will not work with python 3 because
print is a function:
Hi Eric:
Thanks for that reminder about using the print function for python3
and also for giving me the hint about sys.version_info to avoid
trailing
On Wed, Jul 21, 2010 at 10:45 AM, Michael Xanadu
xanadu.mich...@googlemail.com wrote:
Hi Zack,
there's no VTK_DIR row in my CMake GUI. That's my problem. ;-)
Do you have the advanced option selected in the cmake-gui?
John
___
Powered by
I agree with Olaf. CMake needs better error reporting for parameter
checking on macros and functions
I ran into similar with use of:
http://www.cmake.org/Wiki/CMakeMacroParseArguments
where I elided the empty quotes and it was as though the macro/function
it was contained in did not exist as
On 2010-07-21 08:50-0700 Alan W. Irwin wrote:
To draw this subthread to a definite conclusion, here is what works
for me now to get python version for either python2 or python3.
softw...@raven python -c \
'import sys; print(%s.%s.%s % sys.version_info[0:3])'
2.6.5
softw...@raven python3 -c \
On 07/21/2010 10:32 AM, Verweij, Arjen wrote:
Is it normal for generators to be this picky?
The generators are testing and inspecting the toolchain.
Something is not building as expected so it reports the
problem up front rather than waiting for some subtle
error when building the main project.
2010/7/21 Olaf van der Spek olafvds...@gmail.com:
On Wed, Jul 21, 2010 at 5:39 PM, Droscy drosc...@yahoo.it wrote:
Hi Olaf,
Olaf van der Spek ha scritto:
Could this be changed to xbt-tracker_0.1.1_i386.deb?
I'm using the following code to obtain a correct debian-name
Looks good, but this
On 21. Jul, 2010, at 18:59 , Alan W. Irwin wrote:
On 2010-07-21 08:50-0700 Alan W. Irwin wrote:
To draw this subthread to a definite conclusion, here is what works
for me now to get python version for either python2 or python3.
softw...@raven python -c \
'import sys; print(%s.%s.%s %
Hello,
I'm using CMake 2.8.1, and have a problem on AIX similar to this one:
http://web.archiveorange.com/archive/v/5y7PkUbT6iizO31eshQa .
I have the additional complication of needing to build both 32 and 64
bit libraries from the same set of CMake files.
I've tried a number of things (list
Kelly,
I suffer from the same problem and solved it like this:
SET(CMAKE_C_ARCHIVE_CREATE CMAKE_AR -X64 cr TARGET LINK_FLAGS OBJECTS)
SET(CMAKE_C_ARCHIVE_APPEND CMAKE_AR -X64 r TARGET LINK_FLAGS OBJECTS)
SET(CMAKE_C_ARCHIVE_FINISH CMAKE_RANLIB -X64 TARGET)
SET(CMAKE_CXX_ARCHIVE_CREATE
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On
Behalf Of Verweij, Arjen
Sent: Wednesday, July 21, 2010 3:43 PM
To: cmake@cmake.org
Subject: Re: [CMake] how to set ar/ranlib flags per target
Kelly,
I suffer from the same problem and solved
Hi,
The generators are testing and inspecting the toolchain.
Something is not building as expected so it reports the
problem up front rather than waiting for some subtle
error when building the main project.
OK.
NMake Makefiles JOM
[snip]
-- FIXME: altered Windows.cmake for debugging
Well the thread you reference asks the TS to submit a bug in Mantis. Was such a
bug ever submitted?
I did a quick check and I can't find one using several queries.
No other ideas for fixing your problem except for wrapping add_library to
include 32/64 bit argument.
Regards,
Arjen
Due to ABI differences, over the years we have
installed libraries under subdirs named after the
compiler group (gcc, xlc, ...). For this we need
to figure out what compiler might be inside a compiler
wrapper (like CC on the cray, whatever in mpicc, etc.)
Are there general strategies or modules
Hi,
I use CPack in my project to build binary packages as an alternative to `make
install`. However, I am interested in getting my project to automatically
detect which packages to build.
Currently I have TGZ set and then require the user to pass the appropriate
parameter to `cmake` (such as
Hi,
I am trying to do cross-compiling with CMake for IAR compiler (ARM).
My main problem with the current CMake 2.8.2 is the complain about -c option
from IAR compiler. IAR compiler does not accept -c as input C file and the
sysntax is CC filename.c [options]. How can I tell CMake not to put
On 07/21/2010 10:26 AM, Michael Wild wrote:
On 21. Jul, 2010, at 9:56 , Marcel Loose wrote:
On Tue, 2010-07-20 at 09:18 -0700, Alan W. Irwin wrote:
On 2010-07-20 17:12+0200 Michael Hertling wrote:
On 07/20/2010 03:26 AM, Alan W. Irwin wrote:
On 2010-07-20 00:51+0200 Michael Hertling
On 07/21/2010 10:46 PM, Hickel, Kelly wrote:
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On
Behalf Of Verweij, Arjen
Sent: Wednesday, July 21, 2010 3:43 PM
To: cmake@cmake.org
Subject: Re: [CMake] how to set ar/ranlib flags per target
Kelly,
47 matches
Mail list logo