2011/3/30 Laura Auton Garcia :
> Hello all,
> The project I am working on uses pkg-config --cflags option to get the
> include directories of an external project, and I am trying to add the
> output to the compile_flags option used in set_target_properties. As
> well as the pkg-config directory, so
2011/4/1 Crni Gorac :
> Am working with seemingly not too complicated CMake setup: Have two
> projects, say Foo and Bar, both dependent from the library libBaz;
> actually at the beginning there was only Foo project, and now there is
> Bar project, and common code is refactored into libBaz library.
2011/4/1 Clinton Stimpson :
> On Friday, April 01, 2011 12:38:25 pm Eric Noulard wrote:
>> 2011/4/1 Crni Gorac :
>> > Am working with seemingly not too complicated CMake setup: Have two
>> > projects, say Foo and Bar, both dependent from the library libBaz;
>> >
2011/4/1 Crni Gorac :
>
> Thanks for replies. I'm using CMake 2.8.4, and for this particular
> project - it's mostly about PackageMaker and NSIS installers (for Mac
> and Windows, respectively). Also, CPack components stuff is really
> not usable here, these are two projects with completely separ
2011/4/5 Andrea Galeazzi :
> Fedora isn't listed there but is it possible to have it?
For what is worth,
you can build a CMake RPM using
a previously installed CMake on almost any Linux distro
if rpmbuild is installed (and compiler etc...).
Run the attach script on your Fedora box using:
$ mkdir
2011/4/9 Christian Vander Jagt :
> I am trying to use cmake to compile a program from source code, i am getting
> this error:
> CMake Error: Error required internal CMake variable not set, cmake may be
> not be
> built correctly.
> Missing variable is:
> CMAKE_CXX_COMPILER_ENV_VAR
> CMake Error: C
2011/4/10 Christian Vander Jagt :
> I'm using CMake 2.8,
You should something like 2.8.x, what is the x ?
> I did not compile it, I got it from
> http://cmake.org/cmake/resources/software.html,
Ok good, I bet you took the "Windows Installer".
>I guess plain windows vista,
> the compiler I'm us
2011/4/10 Christian Vander Jagt :
>
> I am trying to compile VTK, i have never used CMake before, 2.8.4, MinGW
> makefiles is the generator,
Then you should ask your question on the VTK mailing list in the first place.
http://www.vtk.org/VTK/help/mailing.html
--
Erk
Membre de l'April - « promouv
2011/4/11 David Aiken :
> Hi all..
>
>
>
> I’m using cmake 2.8.4 on Centos 5.2. I build a libUtility.so and a
> libSecurity.so which depends on it. The utility library is located in
> “../../lib/libUtility.so” during the build. If I do an ldd on libSecurity.so
> I can see this relative path for lib
2011/4/13 Michael Wild :
> On 04/13/2011 09:45 AM, J.S. van Bethlehem wrote:
>> Dear CMake users,
>>
>> This week I started to investigate possibilities to move my build-system
>> over to CMake after hearing a lot of good stories about it. To be
>> honest, so far I'm still not quite convinced. The
2011/4/22 Rosen Diankov :
> Hi all,
>
> We've recently started generating (debian) packages with CPack and
> discovered that handling library dependencies for particular
> distributions was not as smooth as it can be. The *_DEPENDS string
> just gets copied over to the final package so it puts all
2011/4/22 Rolf Eike Beer :
>> We've recently started generating (debian) packages with CPack and
>> discovered that handling library dependencies for particular
>> distributions was not as smooth as it can be. The *_DEPENDS string
>> just gets copied over to the final package so it puts all the bur
2011/4/22 Rosen Diankov :
> Hi Guys,
>
> You are right about shlibdeps, but this is not the whole story.
>
> Debian source packages required "build dependencies" to be
> preinstalled before cmake even runs. This tells each distribution what
> it needs so that cmake can find it with find_package.
Y
2011/4/22 Rosen Diankov :
> Hi Eric,
>
> Before I start running things, basically the script sets
> CPACK_DEBIAN_PACKAGE_DEPENDS right? What does this effect have on
> cpack?
On CPack generic part none but the CPack Debian generator use it
when building the binary debian package and adds the packa
2011/4/23 Rosen Diankov :
> Hi Eric,
>
> Thanks for the response. In another email to cmake.org, I sent a
> DebSourcePPA.cmake file that shows what i'm doing to generate deb
> source packages.
Yes I saw that one, this is interesting, may be it could go upstream,
if you want it to go upstream pleas
2011/4/25 AJ ONeal :
> What's the preferred solution to the OS X getline problem (meaning that it
> doesn't exist in OS X's libc) when using CMake?
> ("Don't use getline" isn't an option)
I don't think this is a CMake question.
If you need getline on OS X then may be you'll have to provide an
impl
2011/4/25 James Bigler :
> If I have a custom command:
>
> add_custom_command(OUTPUT myfile.out)
>
> Then I add that file to the target:
>
> add_executable(mytarget main.cpp myfile.out)
>
> If I do a 'make help' I get rules for main.o, but none for myfile.out. Is
> there something I can add to cre
2011/4/25 Clifford Yapp :
> I'm trying to generate both source tarballs and binary packages using
> CPack, and I'm at something of a loss as to how to achieve the
> following:
>
> I want the binaries (RPM, DEB, etc.) to respect the
> CMAKE_INSTALL_PREFIX. I want the source tarballs to expand into
2011/4/25 Clifford Yapp :
> Eric,
>
> Thanks - that looks like it will do the trick, testing now. Is there
> a bug report somewhere proposing using CMake-level per-generator
> variables to control these things?
AFAIK there aren't any.
Now adding this for ALL CPack generators would honestly be a
2011/4/26 Martin Nielsen :
> Hi,
>
>
>
> I have been asked to look into the possibilities of compiling multiple files
> in one invocation of the compiler like:
>
>
>
> armcc.exe … file1.c file2.c … fileN.c –o mylib.lib
>
>
>
> The cross compiler we are using requires a license in order to compile t
Hi all,
I've just put my hand on a Mac OS host in order to port some project.
After struggling with XCode, CMake and other mac port install
I manage to compile my project, not too bad.
I'd like to provide my software as a nice Mac OS installer,
and I am back into the Mac OS jungle:
Bundle
Forgot the list.
-- Forwarded message --
From: Eric Noulard
Date: 2011/4/27
Subject: Re: [CMake] Which MacOS installer to use and how?
To: Sean McBride
2011/4/27 Sean McBride :
> On Wed, 27 Apr 2011 16:55:58 +0200, Eric Noulard said:
>
>>
>>Ok I
2011/4/27 Michael Jackson :
> Take a look at /Applications/Utilities/Console.app and seem if anything shows
> up in the logs as to why it failed. Permissions maybe? Missing /usr/local/
> directory?
/usr/local is there.
I do have the permission: I have admin right and the installer asked
for the
2011/4/27 Eric Noulard :
> 2011/4/27 Michael Jackson :
>> Take a look at /Applications/Utilities/Console.app and seem if anything
>> shows up in the logs as to why it failed. Permissions maybe? Missing
>> /usr/local/ directory?
>
>
> /usr/local is there.
> I do
ntered an error
> that caused the installation to fail. Contact the software manufacturer for
> assistance.
>
>
> looks like there is a problem with the created package? The bom (Bill of
> Materials) file is missing. Maybe a CPack issue?
>
> ______________
2011/4/27 Michael Jackson :
> I did a Touch COPYING.txt file to simply create the file then CMake ran all
> the way through.
Ok fine, sorry about that.
> I ran "make -j16; make package" then mounted the .dmg file and ran the
> installer. I selected an external disk (so not to mess up my current
2011/4/27 Eric Noulard :
> 2011/4/27 Michael Jackson :
>> I did a Touch COPYING.txt file to simply create the file then CMake ran all
>> the way through.
>
> Ok fine, sorry about that.
>
>> I ran "make -j16; make package" then mounted the .dmg file
2011/4/27 Daniel Nelson :
> I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files
> for each component, but when I enable it I no longer have a top level
> directory in the tar.
>
> For example, if archive component install is off then the tar files
> contains files with paths lik
2011/4/27 Daniel Nelson :
> On Wed, Apr 27, 2011 at 08:49:56PM +0200, Eric Noulard wrote:
>> 2011/4/27 Daniel Nelson :
>> > I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files
>> > for each component, but when I enable it I no longer have a top leve
Hi all,
Second try to make a package maker package on MacOS using CPack.
Now I am trying to understand why I get a "Bill Of Material" error:
http://www.cmake.org/pipermail/cmake/2011-April/044081.html
Looking at the difference between my pkg and the CMake one
I see they seems to have the same s
2011/4/28 Alan Garny :
> Hi, I am using CMake/CPack (version 2.8.4) for my project and everything
> works fine except for a couple of files that I am trying to package on
> Windows. I would like those files to be read-only. I currently have
> something like:
>
> INSTALL(FILES ${CMAKE_SOURCE_DIR}/my
2011/4/28 Alan Garny :
>> From: Eric Noulard [mailto:eric.noul...@gmail.com]
>> 2011/4/28 Alan Garny :
>> > Hi, I am using CMake/CPack (version 2.8.4) for my project and
>> > everything works fine except for a couple of files that I am trying to
>> > package
2011/4/29 Alan Garny :
>> Would try to open the cmake_install.cmake file corresponding to the
> offending
>> install(file ...) You should find something like:
>>
>> FILE(INSTALL DESTINATION
>> FILE_PERMISSIONS )
>
> This is not quite what I have. Instead, I have something like:
>
> FILE(I
2011/4/29 Dan Furtney :
> Anyone know of a generator for Workbench projects?
Not me, but I'm not a Workbench user.
Would be nice to ask WindRiver for a CMake contribution though :-]
I think their current workbench is eclipse based so may be
the generator could be based on current Eclipse CDT gene
2011/4/29 Alan Garny :
>> > This is not quite what I have. Instead, I have something like:
>> >
>> > FILE(INSTALL DESTINATION TYPE FILE PERMISSIONS
>> > OWNER_READ GROUP_READ WORLD_READ FILES )
>>
>> fine, I was too lazy to check the syntax thoroughly
>>
>> Just create a tryPermission.cmake file w
2011/4/30 Martin Felis :
> Hi there,
>
> I am currently trying to build a debian package using CPack, which worked
> surprisingly well, however when trying to install that package I get some
> errors that dpkg fails to create some files. I get error messages of the
> form:
>
> Unpacking asteroids (
2011/5/4 Bill Hoffman :
> On 5/4/2011 1:32 PM, David Henderson wrote:
>>
>> I was abbreviating for conciseness on the path. I've tried running this
>> in an MSYS cmd window and get the same error.
>>
>
> Seriously, I think you have a cygwin make.exe on your system. I don't think
> msys is capable
2011/5/5 Judicaël Bedouet :
> Hi,
Hi Judicaël,
> I use install(SCRIPT...) to make links during installation. It works with a
> normal installation (make install) but the script seems not to be executed
> by CPack or CPack RPM (I have not tested other generators). I could solve
> the problem by ma
2011/5/11 AMARNATH, Balachandar :
> Hi,
>
>
> I am trying to compile (cross) a library in linux (debian) under mingw. I
> have installed the mingw packages for debian (gcc-mingw32, mingw32-binutils,
> mingw32-runtime) and have specified i586-mingw32-gcc, i586-mingw32-c++ and
> i586-mingw32-gfortran
2011/5/11 Pasi Valminen :
> Hi,
>
> I tried to create a simple RPM package on AIX with CPack, but my attempt
> resulted in an empty RPM file since the file list population failed. In the
> process I got a couple of error messages from `find' and `sed' which turned
> out to be pretty easy to fix to
2011/5/18 gekso :
> Hello! Does anyone know how to use Intel Compiler with cmake on linux
> ("Unix Makefiles")?
> I've tried to set CC, CXX environment variables before cmake - no
> effect.
What do you mean by "no-effect" ?
gcc is found and used?
$ source /opt/intel/Compiler/11.1/064/bin/iccvars.
2011/5/18 Andreas Heck :
> Hey guys,
>
> does anyone knows if there exists a patched version of 2.8.4 with debians
> new multiarch support?
> Ubuntu natty is the first system which uses this kind of structure.
>
> My first workaround was to set the include paths for the find modules that
> belong t
2011/5/19 J.S. van Bethlehem :
>
> Hello Eike,
>
> Thanks a lot for your reply. I have actually been thinking in the same
> direction. I have one problem though: how can you make a truly global
> variable in CMake? Whenever you do something to a variable in a directory
> that is added using add_sub
2011/5/11 Pasi Valminen :
>
> Thanks. :)
> AIX knows about RPMs since 5.1 at least (current version being 7.1), but the
> version is a bit old 3.x IIRC. I find RPMs more flexible in their rules than
> the AIX bff format. So, I prefer creating RPM packages if possible since
> there's native support
2011/5/20 Sara Rolfe :
> Hello,
>
> I am attempting to modify my make file so the linker will check for
> /usr/lib64 instead of /usr/lib. I found a patch for this problem here:
>
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=126c993d#patch1
This commit is not related with "finding" lib64 (
2011/5/22 Sara Rolfe :
> The latest version of CMake, cmake-2.8.4-Linux-i386.tar.gz does not looking
> in /lib64 paths. Could you let me know which version of CMake you are
> referring to, that checks this path?
2.8.4 should definitely have this is the
FIND_LIBRARY_USE_LIB64_PATHS global property
PROPERTY FIND_LIBRARY_USE_LIB64_PATHS ON)
>
> TARGET_LINK_LIBRARIES(SubsampleVolume
> ITKNumerics ITKIO ITKBasicFilters vtkRendering vtkIO vtkWidgets
> vtkHybrid)
>
> On May 22, 2011, at 12:14 AM, Eric Noulard wrote:
>
>> 2011/5/22 Sara Rolfe :
>>>
>>> The late
2011/5/23 Sara Rolfe :
> Hi Eric,
>
> Thanks for pointing this out. I changed the order, but am still getting the
> same error:
>
> make[2]: *** No rule to make target `/usr/lib/libuuid.so', needed by
> `SubsampleVolume'. Stop.
> make[1]: *** [CMakeFiles/SubsampleVolume.dir/all] Error 2
> make: *
2011/5/30 Jan Dolecek :
> Hi guys,
> I like CMake and I'm trying to learn it, however I have problem with my
> project which I'm not able to solve for couple of days. The problem is, that
> my project depends on another library which I need to compile and which uses
> classic toolchain (autoconf +
2011/6/3 Jean-Christophe Fillion-Robin :
> Just tested it on linux and the same remark applies.
Hi,
I cannot find the answer in the ML archive but I think I already
crossed that issue in the past
and I was answered that this was the expected "legacy CMake" behavior.
1) When you specify a directo
2011/6/3 NoRulez :
> Is it possible to use a command such as ctest_*? because in my main
> CTestScript.cmake file it isn't possible to call add_test.
May be you can use
ctest_build(TARGET package)
this suppose the package target has been configure properly on the
particuler build server.
Note
2011/6/3 NoRulez :
> Is this the only way? Because i would like to have only one CTestScript.cmake
> file which came from the build server.
I do not see the point?
If you use CPACK_PROJECT_CONFIG_FILE **in your project CMakeLists.txt**
then you'll get what you want with a single CTestScript.cma
2011/6/6 Campbell Barton :
> Hi, A handful of times I would have found it useful to run cmake
> without having to be in the build dir, mostly there is some way to
> change the CWD or write a shell wrapper, nevertheless it could still
> be useful when launching builds from scripts or more limited
>
2011/6/7 Jean-Christophe Fillion-Robin :
> Hi Folks,
>
> I observed there are different ways of naming binary packages:
>
> myproject-Linux-i386.{ext}
> myproject-Linux-amd64.{ext}
> myproject-Linux-x86_32.{ext}
> myproject-Linux-x86_64.{ext}
>
> myproject-Windows-win32_x86.{ext}
>
2011/6/8 Andreas Naumann :
> Hi @all,
>
> I have some problem with the library usage in cmake.
>
> It seems to me, that cmake removes the full path of the library, if the path
> is in the environment variable LIBRARY_PATH.
> This behaviour cause problems at our system, such that the linker links
>
2011/6/8 Andreas Naumann :
> Am 08.06.2011 11:56, schrieb Eric Noulard:
>>
>> 2011/6/8 Andreas Naumann:
>>
>>>
>>> Hi @all,
>>>
>>> I have some problem with the library usage in cmake.
>>>
>>> It seems to me, tha
2011/6/8 Ilias Miroslav :
> Dear experts,
>
> We would like to check the generated target (main executable) after it was
> built.
>
> For example
> .
> .
> Linking Fortran executable vibcal.x
> [100%] Built target vibcal.x
> [100%] Built target dirac.x
>
> afterwards, it would be good to get own m
2011/6/8 Andreas Naumann :
> Am 08.06.2011 15:02, schrieb Eric Noulard:
>>
>> 2011/6/8 Andreas Naumann:
>>
>>>
>>> Am 08.06.2011 11:56, schrieb Eric Noulard:
>>>
>>>>
>>>> 2011/6/8 Andreas Naumann:
>>>>
>&
2011/6/16 John R. Cary :
> I am using the TGZ packager.
Which version of CMake/CPack ?
On which platform(s) ?
Do you use CPack alone or CMake+CPack?
> My dist looks something like
>
> topdir
>
> nextdir link -> nextdir/lowerdir
>
> lowerdir
>
> It seems that CPACK, instead of copying th
2011/6/16 John R. Cary :
> On 6/16/11 12:09 PM, Eric Noulard wrote:
>>
>> 2011/6/16 John R. Cary:
>>>
>>> I am using the TGZ packager.
>
> Sorry, my error in not providing more complete info:
>
>> Which version of CMake/CPack ?
>> On which
to package TGZ.. but keep reading
> On 6/17/11 8:46 AM, John R. Cary wrote:
>>
>> On 6/16/11 2:15 PM, Eric Noulard wrote:
>>>
>>> I never used install(CODE ... but besides that this should work.
>>> did you have a look at the symlinks found in the CPack te
2011/6/17 John R. Cary :
> Attached is a minimal standalone example that illustrates the problem.
>
> If build dir is next to the directory resulting from untarring this, do
>
> cmake -DCMAKE_INSTALL_PREFIX=$HOME/tmp/cmtprefix ../cmt
> make all install
> # You will see that in the installation, the
2011/6/21 John R. Cary :
> On 6/21/11 6:28 AM, Brad King wrote:
>>
>> On 06/17/2011 04:59 PM, Eric Noulard wrote:
>>>
>>> OK I have the same behavior on my box using your example.
>>> I did open a bug report:
>>> http://public.kitware.com/Bug/v
2011/6/22 Dave Ohlsson :
> [Warning: I am a CMake beginner.]
>
> Hi,
>
> This must have been asked many times, but I can't find the answer...
> (I did look at the CMake FAQ.)
>
> If I use the autotools and I want to make a Linux source code
> distribution to a user who doesn't have the autotools in
2011/6/27 Koecher, Rene :
> Hi,
>
Hi,
while making excessive use of the RPM generator in CMake 2.8.5 I came
across a requirement
it could not match out of the box: per-component spec headers.
As it is it seems not to be possible to add to or replace spec-file
headers o
2011/7/3 Mathias Gaunard :
> With a component-based installer such as NSIS, the user can choose the
> components that he wants to install.
>
> I would need to launch a script (just launching an external program would
> do) after this, telling me where the application was installed, so that I
> can
2011/7/6 :
> Folks
>
>
>
> As part of some other open source S/W OpenFOAM-2.0.0
>
> I need to build cmake-2.8.3 (preferred)
Why would need to build CMake?
Can't you take it from
http://www.cmake.org/files/v2.8/cmake-2.8.4-Linux-i386.tar.gz ?
> However on all the versions 2.8.2 , 2.8.3 , 2.8.4 I
2011/7/7 Stephen Torri :
> Problem: Cannot change name of installer package.
> Cmake version: 2.8.4
What is your platform/build tool?
Windows/ Visual Studio?
Linux / Makefiles?
Which CPack generator are you using?
>
> I am trying to change the value of CPACK_PACKAGE_NAME depending upon which
> b
2011/7/12 Laszlo Papp :
> Hi,
>
> I have just realized this snippet in my CMakeLists.txt file:
>
> install(FILES
> atticamanager.h
> authentication.h
>
> DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib
> COMPONENT Devel
> )
>
> install(FILES
> archive/archive.h
>
> DESTINATION
2011/7/12 Thomas Petazzoni :
> Hello,
>
> Le Sun, 05 Jun 2011 11:02:00 +0200,
> Quintus a écrit :
>
>> I'm working on a git-versioned project that I'd like to display it's
>> version number for development versions like this:
>>
>> 1.2.3-dev (commit abc1234 on devel, 12/4/10)
>
> For similar need
2011/7/12 Laszlo Papp :
> Hi,
>
>> Not sure whether if it's better than your current solution.
>> May be it's a little less painless to write.
>
> Would it make sense to add an option to these install sections so that
> it grabs the files as they are (with subfolders, if any), if you set
> that opt
2011/7/12 Laszlo Papp :
>
>
> Here is what I would advise (of course by setting some option if you
> want two have it also the "original" way):
>
> install(FILES
> atticamanager.h
> authentication.h
> archive/archive.h
> models/commentitemsmodel.h
> models/gameitemsmodel.h
> models
2011/7/12 Michael Hertling :
> On 07/12/2011 09:35 AM, Eric Noulard wrote:
>> 2011/7/12 Thomas Petazzoni :
>>> Hello,
>>>
>>> Le Sun, 05 Jun 2011 11:02:00 +0200,
>>> Quintus a écrit :
>>>
>>>> I'm working on a git-versioned pr
2011/7/15 Neil Higgins :
> cmake fails to start with the following error message:
>
> cmake: error while loading shared libraries: libcrypto.so.6: cannot open
> shared object file: No such file or directory
>
> I have tried installing the openssl libraries and openssl-dev to no
> avail.
Which vers
2011/7/15 Neil Higgins :
> I couldn't see anything on the CMake site that looked like an installable
> package, so ...
Yes there is
http://www.cmake.org/cmake/resources/software.html
see "Binary distributions: "
e.g.
http://www.cmake.org/files/v2.8/cmake-2.8.5-Linux-i386.tar.gz
> Following a sea
2011/7/17 Daniel Franke :
>
> Hi Andreas.
>
> On Sunday 17 July 2011 21:36:26 Andreas Mohr wrote:
>> to me it sounds like all the effects can simply be described as
>> happening due to including CPack way too early.
>> Verdict: Don't Do That (tm)
>
> Maybe. See below for more details.
There exists
2011/7/18 Daniel Franke :
>>
>> Could you explain why you need CPack to be included here?
>>
>> If the requirement comes from the needed definition of
>> "cpack_add_component" then you can try to do the following:
>
> Exactly for this reason.
>
>
>> 1) include(CPackComponent) early enough
>> in
2011/7/19 Laszlo Papp :
> Hi,
>
> Is there a way of passing array arguments to a macro with cmake ?
Did you have a look at:
CMakeParseArguments.cmake
cmake --help-module CMakeParseArguments
This makes it easier to parse KEYWORD arguments.
[...]
> The problem is that when I would like to use th
2011/7/20 Daniel Näslund :
>
>> Then, if you need to help it some more, you may set the path to the QtCore
>> library manually, or other variables manually.
>
> Managed to compile and link when I added the following snippet to the
> toolchain file:
>
> set(QT_HEADERS_DIR /opt/env/lenny-ppc/usr/l
2011/7/26 Micha Renner :
> In a CMakeLists file, there is this command:
>
> INSTALL(SCRIPT tInstall.txt)
>
> During processing tInstall.txt none of global variables (e.g. MSVC,
> CMAKE_SHARED_LIBRARY_SUFFIX ...) has a value.
>
> Is this a bug or a feature?
Feature...
At Install-time CMake is runn
2011/7/26 Julien Dardenne :
> Hi,
>
> I have a path and i try to extract the folder name of this one.
>
> example :
>
> For C:/Programs/game/test, i would get test
>
> Do you know a cmake command ? or should i use regular expressions ?
> If so, can you give me an example ?
set(ORIGNAME "C:/Program
2011/7/26 Laszlo Papp :
> Hi,
>
> I am trying to make our cpack setup work for an NSIS installer. I
> would like to make a very first step towards a component based
> installer on Windows.
Do you get component installer with other CPack generators or not?
RPM or DEB on Linux (with at least CMake 2
2011/7/27 Laszlo Papp :
> Hi Eric,
>
>> So the solution begins with DOT NOT USE ABSOLUTE INSTALL PATH,
>> give it a try and tell us how it goes.
>
> Thanks a lot for your answer. It has been very useful. The components
> seem much better for now after this change you were proposing:
> https://proje
2011/7/27 :
> Hi all,
>
> I tried to cross-compile an internal application for windows on a linux
> machine,
> but failed, because cmake at some point re-start the configure process, and
> drops the CMAKE_SYSTEM_NAME variable along that way. Attached is a
> minimal CMakeLists.txt, which reproduces
2011/7/27 Bjørn Forsman :
> Hi all,
>
> I wonder if I've hit some bugs in the CPack generators, specifically
> TGZ and DEB. They do not behave as I expect them to. What I expect
> them to do is to generate an archive of files that look exactly like
> what 'make install' puts in DESTDIR. If this is
2011/7/28 Laszlo Papp :
> Hi,
>
> Thanks for you guys, it helped a lot. :) We now have a good installer
> for testing purposes.
You're welcome.
May be you can take some time to update this Wiki Page
http://www.cmake.org/Wiki/CMake:CPackWin32NewbiesChecklist
with you experience with CPack Compone
2011/7/28 Bjørn Forsman :
>
> Thanks a lot! With three lines in CMakeLists.txt I now get the same
> behaviour for 'make install' and the package generators:
>
> set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0) # don't prepend package name
> etc. (for archive generators)
> set(CPACK_PACKAGING_INSTALL_PREFIX
2011/7/28 Julien Dardenne
>
> Hi,
>
> I compile my libraries into dynamic and static.
> I now wish to change the library path. If I am in static (folder : lib ) and
> dynamic (folder : dll).
>
> For now, i have this script :
>
> OPTION (BUILD_SHARED_LIBS "Build shared libraries with Games." OFF)
2011/7/29 Bjørn Forsman :
>>
>> As you guessed this is impossible without backward compat' breakage.
>> e.g. be aware that with "CPACK_SET_DESTDIR" set to ON RPM and DEB
>> behavior changes
>> namely RPM package built with that may not be relocatable.
>
> What do you mean with 'not relocatable'? I
2011/7/29 Hendrik Sattler :
>>
>> rpm -qpi your.rpm
>>
>> you'll see a line like:
>>
>> "Relocations : (not relocatable)"
>> or
>> "Relocations : /usr"
>>
>> When an rpm is relocatable you can do
>>
>> rpm -i --prefix=/your/relocation/prefix your.rpm
>>
>> if the rpm is not relocatable you can't.
2011/8/2 Ali Ghayoor :
> Thank you Eric,
>
> I want use this inside a Cmake file not as a command line,
you can call cmake from within a CMake script using
execute_process.
> so I used the flag of "--compare_files" inside the Cmake file, but it does
> not still work.
I do not understand what yo
2011/8/22 Patrick Gampp :
> Hi all,
> I did some cmake projects on MacOSX with the Xcode-generator and everything
> works fine.
>
> But when I use the unix makefiles cmake generator, my projects cannot
> correctly be built.
> I tried to build a minimal example from the cmake Tutorial, where step1
2011/8/23 Renato Utsch :
> Hello CMake Experts!
>
> I don't know if it's here that I have to ask, so if I'm wrong, please tell
> me.
>
> I used the CPack and it stopped making the binary package at the middle of
> the process, running like this:
>From the trace you gave it does not stopped it goes
2011/9/7 Firegurafiku :
> Is there a way to indirectly call a function which name is a variable?
> I want to do something like that:
>
> function(avr_compiler_gcc_cflags CFLAGS) ...
> function(avr_compiler_iar_cflags CGLAGS) ...
>
> set(COMPILER "gcc")
> call("avr_compiler_${COMPILER}_c
2011/9/7 Firegurafiku :
Do not forget to CC the ML (or reply to ML).
>> With CMake:
>> 1) you can ask CMake for "double" evaluation
>> using nested dollar ($) var value:
>>
>> Try:
>> set(COMP1_CFLAGS "Whatever")
>> set(COMP2_CFLAGS "OrElse")
>> set(COMPILER "COMP1")
>>
>>
I did forget the ML.
-- Forwarded message --
From: Eric Noulard
Date: 2011/9/9
Subject: Re: [CMake] 64 bit flags
To: pellegrini
2011/9/9 pellegrini :
> Hello everybody,
>
> I have a Fortran project that is currently built (using gfortran, g95 or
> ifort) on 32 b
2011/9/12 Akshay :
> Hello All,
>
> I have recently ported my project software tree to CMake and I am pretty
> happy about it. There is a last step which is proving quite elusive to me.
> The targets that are built in the software tree are TGZ'd for final
> distribution, however, CPack if run from
2011/9/12 Akshay :
> Hi Eric,
Hi,
Please do not drop the ML address.
> 'make install' puts the targets in the directories that I have set in the
> main CMakeLists.txt.
>I am using CMake 2.8.0 on Ubuntu x64 (Linux valhala
> 2.6.38-10-generic #46~lucid1-Ubuntu SMP Wed Jul 6 18:41:04 UTC 2011 x86_6
2011/9/12 Akshay :
> Hi Eric,
>
> Just to clarify, INSTALL command are present in the sibling source
> directories' CMakeLists.txt and not in the main CMakeLists.txt. Would this
> change the behavior of CPack (which is present only in the main
> CMakeLists.txt) ?
No it shouldn't.
Provided that:
a
2011/9/13 Federico Carminati :
> Dear All,
>is there a way to specify the link command in CMake? If I specify
>
> export LD=/usr/bin/ld ; cmake $MY_SOURCE_DIRECTORY
>
> it is not taken and if I set
I dont' know if LD env var is supposed to be used at all.
> cmake $MY_SOURCE_DIRECTORY \
> -DC
301 - 400 of 1869 matches
Mail list logo