On 03/13/2012 09:55 PM, Brad King wrote:
On Tue, Mar 13, 2012 at 4:43 PM, Alexander Neundorf neund...@kde.org wrote:
We could also not set pkg_FIND_REQUIRED_component, or set it to 0
(which
would mean it is not required).
Even better. One can loop over the_FIND_COMPONENTS list and then
On 03/13/2012 10:10 AM, Kurien Mathew wrote:
Hello,
I have a solution (collection of projects) that is built using cmake. In this
solution some projects depend on 3rd party projects that use gnu autotools. I
would like to build and link to these autotools based projects from the cmake
On 03/10/2012 02:25 PM, Alexander Neundorf wrote:
On Friday 09 March 2012, Michael Hertling wrote:
On 03/05/2012 02:04 AM, Stephen Kelly wrote:
...
I don't actually see the problem with checking Qt5_XYZ_FOUND. Unset
variables are well defined as false in the if() command. Maybe I
On 03/12/2012 07:32 PM, Robert Dailey wrote:
What is the precedence for logical operators (specifically in IF
conditions)?
Consider: STREQUAL, AND, OR (plus any others)
Documentation of IF():
...there is a traditional order of precedence. Parenthetical
expressions are evaluated first
On 03/08/2012 05:40 PM, buzz clay wrote:
Hi,
I have not been able to find the answer to my current problem so I thought
I'd try a new post. Before diving into the details, please be aware that
the code I am writing compiles/runs perfectly with a personal Makefile I
wrote.
My code is
On 03/11/2012 10:27 PM, Totte Karlsson wrote:
Hi,
My project depends on several third party libraries, e.g. vtk. I wonder, if
it
is possible to setup using CMake so that when building my project, necessary
third party libs are built as well.
Or is it advisable to keep it separate?
My
On 03/05/2012 02:04 AM, Stephen Kelly wrote:
Michael Hertling wrote:
* Currently there is no Qt5Config.cmake.
Such a thing could probably exist and use the FIND_COMPONENTS to find
what was requested. [...]
Hi there,
Thank you for your insights on this issue. Do you have any other
On 02/27/2012 10:05 PM, Brad King wrote:
On 2/27/2012 3:37 PM, Michael Wild wrote:
On 02/27/2012 09:15 PM, Alexander Neundorf wrote:
When the FooConfig.cmake has been found, Foo_FOUND is set to TRUE:
// Set a variable marking whether the package was found.
std::string foundVar =
On 02/27/2012 09:15 PM, Alexander Neundorf wrote:
Hi,
I think find_package in Config mode might still need some more work.
When the FooConfig.cmake has been found, Foo_FOUND is set to TRUE:
// Set a variable marking whether the package was found.
std::string foundVar = this-Name;
On 03/07/2012 11:29 AM, Alexander Dahl wrote:
Hello Michael,
Am 2012-03-06 16:46, schrieb Michael Hertling:
or possibly better:
# libbar/bar-config.cmake.in:
FIND_PACKAGE(FOO PATHS @FOO_DIR@ NO_DEFAULT_PATH)
I used
FIND_PACKAGE(FOO 0.1.0 REQUIRED)
in the package config file now
On 03/07/2012 04:10 PM, Michael Jackson wrote:
In an effort to speed up the build of a project that uses Qt (and moc) I
tried an alternate approach with the moc files. Normally I use the basic idea
of gathering the headers that need to be moc'ed and feed those to moc with
this type of CMake
On 03/06/2012 02:34 AM, Christopher Piekarski wrote:
Hello All,
I am trying to attach a custom POST_BUILD command to the ALL_BUILD target.
I've tried adding the following at the bottom of my root CMakeLists.txt
file but the Post Event never shows up in Visual Studio. I have been able
to get
On 03/06/2012 12:21 PM, Andrea Crotti wrote:
On 03/06/2012 07:23 AM, Michael Hertling wrote:
On 03/05/2012 05:59 PM, Andrea Crotti wrote:
I'm having the following behaviour, and I can't quite understand the
error message:
..
Built target psi.utility_install
..
make[3]: *** No rule to make
On 03/06/2012 02:47 PM, Andrea Crotti wrote:
On 03/06/2012 01:45 PM, Michael Hertling wrote:
Could you post the lines which define those targets psi.utility_install
and install_all_eggs, or is this quite tricky, too? Do these lines stem
from the same CMakeLists.txt? IIRC, the no rule to make
On 03/06/2012 02:47 PM, Alexander Dahl wrote:
Hei hei,
we faced a build problem with transitive linking of separate projects
where I can't find the right solution on my own. I hope someone can give
me a hint. I prepared a test case with two libraries libfoo and libbar
and an application
On 03/04/2012 11:01 AM, Andreas Guther wrote:
Hello,
thanks for the responses. The problem I have is, that we have more than one
application in the directory. So if I put an CMakeLists.txt in the Src
directory I do not have the choice (only by options). I would prefer a
solution where I
On 03/05/2012 10:43 AM, Johannes Zarl wrote:
On Saturday 03 March 2012, 02:29:05, Robert Dailey wrote:
Well you're really comparing apples to oranges. C++ nested scoping rules
really have nothing to do with two separate functions sharing scoped
variables. It doesn't even really serve as a good
On 03/05/2012 05:59 PM, Andrea Crotti wrote:
I'm having the following behaviour, and I can't quite understand the
error message:
..
Built target psi.utility_install
..
make[3]: *** No rule to make target `psi.utility_install', needed by
`CMakeFiles/install_all_eggs'. Stop.
make[2]:
* they are equal
to their respective destination file? How do you determine that they
have been copied? Do you check the timestamps? With --full-time?
Regards,
Michael
PS: Does org.antlr.Tool write to the source tree? If so: Don't do that.
On Sat, Mar 3, 2012 at 3:54 PM, Michael Hertling mhertl
folder and
run it there. The new CMakeLists is at
http://pastie.org/private/p1yi0l8so9cqimqlywfmhw
Thank You
Ajay
On Sun, Mar 4, 2012 at 12:52 AM, Michael Hertling mhertl...@online.dewrote:
On 03/04/2012 01:06 AM, Ajay Panyala wrote:
Please provide a minimal but complete example
.
Yes, it is.
Regards,
Michael
On Sun, Mar 4, 2012 at 4:05 PM, Michael Hertling mhertl...@online.dewrote:
On 03/04/2012 08:02 PM, Ajay Panyala wrote:
The following project is a boiled-down version of yours but doesn't
need any programs except for CMake - that's what I actually meant
On 03/03/2012 10:36 PM, Ajay Panyala wrote:
Try cmake -E copy_if_different ...
cmake -E copy_if_different build/test1.c build/tests/test1.c
That would work when make is run atleast once.
When running make for the 1st time test1.c was never
copied to build/tests before. So I would be
On 03/02/2012 02:48 PM, NoRulez wrote:
Hello,
I use Qt 4.8.0 from the QtSDK and Iwant to generate a static qt plugin.
In my main.cpp I have the following:
#includeQApplication
#includeQtPlugin
Q_IMPORT_PLUGIN(Local)
intmain(intargc,char*argv[]){
QApplicationapp(argc,argv);
but complete example for this issue.
Regards,
Michael
On Sat, Mar 3, 2012 at 2:47 PM, Michael Hertling mhertl...@online.dewrote:
On 03/03/2012 10:36 PM, Ajay Panyala wrote:
Try cmake -E copy_if_different ...
cmake -E copy_if_different build/test1.c build/tests/test1.c
That would work when
On 02/29/2012 05:35 PM, Number Cruncher wrote:
Do transitive dependencies reduce number of jobs that can be compiled in
parallel?
If I have two libraries A and B, with an executable C, whose
dependencies are described by:
add_library(A ${A_SRC})
add_library(B ${B_SRC})
, Feb 29, 2012 at 9:54 PM, Michael Hertling mhertl...@online.dewrote:
On 03/01/2012 01:38 AM, Robert Dailey wrote:
I ran a quick test:
function( test )
message( SOME_TEST: ${SOME_TEST} )
endfunction()
function( start )
set( SOME_TEST HELLO WORLD )
test()
endfunction()
start()
Seems
:53 PM, Michael Hertling mhertl...@online.dewrote:
On 03/01/2012 06:01 PM, Robert Dailey wrote:
No, the print statement is not missing. In fact it prints just fine
(function test() is able to obtain the value for variable SOME_TEST).
I meant the output SOME_TEST: HELLO WORLD was missing
On 03/01/2012 10:08 PM, Alexander Neundorf wrote:
On Thursday 01 March 2012, Michael Hertling wrote:
On 02/28/2012 10:03 PM, Alexander Neundorf wrote:
...will reply later in detail.
Could you please go through the existing find-modules shipped with cmake
which support COMPONENTS and make
On 02/28/2012 10:03 PM, Alexander Neundorf wrote:
...will reply later in detail.
Could you please go through the existing find-modules shipped with cmake
which
support COMPONENTS and make a summary of how they handle them ?
At least FindQt4.cmake be default searches all components.
On 03/01/2012 01:38 AM, Robert Dailey wrote:
I ran a quick test:
function( test )
message( SOME_TEST: ${SOME_TEST} )
endfunction()
function( start )
set( SOME_TEST HELLO WORLD )
test()
endfunction()
start()
Seems like a function has access to the calling scope's defined
On 02/26/2012 11:24 AM, Alexander Neundorf wrote:
On Sunday 26 February 2012, Michael Hertling wrote:
On 02/25/2012 09:43 AM, Alexander Neundorf wrote:
On Friday 24 February 2012, Michael Hertling wrote:
On 02/24/2012 03:34 PM, Stephen Kelly wrote:
...
[...] (that is, find_package(Qt5
On 02/25/2012 09:43 AM, Alexander Neundorf wrote:
On Friday 24 February 2012, Michael Hertling wrote:
On 02/24/2012 03:34 PM, Stephen Kelly wrote:
...
[...] (that is, find_package(Qt5 REQUIRED
Gui Xml) might not find QtXml, but Qt5_FOUND would still be true if the
Qt5Config file is found
On 02/24/2012 03:34 PM, Stephen Kelly wrote:
Just forwarding to the cmake users list.
Stephen Kelly wrote:
Hi there,
Qt5 generates its own CMake files, which you will be able to use to find
Qt5 and build with it.
That is, you will port from, eg
find_package(Qt4 REQUIRED Core
On 02/24/2012 06:16 PM, Kris Thielemans wrote:
Hi
I have a project where I have C++ and C source files. I'm adding executables
for this (via macros) like this
foreach(executable ${SOURCES})
add_executable(${executable} ${executable} )
target_link_libraries(${executable}
On 02/25/2012 03:16 AM, Sumit Kumar wrote:
Hello
I would like to recursively copy folders/subfolders when I do a make install.
In addition, I would like to copy certain file patterns (typically *.h) files
that may be in these folders. I can do this for individual files (by doing a
glob
On 02/22/2012 05:02 PM, Andrea Crotti wrote:
Again I'm having some troubles with the different building stages:
I would like to have a target that simply unzips all the files contained
in a directory,
which can be found with a simple globbing.
add_custom_target(unzip_all_eggs
On 02/22/2012 04:43 PM, Andrea Crotti wrote:
I would like to be able to pass arguments to my generated Makefile.
Suppose I use an environment variable like this:
add_custom_target(run_dev_script
COMMAND ${PYTHON_EXECUTABLE} ${PREREQUISITE}
COMMAND ${PYTHON_EXECUTABLE} ${SCRIPT}
On 02/22/2012 06:32 PM, Andrea Crotti wrote:
On 02/22/2012 05:25 PM, Michael Hertling wrote:
On 02/22/2012 04:43 PM, Andrea Crotti wrote:
I would like to be able to pass arguments to my generated Makefile.
Suppose I use an environment variable like this:
add_custom_target(run_dev_script
On 02/22/2012 07:21 PM, Andrea Crotti wrote:
On 02/22/2012 05:14 PM, Michael Hertling wrote:
On 02/22/2012 05:02 PM, Andrea Crotti wrote:
Again I'm having some troubles with the different building stages:
I would like to have a target that simply unzips all the files contained
in a directory
On 02/20/2012 10:07 PM, Kevin Schmidt wrote:
Hello,
I'm in the process of converting over a large, monolithic tree with many
libraries from a custom build solution over to cmake. So far, we've loved
it. I am wondering about others' solutions to a problem we have encountered.
We have
On 02/22/2012 11:55 PM, Andrea Crotti wrote:
On 02/22/2012 09:37 PM, Michael Hertling wrote:
In order to define one target per egg, you'd need to know the eggs at
configuration time since you cannot define targets at build time. So,
gathering the eggs with a custom target/command
On 02/23/2012 12:04 AM, John Drescher wrote:
And another thing, is it actually \${SCRIPT} a portable solution that works
on all the generators?
This is not about generators but about what shell you are running
cmake from. For example that would not work on windows since the
command prompt
On 02/17/2012 01:36 AM, Dougal Sutherland wrote:
I have an application where I want to link some targets against shared
versions of Boost and some against static versions.
(I'd prefer shared in general, but I need to link against the static
version of boost for my matlab mex interface, to
On 02/16/2012 03:14 PM, Barth wrote:
Hi again,
I have understood what you meant :)
Hhm, actually, I talked nonsense w.r.t. DIM_USE_STATIC. ;)
For records here is what I did :
# (1) Use FIND_LIBRARY() to look for the shared and the static library
# and define DIM_SHARED_LIBRARY and
On 02/15/2012 03:48 PM, Barth wrote:
Hello,
I am trying to write a Find script for a library called DIM. It is something
basic but I have a problem with caching. I have an option to force choosing
the static library over the shared one :
Then, I decide what is the name of the library to
On 02/13/2012 09:02 AM, Nicholas Yue wrote:
On 13/02/12 6:47 PM, Eric Noulard wrote:
2012/2/13 Nicholas Yueyue.nicho...@gmail.com:
Hi,
There is an existing project I have access to that already have CMake
configuration file but the way it is written requires alot of preprocessing
steps
On 02/10/2012 09:41 AM, Eric Noulard wrote:
2012/2/10 Stefan Fendt ste...@sfendt.de:
Hi,
I'm (still) quite unsure if this isn't an FAQ (or if not maybe should be
one), but I have read through everything I could google-up regarding
this topic and found nothing usable...
I'm writing an
On 02/10/2012 03:59 PM, Robert Dailey wrote:
I actually found that using the following worked the exact same for me:
set( var PARENT_SCOPE )
It passed the NOT test in my if condition:
if( NOT var )
...
endif()
Does it pass the NOT DEFINED test, too? There's a difference between
an
On 02/10/2012 09:15 AM, Matt Fair wrote:
I'd like to be able to pipe cmake output and still have the ansi color
codes when the output is not TTY, is there a way to do this?
Thanks,
Matt
You might do this by yourself using sed/awk/perl/... and the ANSI CSIs;
refer to [1] for a similar example.
On 02/07/2012 02:43 PM, janitor 048 wrote:
Hello,
this is a question I recently asked on stackoverflow (
http://stackoverflow.com/questions/9129233/recommended-ways-to-use-cmake-with-icc-via-configuration-options)
but that has not received any response since then. Maybe this mailing list
is
On 02/08/2012 11:13 PM, Oliver kfsone Smith wrote:
Michael Hertling said the following on 2/6/2012 6:39 PM:
On 02/06/2012 10:56 PM, Alexander Neundorf wrote:
On Saturday 04 February 2012, Oliver Smith wrote:
My CMakeLists uses the Subversion repository information in a couple of
places
On 01/13/2012 08:02 PM, Michael Hertling wrote:
On 01/13/2012 03:42 PM, Bill Hoffman wrote:
On 1/13/2012 9:10 AM, Michael Hertling wrote:
With CMake 2.8.7 and VS 2008, I can report the following findings:
(1) Starting out from within an empty build directory: cmake ..
followed by cmake
On 02/06/2012 10:56 PM, Alexander Neundorf wrote:
On Saturday 04 February 2012, Oliver Smith wrote:
My CMakeLists uses the Subversion repository information in a couple of
places (it configures a file revision.h and it uses it for the CPack
package name).
The problem is that this variable is
On 01/31/2012 09:14 PM, Jim Galarowicz wrote:
Hi all,
I'm running into issues with cmake or likely our set-up/usage of cmake, when
trying to build the component based tool framework (CBTF) with cmake.
The issue I'm seeing only occurs on machines where binutils-devel is not
installed and
On 01/31/2012 02:43 PM, Massaro Alessio wrote:
Hi There
I googled near and far, but could not find a way to tell CTest where to find
the 3rd-party DLLs required to run the test executables.
In particular my executable targets link with a few Boost DLLs/SOs and
obviously require them to
, 2012 at 4:52 PM, Michael Hertling mhertl...@online.dewrote:
On 01/13/2012 05:06 PM, David Cole wrote:
On Fri, Jan 13, 2012 at 10:22 AM, Michael Hertling mhertl...@online.de
wrote:
On 01/12/2012 10:23 PM, Robert Dailey wrote:
I see there is documentation for this but it doesn't have
On 01/21/2012 11:28 AM, Dominik Szczerba wrote:
On Sat, Jan 21, 2012 at 10:50 AM, Dominik Szczerba domi...@itis.ethz.ch
wrote:
You might use an EXECUTE_PROCESS() command at the beginning of your
CMakeLists.txt to unload the modules, and another EXECUTE_PROCESS()
at the end to reload them.
On 01/21/2012 10:51 PM, Oliver Smith wrote:
I have a script that generates a revision.h file, I've spent the morning
trying to figure out how to make it so that ... any time CMake rebuilds
any of the other targets, it starts by running the make-new-revision script.
The idea is, I use the
On 01/20/2012 01:57 PM, Dominik Szczerba wrote:
Hi,
I am building a big software framework on a cray system whereby during
cmake configuration phase I need to unload certain system modules
(so that some small test programs are allowed to run without
scheduler) and afterwards, before the
On 01/19/2012 11:09 PM, Oliver kfsone Smith wrote:
I realize not every build environment supports the option, but is there
a way to get CMake to generate Makefiles which aggregate source files, e.g.
$ g++ -pipe -o library.a lib1.cpp lib2.cpp lib3.cpp
$ g++ -pipe -o exeutable file1.cpp
On 01/19/2012 08:15 AM, Dev Guy wrote:
On Thu, Jan 19, 2012 at 1:01 AM, John Drescher dresche...@gmail.com wrote:
-- Forwarded message --
From: John Drescher dresche...@gmail.com
Date: Thu, Jan 19, 2012 at 1:00 AM
Subject: Re: [CMake] building libs and specifying addition
On 01/16/2012 02:38 PM, paspa...@noos.fr wrote:
I am new with kdevelop and cmake so apologize for this pretty naive question,
I
create in kdevelop a proj3 project and want to link a library so I create a
second project projA within the proj3 directory
the projA CMakelist is
De : Michael Hertling mhertl...@online.de
À : cmake@cmake.org
Objet : Re: [CMake] shared library with CMake in kdevelop4
Date : 16/01/2012 15:39:29 CET
On 01/16/2012 02:38 PM, paspa...@noos.fr wrote:
I am new with kdevelop and cmake so apologize for this pretty naive
question
On 01/10/2012 07:09 PM, Óscar Fuentes wrote:
Michael Hertling mhertl...@online.de
writes:
But aren't the issues related at least?
Dunno.
If I understand
correctly, cmake --build invokes MSBuild which
- loads the solution file and the project files,
- reinvokes CMake via
On 01/12/2012 10:23 PM, Robert Dailey wrote:
I see there is documentation for this but it doesn't have an implementation
for VS generators:
http://www.cmake.org/Bug/view.php?id=5811
Any status updates on this bug? I'd like to be able to create my own debug
configuration called DebugStatic
On 01/13/2012 03:42 PM, Bill Hoffman wrote:
On 1/13/2012 9:10 AM, Michael Hertling wrote:
With CMake 2.8.7 and VS 2008, I can report the following findings:
(1) Starting out from within an empty build directory: cmake ..
followed by cmake --build . configures/builds as expected.
(2
On 01/13/2012 05:06 PM, David Cole wrote:
On Fri, Jan 13, 2012 at 10:22 AM, Michael Hertling mhertl...@online.de
wrote:
On 01/12/2012 10:23 PM, Robert Dailey wrote:
I see there is documentation for this but it doesn't have an implementation
for VS generators:
http://www.cmake.org/Bug
On 01/11/2012 04:52 PM, David Cole wrote:
On Wed, Jan 11, 2012 at 10:10 AM, Michael Hertling mhertl...@online.de
wrote:
On 01/07/2012 03:52 PM, David Cole wrote:
On Sat, Jan 7, 2012 at 9:47 AM, David Cole david.c...@kitware.com wrote:
On Fri, Jan 6, 2012 at 10:54 PM, Michael Hertling mhertl
On 01/10/2012 07:17 PM, vivek goel wrote:
Is there a way to color warning/error of gcc with cmake ?
AFAIK, no, but you might remember the power of *nix, feed the output
of make VERBOSE=1 21 into sed/awk/perl/your-favorite-here and
use ANSI Control Sequence Initiators:
On 01/07/2012 03:52 PM, David Cole wrote:
On Sat, Jan 7, 2012 at 9:47 AM, David Cole david.c...@kitware.com wrote:
On Fri, Jan 6, 2012 at 10:54 PM, Michael Hertling mhertl...@online.de
wrote:
On 01/06/2012 07:51 PM, Kevin Burge wrote:
Thanks David. These are external libraries built outside
On 01/09/2012 02:34 PM, David Cole wrote:
On Sun, Jan 8, 2012 at 11:59 PM, Óscar Fuentes o...@wanadoo.es wrote:
When MSBuild.exe is used (typically by cmake --build) for building a
VS2010 project generated by cmake, it correctly invokes cmake for
regenerating the project files if changes to
On 01/09/2012 10:05 AM, Michael Stürmer wrote:
I have found some topics related to my issue on the web, but none so far
helped me to fix it:
I use Visual Studio 2010 on Windows 7 64Bit.
During my build, all binaries are collected in one folder, which makes it
easier for me to debug
On 01/09/2012 07:56 PM, Óscar Fuentes wrote:
Michael Hertling mhertl...@online.de
writes:
On 01/09/2012 02:34 PM, David Cole wrote:
No trick, but to avoid this, perhaps we should change the --build
handler to run the cmake configure generate step before calling out
to MSBuild. You can
On 01/07/2012 12:56 AM, Paweł Sikora wrote:
Hi,
i'm trying to setup a toolchain file for cross-compilation with target specfic
options and afaics cmake dosen't use flags from such file:
$ cat CMakeLists.txt
cmake_minimum_required( VERSION 2.8.7 )
project( test CXX )
add_executable(
On 01/06/2012 07:51 PM, Kevin Burge wrote:
Thanks David. These are external libraries built outside of CMake,
without CMake, not imported via any of the import capabilities of cmake,
and that need to be installed alongside my CMake built files. I think
I'm just going to do the install
On 01/05/2012 02:42 PM, Mateusz Loskot wrote:
On 5 January 2012 12:31, vivek goel goelvivek2...@gmail.com wrote:
I am using code
where f contains the file name
set(MY_PATH -D__RELATIVE_PATH__=\\\ab\\\)
set_source_files_properties(${f} PROPERTIES
COMPILE_FLAGS ${MY_PATH})
I am not able
On 12/31/2011 02:10 AM, Robert Dailey wrote:
I'd like to introduce boost into CMake for this.
Whenever I've advocated CMake as build system, one of the strongest
selling points has been its self-sufficiency, i.e. the fact that it
does not have any external dependencies except for a C++
On 12/29/2011 08:01 PM, Denis Scherbakov wrote:
Dear All!
Maybe someone can help me: I have a project, we compile binaries and then
using various INSTALL directives finish the job by copying files where they
belong: to bin, man, libexec, etc. The point is, we need to run
executables after
()
PROJECT(... RC)
(2) Have you already complaint to the Winteracter people w.r.t. their
RC's behavior? ;-) IMO, forcing the output into the same location
as the input is hardly acceptable, as source trees might be read-
only.
Regards,
Michael
Michael Hertling a écrit :
On 10/25/2011
On 01/04/2012 10:11 PM, Bill Hoffman wrote:
On 1/4/2012 4:03 PM, Michael Jackson wrote:
I robbed this from the HDF5 project which does something very similar to
what I am doing:
SET (CMD ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${CFG_INIT}/H5detect${EXE_EXT})
That seems to at least point to the
On 01/01/2012 07:47 AM, Gary Kramlich wrote:
On 12/31/2011 05:03 PM, Robert Dailey wrote:
Storing the source directory will require the exact idea you had
mentioned. Use an internal cache variable or, even better, a target
property. This is how I have done it. Each target that I create
On 12/28/2011 05:39 PM, Belcourt, K. Noel wrote:
Hi Aaron,
On Dec 27, 2011, at 11:04 PM, Aaron Ten Clay wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/27/11 16:16, Belcourt, Kenneth wrote:
I'm trying to get CMake to execute this command
INSTALL(CODE
EXECUTE_PROCESS
On 12/13/2011 11:19 PM, Michael Hertling wrote:
On 12/13/2011 09:21 PM, David Cole wrote:
On Tue, Dec 13, 2011 at 2:09 PM, Robert Dailey rcdai...@gmail.com wrote:
Thanks for the info. It's a bit disappointing that it doesn't work like I
expect. The CMAKE_MFC_FLAG should work as you say
On 12/01/2011 06:04 PM, Robert Dailey wrote:
On Wed, Nov 30, 2011 at 7:18 PM, Michael Hertling mhertl...@online.dewrote:
On 11/30/2011 03:29 AM, Robert Dailey wrote:
I use macros so the _array2d_ variables fall through the scope of the
macro
and are available in the next call
On Thu, Dec 1, 2011 at 11:04 AM, Robert Dailey rcdai...@gmail.com wrote:
On Wed, Nov 30, 2011 at 7:18 PM, Michael Hertling mhertl...@online.dewrote:
On 11/30/2011 03:29 AM, Robert Dailey wrote:
I use macros so the _array2d_ variables fall through the scope of the
macro
and are available
On 12/13/2011 11:00 PM, Biddiscombe, John A. wrote:
Sure, when project A is loaded into project B it either needs to search and
load the hdf5 cmake file or require that to be done in project B before
loading project A. Then the hdf5 target will be known in project B too and
linking will
On 12/15/2011 02:34 PM, Renato Utsch wrote:
Hello,
I am writing a plugin compiler that will do linke this:
-- main
plugin
| CMakeLists.txt (in the plugin folder)
-- example (example plugin)
--| CMakeLists.txt (in the example folder)
The CMakeLists.txt file inside the
correctly,
although you'd prefer to have just one. BTW, is this really bad?
Regards,
Michael
PS: Please don't drop the ML.
I am used to mailing lists having the reply-to set, will try to keep it in
mind.
2011/12/13 Michael Hertling mhertl...@online.de
On 12/12/2011 11:40 AM, Alexander
On 12/14/2011 10:55 AM, Alexander Broekhuis wrote:
Hi,
Thanks for you replies,
In my case the output is the ZIP file. So the zip file is produced by the
top level target, and I don't want/need a separate target for it.
Yes but CMake's jobs is to build libraries and executables not
the former changes? AFAICS, that's not the case, so the manifest
should not be considered as one of the library's prerequisites.
Regards,
Michael
2011/12/13 Michael Hertling mhertl...@online.de
On 12/12/2011 11:40 AM, Alexander Broekhuis wrote:
Hi,
Can anyone help me with this? I haven't
On 12/14/2011 09:43 AM, Totte Karlsson wrote:
On 12/13/2011 4:15 PM, David Cole wrote:
RUNTIME_OUTPUT_DIRECTORY is a target property, not a variable. You'd
have to use get_property to retrieve its value, not
${RUNTIME_OUTPUT_DIRECTORY}...
Thanks! I ended up with the following, in the
On 12/12/2011 08:42 PM, Jos van den Oever wrote:
I'm trying to get get CMake to do the equivalent from this Makefile. I'm
using
cp in this simple example, but want to use different commands in my project.
==Makefile==
srcdir=..
hij: a/efg
cp a/efg hij
a/efg: $(srcdir)/a/abc
On 12/12/2011 11:40 AM, Alexander Broekhuis wrote:
Hi,
Can anyone help me with this? I haven't found a proper solution myself yet..
Does the following examplary project do what you intend?
CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
PROJECT(P C)
SET(CMAKE_VERBOSE_MAKEFILE ON)
# The
On 12/13/2011 02:00 PM, Totte Karlsson wrote:
Hi,
I'm using cmake with codegear compiler. I have been able to setup a build
system
to compile some dll's and executables.
When compiled in Debug mode, a extra .tds file is generated and placed in the
same folder as the executable, or dll. In
the library has
been (re)built. This could also be slightly more efficient.
Regards,
Michael
PS: Please don't drop the ML.
2011/12/13 Michael Hertling mhertl...@online.de
On 12/12/2011 11:40 AM, Alexander Broekhuis wrote:
Hi,
Can anyone help me with this? I haven't found a proper solution myself
On 12/13/2011 04:04 PM, Totte Karlsson wrote:
not sure if the following was sent to the newsgroup?
Wasn't. ;-)
Sorry if posting double..
Only to me. ;)
set_property(DIRECTORY PROPERTY ADDITIONAL_MAKE_CLEAN_FILES
On 12/12/2011 04:36 PM, Michael Wild wrote:
On 12/12/2011 04:29 PM, Totte Karlsson wrote:
At build time:
ADD_CUSTOM_COMMAND(TARGET OneOfYourExecutables
COMMAND ${CMAKE_COMMAND} -E copy_if_different
path/to/input.txt $TARGET_FILE_DIR:OneOfYourExecutables)
On 12/13/2011 09:21 PM, David Cole wrote:
On Tue, Dec 13, 2011 at 2:09 PM, Robert Dailey rcdai...@gmail.com wrote:
Thanks for the info. It's a bit disappointing that it doesn't work like I
expect. The CMAKE_MFC_FLAG should work as you say the link flags should, but
it does not. As long as
On 12/07/2011 09:09 PM, Robert Dailey wrote:
Anyone?
AFAICT, all generator expressions documented for ADD_CUSTOM_COMMAND()
and ADD_TEST() also work for ADD_CUSTOM_TARGET() although this isn't
mentioned explicitly. IMO, you should file an appropriate bug report
in order to have
On 12/05/2011 10:30 PM, Totte Karlsson wrote:
Hi,
I have a tree of applications, some needing an inoput file to run. I have
CMake
compiling all of them and moving the executables to
EXECUTABLE_OUTPUT_PATH. In the src directories, I have some input.txt files
that
I want to be moved to
1 - 100 of 708 matches
Mail list logo