2009/3/13 Denis Scherbakov denis_scherba...@yahoo.com:
As I already wrote, my problem is that IF ( NOT MICO_FOUND ) code is
executed too early - during compilation by cmake, not when user types gmake
puts and it becomes clear that MICO is needed.
That's the expected behavior, because CMake
2009/3/13 Eric Noulard eric.noul...@gmail.com:
My statement was ambiguous:
cmake -DBUILD_PRINTF:BOOL=OFF
The previous line is meant to avoid building the PRINTF project
while...
in this case the default is to build both.
The default value of options
BUILD_PRINTF
BUILD_PUTS
is to build
2009/3/13 Denis Scherbakov denis_scherba...@yahoo.com:
Eric,
Your solution requires a developer to know too much about the project, which
is not always true and basically to answer a full-scale questionnaire before
compilation. What if it is a new developer?
If it is not a developer there
2009/3/13 Maik Beckmann beckmann.m...@googlemail.com:
Brad King schrieb am Freitag 13 März 2009 um 16:51:
Actually, I cannot tell from a quick glance at the code how it ignores
'USE' keywords that appear after a ';' separator. It does not ignore
'MODULE' after ';'. Maik?
If a piece of code
2009/3/16 Matthew Woehlke mw_tr...@users.sourceforge.net:
Eric Noulard wrote:
2009/2/26 Alex Flint alex.fl...@gmail.com:
Hi there,
I've noticed that when I run make blah then the makefile is
automatically re-generated if I've changed anything in CMakeLists.txt
since the last time I built
2009/3/17 jessepe...@gmail.com:
I looked around for precompiled header support and couldn't figure out
how/if it works for intel compilers.
The links such as: http://www.mail-archive.com/cmake@cmake.org/msg05456.html
appear to be pretty MSVC centric and I don't think the stdafx.cpp approach
2009/3/18 Stephen Collyer scoll...@netspinner.co.uk:
I've been trying to use CPack to generate an RPM package with cmake 2.6.2.
I have the following trivial CMakeLists.txt:
PROJECT(PRINT)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
ADD_LIBRARY(print
2009/3/19 Marcel Loose lo...@astron.nl:
Hi all,
I've been searching for a way to implement make check the GNU
Autotools way. That is: tests are not compiled and linked as part of the
all target, but as part of the check target.
I followed section 10.5 Using CTest to Drive Complex Tests of
2009/3/19 Marcel Loose lo...@astron.nl:
Hi Eric,
I used make test first, but that failed the same way ctest fails.
However, ctest -V at least gave me some more (useful) output.
You are right there is no functional difference,
in one case you'll have
make test -- ctest -- ctest
and in the
Re-transfer,
I did dropped the list
-- Forwarded message --
From: Eric Noulard eric.noul...@gmail.com
Date: 2009/3/19
Subject: Re: [CMake] controlling which instantiations to make for
given templates
To: Hicham Mouline hic...@mouline.org
2009/3/19 Hicham Mouline hic
2009/3/20 Marcel Loose lo...@astron.nl:
Hi Erk,
On Thu, 2009-03-19 at 15:37 +0100, Eric Noulard wrote:
2009/3/19 Marcel Loose lo...@astron.nl:
Hi Eric,
I used make test first, but that failed the same way ctest fails.
However, ctest -V at least gave me some more (useful) output.
You
2009/3/20 Philip Lowman phi...@yhbt.com:
On Thu, Mar 19, 2009 at 11:18 PM, Michael Jackson
mike.jack...@bluequartz.net wrote:
I am trying to find a nice portable solution for generating version
strings based on the date (seems reasonable). I even have my own c++ code
that can generate the
2009/3/20 Marcel Loose lo...@astron.nl:
Because you ask for it :-)
when calling ctest in add_test.
Ok, I see.
But how then, should I read the example from section 10.5 from the
Mastering CMake book? Here's a quote from page 167.
qoute
For example, consider the following ADD_TEST command
2009/3/20 Marcel Loose lo...@astron.nl:
Hi Erk,
On Fri, 2009-03-20 at 10:06 +0100, Eric Noulard wrote:
add_executable(t_hello t_ EXCLUDE_FROM_ALL hello.cpp)
add_test(t_hello t_hello)
add_custom_target(check
COMMAND ${CMAKE_BUILD_TOOL} test
2009/3/20 Philip Lowman phi...@yhbt.com:
On Thu, Mar 19, 2009 at 12:35 AM, Robert Dailey rcdai...@gmail.com wrote:
Hi,
I'm currently using Visual Studio 2008 and CMake v2.6.3. I noticed that
when I create unit tests, they are not added as dependencies in the solution
containing all of the
2009/3/20 Marcel Loose lo...@astron.nl:
Perfect!
Ok fine.
I now use add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) and
that indeed solves the parallel build issue.
And yes, I have MAKEFLAGS set to -j4.
Now that you make check is working, may be it's time to describe
the way to go
2009/3/20 Robert Dailey rcdai...@gmail.com:
On Fri, Mar 20, 2009 at 7:02 AM, Philip Lowman phi...@yhbt.com wrote:
On Thu, Mar 19, 2009 at 12:35 AM, Robert Dailey rcdai...@gmail.com
wrote:
This would be a nice thing to have. I had someone complain at work the
other day that they had to run
2009/3/23 Dmitry Gerasimov dmitry-gerasi...@yandex.ru:
Hi.
CPack rpm seem to work not correctly on systems with rpm version =4.6.0
(like Fedora 10).
Due to rpm changes in 4.6.0 release (http://www.rpm.org/wiki/Releases/4.6.0)
%{_topdir} defaults to $(HOME)/rpmbuild/ now, instead of former
2009/3/24 Allen Gooch allen.go...@gmail.com:
I'm trying to create an RPM installer for my project using CPack. My
environment is cmake-2.7 prerelease built from CVS on 2009-03-05 on a Fedora
Core 10 32-bit x86 host. At the bottom of my top-level CMakeLists.txt file
I have the following:
It
2009/3/25 Marcel Loose lo...@astron.nl:
On Fri, 2009-03-20 at 16:34 +0100, Eric Noulard wrote:
2009/3/20 Marcel Loose lo...@astron.nl:
Perfect!
Ok fine.
I now use add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) and
that indeed solves the parallel build issue.
And yes, I have
2009/3/25 Stephen Collyer scoll...@netspinner.co.uk:
I'm building a Win32 zip package from an out-of-source build in a directory
c:\mdpqt_HEAD\build.
When the zip file is created, it has the structure:
MDP-1.0.0-win32\mdpqt_HEAD\bin (and others)
Can someone tell me:
a) where the -win32
2009/3/26 Stephen Collyer scoll...@netspinner.co.uk:
2009/3/26 Eric Noulard eric.noul...@gmail.com
Please do nogt forget the mailing list address.
a) where the -win32 is coming from, and can I remove it ?
Yes you do.
You should be able to set what you want with
SET(CPACK_PACKAGE_FILE_NAME
2009/3/29 Stephen Collyer scoll...@netspinner.co.uk:
I've created an NSIS based installer by using the Cpack module in a
CMakeLists.txt file,
and have tried the CPACK_NSIS_MODIFY_PATH setting to add the installation
path
to PATH automagically.
When I run the installer, I see the appropriate
2009/3/30 david_bjorn...@agilent.com:
From one top level project, is there’s a way to produce log files on Linux (
Unix Makefiles) in the same fashion a Windows Visual Studio build does?
For example, on Windows when you run ALL_BUILD, you will generated the
following files
2009/4/2 Bill O'Hara billtoh...@gmail.com:
Is it possible to incrementally add new properties to source files? In two
parts of a large build there are cases where it'd be very convenient to be
able to do this:
set_source_file_properties(foo.c PROPERTIES COMPILE_FLAGS -m32)
2009/4/2 Eric Noulard eric.noul...@gmail.com:
2009/4/2 Bill O'Hara billtoh...@gmail.com:
Is it possible to incrementally add new properties to source files? In two
parts of a large build there are cases where it'd be very convenient to be
able to do this:
set_source_file_properties(foo.c
2009/4/2 Robert Dailey rcdai...@gmail.com:
Is there a portable way of disabling Runtime Type Information (RTTI) through
CMake? I hope I don't have to strangle CMake too much to get this basic
functionality...
Disabling rtti is a compiler dependent option:
GCC: -fno-rtti
Visual Studio/VCC:
2009/4/3 Robert Blake rbl...@jhu.edu:
I'm converting a large mixed C++/C cmake application to C++. The project
has many .c files that I would like to compile with the C++ compiler
instead of the C compiler. Does anyone know the proper way to do this in
CMake?
Things I've tried:
1.)
2009/4/3 Eric Noulard eric.noul...@gmail.com:
2009/4/3 Robert Blake rbl...@jhu.edu:
I'm converting a large mixed C++/C cmake application to C++. The project
has many .c files that I would like to compile with the C++ compiler
instead of the C compiler. Does anyone know the proper way to do
2009/4/5 Robert Dailey rcdai...@gmail.com:
I noticed that in the cmake-gui application (Windows),
The behavior is the same on Linux.
the drop-down box is
on the binary directory edit field and not the source directory field. This
seems backwards to me. Was this decision arbitrary or by
2009/4/5 Robert Dailey rcdai...@gmail.com:
All very good points. I really don't care how this gets changed, just as
long as I can select by project name and not its build directory. If that
involves first selecting the project and then selecting its build directory
in a second drop-down box,
2009/4/19 Philip Lowman phi...@yhbt.com:
I encountered this the other day. Is this a bug?
I don't think so.
More comment inside code:
project(Foo)
cmake_minimum_required(VERSION 2.6)
set(WTFO ON)
You define the WTFO which is not cached.
message(WTFO is ${WTFO})
option(WTFO wtfo OFF)
2009/4/19 Philip Lowman phi...@yhbt.com:
On Sun, Apr 19, 2009 at 1:56 PM, Eric Noulard eric.noul...@gmail.com
I think the bug is that you may define an option which overwrite an
uncached var.
This is exactly what I wanted to do though. In this case I don't care what
options are being
2009/4/22 Micha Renner micha.ren...@t-online.de:
Hi,
How can I add more definitions to the target?
In this example:
SET_TARGET_PROPERTIES(${_targetname} PROPERTIES
COMPILE_DEFINITIONS myDefs=\${flag}\ FC_CACHEDIR=\${FC_CACHEDIR}\
FONTCONFIG_PATH=\${FONTCONFIG_PATH}\)
only myDefs
2009/4/23 alexandre.feb...@thomsonreuters.com:
I have some code with multiple circular dependencies. I rely on the
transitive dependency mechanism to create the link line. Following is a
short example of libs which can't be resolved properly.
è My question is: if there a way to help cmake
Could you confirm the MKS you are talking about is this one:
http://www.mkssoftware.com/
i.e. some kind of unix tools for Windows.
If this is the case I would bet that you MAY need to compile your
own CMake version for MKS just as there is cygwin version of CMake
for using from within cygwin.
2009/4/30 David Flitney flit...@fmrib.ox.ac.uk:
Apologies if this has already been discussed. I recently discovered CPack
and am overjoyed at the prospect of being able to add simple packaging to my
projects. MacOS X PackageMaker worked so easily, but so far I haven't been
able to get it to
Apr 2009, at 14:13, Eric Noulard wrote:
Do you NEED to stick with CMake 2.4.x or can you afford the switch to 2.6.x?
My only reason to stick with 2.4 was so as not to raise the bar again for my
collaborators. They've gone with my recommendation of CentOS 5 which has 2.4
out-the-box
2009/5/2 barcaroller barcarol...@sympatico.ca:
Philip Lowman phi...@yhbt.com wrote in message
news:f168bb790904301926p217e9bafn6f58a1a2a9b12...@mail.gmail.com...
Which version of CMake are you using?
I was using cmake 2.6.3. I have installed cmake 2.6.4 but the problem is
still there.
2009/5/4 Antoine DUCHAMPS antoine.ducha...@gmail.com:
hi Miguel,
thanks for responding!
I'm sorry, I had misunderstood the wiki page. I've followed the steps
and I can navigate the source code now.
However, the code completion does not work. My application is linked to
an external library
2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org:
On Mon, May 4, 2009 at 4:36 AM, Eric Noulard wrote:
2009/5/4 Antoine DUCHAMPS:
[...]
However, the code completion does not work. My application is linked to
an external library (ITK) and I would like to have code completion for
the ITK
2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org:
On Mon, May 4, 2009 at 6:01 AM, Eric Noulard wrote:
Project - Properties - C++ include paths and symbols - Add External
Include Path ...
I have no C++ include paths and symbols .
Here comes a screenshot.
Note however I'll suggest we
2009/5/5 Florent Lagaye florent.lag...@inrialpes.fr:
Hi everybody,
I'm a big cmake fan, I use to generate kdevelop projects and makefile.
Now that my application as achieved an acceptable completion level, I
think about deployment.
So, I started using CPack from within CMake (2.6) (via my
2009/5/7 Florent Lagaye florent.lag...@inrialpes.fr:
Florent,
Try not to drop CMake ML when answering.
Eric Noulard a écrit :
Could you explain us (or point the appropriate documentation)
on how the freedesktop file should work?
Freedesktop is The standard used by gnome and kde to specify
2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org:
I did just gave a generic Eclipse CDT advice
which does not fits the Eclipse CDT generator case
(but my hand-made Eclipse project with CMake which enables to use CVS)
again sorry about the confusion.
--
Erk
Ah, no problem. I was
Hi All CPack RPM users,
Problems have been reported when using CPack RPM generator with
rpm/rpmbuild version greater or equal than 4.6.0.
(Fedora Core 10 or greater, Mandriva 2009 and greater, etc...)
I've submitted a simple patch borrowing solution from Dmitry Gerasimov:
Hi CPack RPM user,
I did implement a new feature in CPack RPM generator which:
1) gives control of post/pre (un)install script of the RPM spec files
2) supports user provided spec file.
Any interested people should have a look at the tracker which contains
both a patch against CMake-2-6 branch
2009/5/9 Alexander Neundorf a.neundorf-w...@gmx.net:
On Thursday 07 May 2009, Eric Noulard wrote:
...
1) Add more CPACK_RPM_XXX specific var such like:
CPACK_RPM_POST_INSTALL_SCRIPT_FILE
CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE
which may be used to specify the corresponding
2009/5/9 Alexander Neundorf a.neundorf-w...@gmx.net:
On Friday 08 May 2009, Eric Noulard wrote:
Hi All CPack RPM users,
Problems have been reported when using CPack RPM generator with
rpm/rpmbuild version greater or equal than 4.6.0.
(Fedora Core 10 or greater, Mandriva 2009 and greater
2009/5/10 Eric Noulard eric.noul...@gmail.com:
2009/5/9 Alexander Neundorf a.neundorf-w...@gmx.net:
On Friday 08 May 2009, Eric Noulard wrote:
Hi All CPack RPM users,
Problems have been reported when using CPack RPM generator with
rpm/rpmbuild version greater or equal than 4.6.0.
(Fedora
2009/5/9 Alexander Neundorf a.neundorf-w...@gmx.net:
On Friday 08 May 2009, Eric Noulard wrote:
2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org:
...
It is no the nicest solution, but it works around the problem of the
out-of-source builds with CVS sources. It is described here
2009/5/8 Eric Noulard eric.noul...@gmail.com:
Ah, no problem. I was just thinking that there might be a bug. BTW,
did you try the ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT option?
Yes it wokrs just fine.
It is no the nicest solution, but it works around the problem of the
out-of-source builds
2009/5/10 Eric Noulard eric.noul...@gmail.com:
2009/5/8 Eric Noulard eric.noul...@gmail.com:
Ah, no problem. I was just thinking that there might be a bug. BTW,
did you try the ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT option?
Yes it wokrs just fine.
It is no the nicest solution, but it works
2009/5/10 Tanguy Krotoff tkrot...@gmail.com:
Hello
I'm pulling my hair out on what should be straightforward.
file(TO_NATIVE_PATH ${file} file_native)
execute_process(
COMMAND type \${file_native}\
RESULT_VARIABLE result
2009/5/10 Eric Noulard eric.noul...@gmail.com:
2009/5/10 Tanguy Krotoff tkrot...@gmail.com:
Hello
I'm pulling my hair out on what should be straightforward.
file(TO_NATIVE_PATH ${file} file_native)
execute_process(
COMMAND type \${file_native
2009/5/10 Tanguy Krotoff tkrot...@gmail.com:
btw you forgot to attach your unix example :p
I'm so used to the non-attached joined file :-)
--
Erk
file(GLOB filep /home/eric/with*)
message(--${filep}--)
# switch next 2 lines comment to make it work.
file(TO_NATIVE_PATH ${filep} file_native)
2009/5/11 Florent Lagaye florent.lag...@inrialpes.fr:
Eric Noulard a écrit :
Hi CPack RPM user,
I did implement a new feature in CPack RPM generator which:
1) gives control of post/pre (un)install script of the RPM spec files
2) supports user provided spec file.
Any interested people
2009/5/10 Alexander Neundorf a.neundorf-w...@gmx.net:
On Sunday 10 May 2009, Eric Noulard wrote:
Currently the INSTALL(SCRIPT/CODE ... ) script is too loose, moreover
as far as I know there aren't any uninstall rules...
So currently I think we can get INSTALL(SCRIPT/CODE
2009/5/13 Brandon Olivares programmer2...@gmail.com:
Hi,
I was looking at the list of CPack variables. There are variables to set the
major, minor, and patch version numbers. But isn't there anything to set a
beta or alpha number?
For instance, what if I wanted a 1.0B1 version?
2009/5/18 laur...@marzu.org:
Hello,
I would like to retrieve the version number of an external package (=
libxml2 or xerces-c++ or any other XML parser available).
And, to format the version number in a standard way (at least for my
package using either libxml2, xerces-c++ etc).
So my
2009/5/20 Jaroslav Gresula jgresula.leave-this-...@gmail.com:
Hi,
can CPack generate a package (zip, bz2) whose file name differs from the
package top level directory name?
For instance, when I set CPACK_PACKAGE_FILE_NAME to project-1.0.0.src,
then the name of the package is
2009/5/23 Michael Wild them...@gmail.com:
Thanks David
yes, I already did try that (it's the obvious thing to try...).
Unfortunately the script runs before any of the files get installed.
Hi All,
I think that currently some PRE-INSTALL / POST-INSTALL rules are currently
missing from CMake.
2009/5/25 Roland Waltersson rolles.d...@gmail.com:
Hi I have a small sample project in Eclipse. cmake generates it fine
and it builds fine, but i can't see any source code files in the
project browser. This is my CMakeLists.txt file:
cmake_minimum_required(VERSION 2.6)
project(WINCABase)
2009/5/26 Robert Matusewicz mat...@gmail.com:
Hi all!
We are using Cmake and CTest in our project: OpenImageIO and have a liitle
problem.
We have project tree that looks like belowe:
* project
testsuit
src
** test1
** test2
And then, in CmakeList.txt we have something
2009/6/4 James Bigler jamesbig...@gmail.com:
Back in the day before file(WRITE) there was write_file(). write_file() had
the problem that you couldn't use the file as input to CMake, so you had to
use configure_file.
What do you mean as input, you mean a source file in
add_library or
2009/6/5 James Bigler jamesbig...@gmail.com:
if(NOT EXISTS ${dependency_file})
#message(configuring dependency_file = ${dependency_file})
configure_file(
${empty_file}
${dependency_file} IMMEDIATE)
endif()
The IMMEDIATE thing doesn't seem to be document, is it
2009/6/5 Tyler Roscoe ty...@cryptio.net:
On Thu, Jun 04, 2009 at 04:02:54PM -0400, Eric Jonas wrote:
I've written a server that serves up an interface using a cross-language
RPC mechanism (dbus) and currently build and unit test with cmake. But
testing cross-language (and more functional)
2009/6/8 Sascha 'saigkill' Manns samann...@directbox.com:
Hello Guys,
atm i'm learning QT/KDE Programming. I'm created an KDE4Gui Program with
the Templatemaker.
Then i has gone to the directory, and typed: cmake CMakeList.txt.
But i get:
WARNING: Target test has EXCLUDE_FROM_ALL set and
2009/6/10 Ángel Alonso fe...@archlinux.us:
Hi,
I'm using cmake for a project that embed Python in C.
For include the Python libs i use: include(FindPythonLibs)
One usually do:
find_package(PythonLibs)
instead of:
include(FindPythonLibs)
But compiling, I get this errors:
Forgot the list...sorry
-- Forwarded message --
From: Eric Noulard eric.noul...@gmail.com
Date: 2009/6/10
Subject: Re: [CMake] Installation package
To: Pascale B chos...@hotmail.com
2009/6/10 Pascale B chos...@hotmail.com:
Hi,
I work on a software that I am porting onto
2009/6/10 Mathieu Malaterre mathieu.malate...@gmail.com:
On Wed, Jun 10, 2009 at 10:17 AM, Pascale Bchos...@hotmail.com wrote:
Hi,
I work on a software that I am porting onto Linux. I used CMake with
success and now want to use CPack. I successfully created a package file
with a bin and
2009/6/10 Pascale B chos...@hotmail.com:
Hi,
The RPATH solution works locally only, on my computer only when used with
the make install command.
That's the expected behavior.
But now, I seem to have problem to use Cmake to
create RPMs and I think it has to do with the root directory of
Forgot the list again
-- Forwarded message --
From: Eric Noulard eric.noul...@gmail.com
Date: 2009/6/10
Subject: Re: [CMake] Installation package
To: Pascale B chos...@hotmail.com
2009/6/10 Pascale B chos...@hotmail.com:
Hi Eric,
I use CMake 2.6, patch 4.
Fedora 10
2009/6/10 Pascale B chos...@hotmail.com:
ok, I followed the instructions as you posted and changed the file
CPackRPM.cmake:
http://www.cmake.org/pipermail/cmake/2009-March/028301.html
and the rpm file is generated under my Linux/RPM folder! :)
As it is getting late I'll have to test the
2009/6/11 elizabeta petreska elizabeta.petre...@gmail.com:
Hello
How to add ATL support to my project?
May be you can tell us what ATL is ?
A library?
Is it platform specific (MacOS, Windows, Unix...)?
The simplest way to do this is to give us a small intro to ATL
and/or providing us with a
2009/6/11 elizabeta petreska elizabeta.petre...@gmail.com:
On Thu, Jun 11, 2009 at 8:43 AM, elizabeta petreska
elizabeta.petre...@gmail.com wrote:
The ATL (Active Template Library) is project template in Visual Studio
that simplifies creation of COM objects.
2009/6/15 Jean-Pierre Bergamin ja...@ractive.ch:
Hello cmake users
I want to put the current subversion revision into a script every time I run
make install.
Currently, I use configure_file() to replace a variable in the script, but
this only updates the script when either the script or
2009/6/15 Jean-Pierre Bergamin ja...@ractive.ch:
Hello Eric
2009/6/15 Jean-Pierre Bergamin ja...@ractive.ch:
Hello cmake users
I want to put the current subversion revision into a script every time I
run
make install.
Currently, I use configure_file() to replace a variable in the
2009/6/19 Dmytro Ovdiienko dmitriy.ovdie...@gmail.com:
BTW, how about to add to CMake posibility to create symbolic/hard links?
You may already use -E create_symlink old new- create a symbolic
link new - old
(at least with CMake 2.6.4)
--
Erk
Membre de l'April - « promouvoir et défendre
2009/6/22 Robert Bielik robert.bie...@xponaut.se:
I'm using cmake 2.6-patch 3 on Ubuntu (64bit 8.04) to generate an Eclipse
project, that part works fine... I think.
Problem is that when I try to import the project into Eclipse workspace, it
takes *forever*. It has run now for
20 minutes+
2009/6/23 Robert Bielik robert.bie...@xponaut.se:
Hi Eric,
Eric Noulard skrev:
Never crossed that one.
I did use cmake 2.6.[1234] with debian etch/sid amd64 + eclipse
ganymede without trouble.
Do you have a stripped down CMake project that exhibits the problem?
I may try it here.
I
2009/6/25 Pascale B chos...@hotmail.com:
Hi All,
I am using CMake, CPack to generate packages. I successfully generated
.tar.Z, .rpm and .deb files on my local computer. I am now trying to make
tests on a computer that I access with SSH and I am getting an error only
for the rpm file.
2009/6/25 Pascale B chos...@hotmail.com:
Hi Eric,
I already had this buildroot problem and fixed it, I copied the file
locally and can create packages (rpm, deb) on my local computer without any
problems.
Ok sorry about that I didn't remember that yuo already faced this.
The problem
2009/6/25 Pascale B chos...@hotmail.com:
Hi Eric,
Thanks for your help. I use a remote computer in order to test many
operating systems. The content of rpmbuild.out is enigmatic, it seems empty:
Processing files: sources-1.04.0-1
RPM build errors:
Strange that's right.
Are you able
2009/6/29 romain.jacquet@free.fr:
Hello everybody,
I'm using cmake 2.6.4.
I want to add externals libraries to aa rpm build with cmake/cpack.
May be you can INSTALL(FILES ...) those externals?
And/or file a feature request for CPackRPM explaining how you want it to work
and may be
2009/6/30 Knox, Kent kent.k...@amd.com:
I'm integrating CPack into my build system, and can't quite get
CPACK_SOURCE_IGNORE_FILES to work right.
I want to cull individual files from the source package, like .ncb files
and .pdb files and such. It seems as though CPACK_SOURCE_IGNORE_FILES
2009/6/30 Jörg Förstner joerg.foerst...@ubidyne.com:
Hi Tyler,
I don't know if linking multiple shared libraries together
like that is
going to work. You might need to compile libxyz.generated as a static
lib.
You're right. Either I'll have to use a static library for libxyz.generated
or
2009/7/1 Marcel Loose lo...@astron.nl:
Hi all,
In a number of standard CMake modules I encountered the following line:
IF(${VARIABLE} MATCHES ^${VARIABLE}$)
Can anyone explain the rationale of this conditional to me.
The rational no but
To my cluttered mind this seems to be an
2009/7/2 Bram de Greve br...@users.sourceforge.net:
Hi,
I have a large project that combines the sources of different CVS
repositories/projects in one build.
I would like to perform a continuous build on this, but AFAIK it's
possible to do only one cvs update on this. So the continuous
2009/7/2 Marcel Loose lo...@astron.nl:
Hi Eric,
The variable your are testing may contain un-evaluated var
or some special regex character( *, ?, ...)
See attached example, you may test it with
$ cmake -P matches.cmake
MATCHES -- MYVAR = A good var
Look that one = double-dollar = blah /
2009/7/8 gr...@akoostix.com:
Hi! I have a project specified as CXX explicitly, and it requires knowing
the endian of the machine. I can't seem to use the TEST_BIG_ENDIAN module,
because it's a .c compilation and I get a
... /CheckIncludeFile.c. TRY_COMPILE only works for enabled languages.
2009/7/8 Malhotra, Anupam anupam.malho...@safenet-inc.com:
Hi David
Thanks for the reply. I am not concerned about the names of object files. I
was talking about the contents of the object files. If you analyze the
object files, they contain the complete paths of corresponding source files.
2009/7/8 Steven Van Ingelgem ste...@vaningelgem.be:
Hi,
I tried this call:
CHECK_FUNCTION_EXISTS(snprintf HAS_snprintf)
Which results in this error being generated:
C:\MinGW\bin\gcc.exe -g -ggdb -O0 -Wall -Werror
-DCHECK_FUNCTION_EXISTS=snprintf -o
2009/7/8 Steven Van Ingelgem ste...@vaningelgem.be:
Hi Eric,
1) Your first option wouldn't work because CMAKE_REQUIRED_FLAGS isn't
known by neither try_compile, neither the macro.
Did you try it?
The documentation says:
CheckFunctionExists
macro which checks if the function exists
2009/7/8 Hendrik Sattler p...@hendrik-sattler.de:
Zitat von Eric Noulard eric.noul...@gmail.com:
It works for me and the CMakeFiles/CMakeOutput.log reads:
Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o
/usr/bin/gcc -DWHAT=ever -DCHECK_FUNCTION_EXISTS=snprintf
2009/7/9 Mathieu Malaterre mathieu.malate...@gmail.com:
On Wed, Jul 8, 2009 at 11:22 PM, Alexander
Neundorfa.neundorf-w...@gmx.net wrote:
Did you try using check_symbol_exists() ?
Indeed.
Ref:
http://public.kitware.com/Bug/view.php?id=8246
Solution:
INCLUDE(CheckSymbolExists)
2009/7/9 t m cm...@majchrowski.co.uk:
Hello CMake Experts,
Is there any way to define post or pre-processing actions for built-in
targets like package/package_source.
Those two are not visible in CMakeLists.txt scope, so the
add_dependencies(package_source pre_package_source)
can not be
Hi all,
Is there any builtin downloading function in CMake or CTest?
As far as I know CTest has buit-in curl capability
so may be there is (or would be) a
GET_FILE(filename url) macro that could be implemented?
I want to automate (with CMake) the retrieval of third party file
using
2009/7/10 Will Dicharry wdicha...@stellarscience.com:
Eric Noulard wrote:
Is there any builtin downloading function in CMake or CTest?
[...]
I want to automate (with CMake) the retrieval of third party file
using http/https/ftp?
Take a look at the file( DOWNLOAD ... ) command. I think
2009/7/11 Marcel Loose lo...@astron.nl:
Hi Bill,
The problem is not in the invocation of gcc. That works fine. The
problem is that I lose the preprocessor definitions that were added with
add_definitions() when compiling assembly files. These assembly files
must be preprocessed by gcc. I
701 - 800 of 2045 matches
Mail list logo