On 02/02/2012 08:44 AM, Joakim Hove wrote:
First you should use the COMPONENT parameter of the INSTALL command.
See:
cmake --help-command install
and
http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack
then you may install all the target/files/...
I implemented the make install-foo feature some time ago, but didn't
find the time to write the required tests, so it never got merged into
CMake:
OK - I have never looked at the CMake source code, and am in general quite
rusty in C++ - but in my opinion this would have been a very valuable
2012/2/2 Joakim Hove joakim.h...@gmail.com:
I implemented the make install-foo feature some time ago, but didn't
find the time to write the required tests, so it never got merged into
CMake:
OK - I have never looked at the CMake source code, and am in general quite
rusty in C++ - but in my
Dear all,
I have a problem with CheckIncludeFiles that I cannot figure out. I'm sure I'm
just making a stupid mistake though, but I am unable to figure out what. The
following code is in CMakeLists.txt:
include(CheckIncludeFiles)
check_include_files(readline/history.h HAVE_READLINE_HISTORY_H)
May be, there is an error when the compiler process the header file.
During CHECK_INCLUDE_FILES CMake invokes the Compiler to check whether
the header file works fines. In most cases reason is a missing
additional header files (but not always).
So, check the log files of CMake in the binary
On Wednesday 01 February 2012, Clifford Yapp wrote:
We currently have a minor local enhancement to CHECK_C_RUNS_SOURCE
that I would like to contribute back to the main module, if it is
acceptable to the developers of CMake:
We often have our own .c file stored in our tree for TRY_RUN
All,
I was trying to use the external project add feature to add a 32-bit VC++
project on a 64-bit parent build system.
However, I ran into problems while compiling the 32-bit project.
devenv used to complain invalid solution configuration
I tried to explicitly set CMAKE_BUILD_TYPE using -D
On Thu, Feb 2, 2012 at 12:33 PM, Sarnath K - ERS, HCLTech
k_sarn...@hcl.com wrote:
All,
I was trying to use the external project add feature to add a 32-bit VC++
project on a 64-bit parent build system.
However, I ran into problems while compiling the 32-bit project.
“devenv” used to
I'm trying to link to libraries located in /usr/lib. This
is a very simple example using boost::python and Qt.
Here's my cmake file : http://codepad.org/tZxBzXVP
I added the link_directories command only after the initial
link failed.
The docs say this is rarely needed since find_package
On 2/1/2012 2:05 PM, Roland Schulz wrote:
what is the recommended Generator to compile on Windows with ICC on the shell?
If I try to use the Visual Studio 2010 (or 2008) generator
There is an open issue tracker entry requesting direct .icproj file generation:
OK - how should I proceed? File a bug report and submit patches for
all of the files?
Cheers,
CY
On Thu, Feb 2, 2012 at 11:59 AM, Alexander Neundorf
a.neundorf-w...@gmx.net wrote:
I think so.
In this case, this should also be added to CheckCXXSourceRuns,
CheckCSourceCompiles and
Right now I wrap my Linux-based build process with a script that
features the line
REVISION=`svn info ${SRC_PATH} | awk '/^Revision/ { print $2 }'`
Which is neither OS or VCS portable.
I'm trying to put together a CPack configuration to make the builds, and
I'd like to name the resulting
Hi Micha,
Aha, thanks! That was more clever than I would expect, and it was the problem.
readline/history.h was dependent on stdio.h being include beforehand.
Just in case anyone else reads this mail in the future, here is a
documentation on how to check an array of include files:
-- Forwarded message --
From: John Drescher dresche...@gmail.com
Date: Thu, Feb 2, 2012 at 4:36 PM
Subject: Re: [CMake] Portable revision lookup?
To: Oliver kfsone Smith osm...@playnet.com
On Thu, Feb 2, 2012 at 4:10 PM, Oliver kfsone Smith osm...@playnet.com wrote:
Right now I
John Drescher said the following on 2/2/2012 3:36 PM:
Cmake has support for pulling the svn and I believe git revs using
cmake modules. Here is what I do for svn
Much appreciated -- I just didn't think to look in the Find package,
duly noted for future reference.
- Oliver
--
Powered by
Oliver kfsone Smith said the following on 2/2/2012 4:17 PM:
John Drescher said the following on 2/2/2012 3:36 PM:
Cmake has support for pulling the svn and I believe git revs using
cmake modules. Here is what I do for svn
Much appreciated -- I just didn't think to look in the Find package,
osmith@luciddev:~/pn/WW2/src$ cmake --version
cmake version 2.8.2
I can't see to get make package to generate Debian packages that
install any place but /usr/bin. (I actually want them in
/playnet/ra/bin, /playnet/ra/lib and so on)
SET(CPACK_GENERATOR DEB)
SET(CPACK_INSTALL_PREFIX
On 02.02.12 11:51:11, Alex Olivas wrote:
I'm trying to link to libraries located in /usr/lib. This
is a very simple example using boost::python and Qt.
Here's my cmake file : http://codepad.org/tZxBzXVP
I added the link_directories command only after the initial
link failed.
Using
I think 10M is an insanely large default stack size. It just encourages
people to create int foo[100][100][100] on the stack instead of learning
how to use malloc or new. When creating non-cmake Visual Studio projects
the default stack size is way more sensible. I can't see any reason to
I have a project file and within it I have created a test folder and
placed some testing code there. From my test CMakelist, I need to
access a .cpp file from the parent folder but I am not sure how to do
this?
Thus the call to add_executable fails because it can't locate the source file.
--
I don't know what the issue was, but it's fixed in a later version.
I upgraded from 2.8.2 to 2.8.7 and the problem went away.
So when you say my linker-line is wrong, you mean in the
verbose output there's no '-L/usr/lib' passed to ld, right?
Or is there something wrong with my cmake file, other
On Thu, Feb 2, 2012 at 7:46 PM, Dev Guy devguy...@gmail.com wrote:
I have a project file and within it I have created a test folder and
placed some testing code there. From my test CMakelist, I need to
access a .cpp file from the parent folder but I am not sure how to do
this?
Thus the call
That sounds about right to me. (though personally, I like to make my
tests include the files they are testing by linking to a library
containing them...)
If you wanted to abstract the location away from the test code, you
could set a variable containing the source files in a higher (or
earlier)
Hello John,
I can +vely see this behavior with the latest 2.8.7 version as well.
I am using a windows 64-bit machine with Visual studio 2008 installed on it.
This is how I use Externa Project Add command:
include(ExternalProject)
ExternalProject_Add(
gen
CMAKE_GENERATOR
On 02.02.12 18:37:03, Alex Olivas wrote:
I don't know what the issue was, but it's fixed in a later version.
I upgraded from 2.8.2 to 2.8.7 and the problem went away.
So when you say my linker-line is wrong, you mean in the
verbose output there's no '-L/usr/lib' passed to ld, right?
No, the
On 2/1/2012 10:23 PM, Bill Hoffman wrote:
On 2/1/2012 4:19 PM, Peter Kümmel wrote:
We can't use cmd. Maybe ninja could be fixed.
If not, you could come up with something that uses CMake scripts.
cmake -E foo.cmake
foo.cmake
execute_process()
Not ideal, but until ninja figures it
On 2/1/2012 5:51 PM, Jim Goodnow II wrote:
I am working on a CodeLite generator for CMake.
Great! I assume you mean http://www.codelite.org/ ?
Is there a set of tests that should be run
CMake comes with an extensive test suite that covers
the major interfaces plus many corner cases that
The following issue has been SUBMITTED.
==
http://public.kitware.com/Bug/view.php?id=12926
==
Reported By:arrowdodger
Assigned To:
On 2/2/2012 8:30 AM, Brad King wrote:
On 2/1/2012 10:23 PM, Bill Hoffman wrote:
On 2/1/2012 4:19 PM, Peter Kümmel wrote:
We can't use cmd. Maybe ninja could be fixed.
If not, you could come up with something that uses CMake scripts.
cmake -E foo.cmake
foo.cmake
execute_process()
On Thu, Feb 2, 2012 at 4:34 PM, Bill Hoffman bill.hoff...@kitware.com wrote:
On 2/2/2012 8:30 AM, Brad King wrote:
On 2/1/2012 10:23 PM, Bill Hoffman wrote:
On 2/1/2012 4:19 PM, Peter Kümmel wrote:
We can't use cmd. Maybe ninja could be fixed.
If not, you could come up with something
On 2/2/2012 10:41 AM, Nicolas Desprès wrote:
When you use scripts or file like link.txt you lose the power of the
special $in and $out variables or variable in general that are
expanded in the rule.
I am not sure what those are, must be a Ninja thing...
With windows, unless you have
Sorry for asking a question without looking into the details first...
But
Why does the ninja generator need to use ? I am pretty sure the other
CMake generators do not need to use .
-Bill
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
The following issue has been SUBMITTED.
==
http://www.cmake.org/Bug/view.php?id=12928
==
Reported By:Aron Xu
Assigned To:
The following issue has been SUBMITTED.
==
http://www.cmake.org/Bug/view.php?id=12929
==
Reported By:Zheng GONG
Assigned To:
2012/2/2 Bill Hoffman bill.hoff...@kitware.com:
Sorry for asking a question without looking into the details first...
But
No problem.
Why does the ninja generator need to use ? I am pretty sure the other
CMake generators do not need to use .
Most of them come from the working
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, master has been updated
via 46a734cdbd4c2ffb5af64a3f0d8a5c48c47b8140 (commit)
from
36 matches
Mail list logo