I was trying to do this:
find_package(ICU 59.1 QUIET
COMPONENTS
data
i18n
io
tu
uc
)
if(ICU_FOUND)
include_directories(BEFORE ${ICU_INCLUDE_DIRS})
message("ICU_LIBRARIES=${ICU_LIBRARIES}")
endif()
And at configuration time, ICU_FOUND was turning up with double quotes
around it, and as we
There are some things I'm trying to do in setting up a config file for
the FCGI2 library:
https://github.com/FastCGI-Archives/fcgi2.git
And in going from an autoconf configuration to a CMake configuration
there are some stumpers:
/* Define if the fpos_t typedef is in stdio.h */
/*
That works for me, but is this a documented thing anywhere?
On 10/22/19 4:22 PM, Roger Leigh wrote:
On 22/10/2019 21:51, Kent Williams wrote:
find_package(ICU REQUIRED)
It reports failure to find ICU, and I can't work out what I'm
supposed to do:
CMake Error at
/usr/share/cmake
This is a development system we're just standing up using Centos 8.
Linux build8.leepfrog.com 4.18.0-80.7.1.el8_0.x86_64 #1 SMP Sat Aug 3
15:14:00 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
cmake version 3.11.4
gcc version 8.2.1 20180905 (Red Hat 8.2.1-3) (GCC)
Installed Packages
This used to work.
Linux build6.leepfrog.com 2.6.32-642.6.2.el6.i686 #1 SMP Wed Oct 26
06:14:53 UTC 2016 i686 i686 i386 GNU/Linux
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
The first part of the bootstrap succeeds, and then running the second stage
yields this:
loading initial cache file
I'm building the Mozilla Spidermonkey JS interpreter as an ExternalProject.
So far so good, but I had a question/feature request: Wouldn't it be grand
to be able to add --depth 1 to the git clone? This is perfect for grabbing
giant repositories. Mozilla is more than 3 gigabytes with a full
As I'm now deep in tracing through 80K lines of cmake --trace output, man
I'd love some sort of CMake debugger!
Actually if you use Emacs you can kinda sorta do tracing -- run CMake with
the --trace parameter in the compile bufffer (i.e. alt-x compile command)
and then the Emacs next-error steps
Are FindTIFF.cmake and FindJPEG.cmake really old and neglected?
Neither seems to bother looking at TIFF_DIR or JPEG_DIR -- you have to set
TIFF_LIBRARY and TIFF_INCLUDE_DIR (or JPEG_LIBRARY and JPEG_INCLUDE_DIR).
find_package is a great facility but I find myself having to look at the
actual
The specific problem I'm trying to solve:
Build DCMTK library, along with libraries upon which it depends, for use by
ITK as a 'system library'
The problem: Setting up the External Projects is simple enough; the problem
is that the revision/configuration of TIFF -- 3.9.4 -- by default requires
This is a good start. There's only one problem: What happens if CMake
isn't installed. Searching for a proper version of CMake should be dine in
the script as well.
It should also generate a config.status file. This need not be incredibly
sophisticated, but since autoconf always generates one,
fine here? (I had to manipulate the linker-order of
DCMTK a bit but that's almost to be expected, sadly).
You're saying that when you find_package(DCMTK) it's libraries doesn't
include some library it needs?
On 2013-14-02, at 16:45:12 , Kent Williams wrote:
The specific problem I'm trying
I was looking for documentation in the CMake manual for
CMAKE_OSX_ARCHITECTURES. This is a list of architectures, the possible
choices are:
i386;x86_64;ppc;ppc64
But this is not mentioned in the CMake documentation. Shouldn't it be?
--
Powered by www.kitware.com
Visit other Kitware
Building on OS X 10.7.5 with XCode 4.5.2
Compiling with default compiler Apple clang version 4.1
(tags/Apple/clang-421.11.66)
The packages available for download on cmake.org are named
http://www.cmake.org/files/v2.8/cmake-2.8.10.2-Darwin64-universal.dmg
My question is this: how is the
=36b095287e80d26ed1b684b6c1a69d9bda1963ba;hb=HEAD#l19
Hth
Jc
On Tue, Feb 5, 2013 at 9:47 AM, Kent Williams
nkwmailingli...@gmail.comwrote:
Building on OS X 10.7.5 with XCode 4.5.2
Compiling with default compiler Apple clang version 4.1
(tags/Apple/clang-421.11.66)
The packages available for download on cmake.org
They are two different things entirely.
add_subdirectory is used when you have a project structured hierarchically
in directories and subdirectories, but you want the entire project
configured at one time.
ExternalProject is used to download, configure and build a project that is
a prerequisite
The real world example is Slicer --
http://www.slicer.org/pages/DeveloperOrientation
This is rather a large and complex project and the way they do somethings
is hard to decode.
Make sure you read through and understand this:
Thanks for all your help. It does seem like you can spend a long time
working with CMake (nearly 10 years for me) and still learn new things!
On Sat, Jan 26, 2013 at 8:48 AM, Cory Quammen cquam...@cs.unc.edu wrote:
Oops, I didn't know about that command. I tried it out, and it works
like a
I am testing a ITK patch I'm working on in Windows. That involves entering
a path in cmake-gui or ccmake. The first time I tried it, I entered the
path 'windows-wise' with backslashes as path separators.
That caused a syntax error at the point where that variable is used. When
I re-entered the
I'm trying to write a Findpackage.cmake file for a library that doesn't
generate a proper packageConfig.cmake file.
The problem I'm trying to solve is how to build against a build tree
instead of an install tree. On OS X and Windows (well, probably any
Makefile generator) CMake helpfully adds
OS: Windows 7 (64-bit)
CMake 2.8.9
generator: NMake Makefiles
Trying to configure ITK (with my patches)
Problem: CMake-GUI seems to lock up -- the progress bar moves about 10% to
the right and stops, and the process output from the command line CMake
stops.
If I run the configure from the
On platforms other than Windows, the build type is a single value
stored in CMAKE_BUILD_TYPE, and can be accessed if you want your build
to different things in Debug, Release, etc modes.
On Windows with Visual Studio, there's a variable
CMAKE_CONFIGURATION_TYPE that is a list of the builds that
I logged this bug earlier this year: http://www.cmake.org/Bug/view.php?id=12916
The problem is that the FindDCMTK.cmake file leaves out a required
library from DCMTK_LIBRARIES.
I included a one line patch to fix the problem.
According to the comment in the bug from David Cole, this is where I
Here's something I find really annoying: Someone who names tests such
that the name of one is a prefix of the name of another! So if you do
this:
ctest -V -R testname
You get every test whose name begins with testname.
Just had to vent.
--
Powered by www.kitware.com
Visit other Kitware
That seems like it should work, but it actually does not.
There's two types of precedence in CMake.
1. Textual -- as CMake munches through a project and its subdirectory,
it generates a build system where the build order is the same as the
textual order. In a single process build, for example:
I meant to say 'the approach you use doesn't work, because imported
libraries are targets to are targets to which you CANNOT add
dependencies.
On Tue, Jun 26, 2012 at 9:33 AM, Kent Williams
nkwmailingli...@gmail.com wrote:
That seems like it should work, but it actually does not.
There's two
Neundorf
a.neundorf-w...@gmx.net wrote:
On Tuesday 26 June 2012, Kent Williams wrote:
I meant to say 'the approach you use doesn't work, because imported
libraries are targets to are targets to which you CANNOT add
dependencies.
This should work since I think cmake 2.8.4.
http
Dependencies are between targets, not projects or CMakeLists.txt. You
would need to have a target in one project depend on a target defined
in another.
Some of these dependencies are managed automatically, as when you
build one or more libraries, and then reference them when you build a
program.
Say I have an ExternalProject that generates several libraries
ExternalProject_Add(foo
# the usual mumbo jumbo
)
set(foo_LIBRARIES)
# foo makes 3 libraries
foreach(lib a b c)
# import the libraries
add_library(${lib} STATIC IMPORTED)
# tell CMake where the library file is
...@kitware.com wrote:
On Fri, Jun 22, 2012 at 11:33 AM, Kent Williams nkwmailingli...@gmail.com
wrote:
Say I have an ExternalProject that generates several libraries
ExternalProject_Add(foo
# the usual mumbo jumbo
)
set(foo_LIBRARIES)
# foo makes 3 libraries
foreach(lib a b c)
# import
If CMake is running a script via -P, doesn't it return a non-zero
status if there's any error?
I'd think it would be sufficient to run to the end of the script if
everything works fine, but have something like
if(something_went_wrong)
message(FATAL_ERROR ¡OH NO! ¡SUCEDIO ALGO TERRIBLE!!!)
, but this is the first problem I've heard of with an
earlier gcc...
http://public.kitware.com/Bug/view.php?id=13121
On Mon, Apr 23, 2012 at 5:18 PM, Kent Williams nkwmailingli...@gmail.com
wrote:
cmake: 2.8.6
gcc/g++: 4.4.6-3
Red Hate Enterprise Linux 6.2
I follow the instructions here: http
cmake: 2.8.6
gcc/g++: 4.4.6-3
Red Hate Enterprise Linux 6.2
I follow the instructions here: http://www.cmake.org/Wiki/CTest/Coverage
And I have 2 different dashboards that report zero coverage:
http://testing.psychiatry.uiowa.edu/CDash/index.php?project=BRAINSStandalone
I'm trying to write a CMake patch script for a package that needs a
TARGET_LINK_LIBRARIES command replaced.
In the original it covers multiple lines, e.g.
TARGET_LINK_LIBRARIES(targetname1
boguslib1
boguslib2
boguslib3
)
I tried this to replace it:
string(REGEX REPLACE
the details (the lawyers stuff) but believe me
it
is as sane as it can be in regards of doing insane things :)
I'll check your suggestions tomorrow, thank you.
Regards,
irukandji
On 2012-04-17 20:54, Kent Williams wrote:
I think then that you shouldn't use add_subdirectory.
I'd suggest
Frankly, I don't entirely understand what the problem is, or what your
proposed solution is.
What is it that you don't want the subdirectory context to inherit?
On Tue, Apr 17, 2012 at 10:30 AM, irukandji irukan...@voidptr.eu wrote:
Hi,
(as no one answered to my previous email, let me add
,
Irukandji
On 2012-04-17 17:58, Kent Williams wrote:
Frankly, I don't entirely understand what the problem is, or what your
proposed solution is.
What is it that you don't want the subdirectory context to inherit?
On Tue, Apr 17, 2012 at 10:30 AM, irukandji irukan...@voidptr.eu wrote:
Hi
I'm running into problems using the DCMTK library. I've set up an
ExternalProject to build and install it, and the CMake 2.8.5
FindDCMTK.cmake finds the library if I set DCMTK_DIR.
But the DCMTK_INCLUDE_DIRS variable created by FindDCMTK.cmake isn't
100% correct. It does a good job of
, and if you don't have this
problem I'm interested in how you got it to work.
While I'm whining -- FindDCMTK.cmake doesn't include liboflog.a in
DCMTK_LIBRARIES either.
On Tue, Nov 29, 2011 at 10:47 AM, Thomas Sondergaard
t...@medical-insight.com wrote:
On 2011-11-29 17:28, kent williams wrote
OS X CMake 2.8.5
I was trying to get our nightly build script correct, and ran into this:
MakeCommand:
Cannot find MakeCommand key in the DartConfiguration.tcl
First of all we don't use Dart, there is no DartConfiguration.tcl in
the build directory. There is a CTestConfiguration.ini, which
In general it's better to make your project into an ExternalProject
itself, and have it depend on all other ExternalProject upon which it
depends.
That way all prerequisites get built, and then your package get built.
It ensures that all prerequisites are fully built and installed
before your
I guess that's fair; but what appears to be happening is that it's
deleting the cache even if the -D compiler string is the same as
what's already in Cache.
On Mon, May 23, 2011 at 4:45 PM, David Cole david.c...@kitware.com wrote:
On Mon, May 23, 2011 at 5:37 PM, kent williams nkwmailingli
Ran into this with CMake 2.8.4 on Linux -- though apparently not on my
OS X machine, go figure.
I had a nightly build shell script that as a matter of course set
CMAKE_C_COMPILER and CMAKE_CXX_COMPILER on the command line. I was
getting mysteriously unnamed builds in our Dashboard.
What I
I've all of a sudden started having trouble building VTK via an
ExternalProject. OS X, CMake 2.8.4, Standard GCC 4.2 compilers, stock
VTK 5.6.1.
output of make VERBOSE=1 of the top-level project, you can see that
QT_QMAKE_EXECUTABLE is set, but when CMake runs, it somehow ignores
the variables
, 2011 at 11:04 AM, kent williams nkwmailingli...@gmail.com
wrote:
I've all of a sudden started having trouble building VTK via an
ExternalProject. OS X, CMake 2.8.4, Standard GCC 4.2 compilers, stock
VTK 5.6.1.
output of make VERBOSE=1 of the top-level project, you can see
Hi! I'm working on some classes for ITK4 that use the HDF library, and
I've run into a quandary.
If you build install HDF5 with CMake, you MUST use
find_package(HDF5 [REQUIRED] NO_MODULE)
in order to use HDF5. If you use the more natural command
find_package(HDF5 [REQUIRED])
then the
I've been running into this every since we updated to CMake 2.8.4, but
I don't know if it's revision specific.
Sometimes if I change CMakeLists.txt in various directories so that
make will re-run cmake to pickup CMakeLists.txt changes, it triggers
re-downloading VTK ITK from scratch.
Is using
My first subject line was Who decided to break FindITK.cmake in
2.8.4? but that isn't probably very tactful.
We have a whole bunch of projects that used to configure and build
just fine with CMake 2.8.3. With 2.8.4 they fail.
The error message we get is:
CMake Error at
To use Qt in my projects with CMake, up until now all it seemed to
require was this:
find_package(Qt4 REQUIRED)
include(${QT_USE_FILE})
But then I tried to use QTcpServer and QTcpSocket, and the compiles
failed because it couldn't find the include files.
Then I read through the FindQt4.cmake
Unfortunately, I can't provide this because we had to get the builds
running, and installed the proper packages. But I don't think I was
imagining things.
On Wed, Feb 2, 2011 at 6:57 AM, Michael Hertling mhertl...@online.de wrote:
On 01/31/2011 05:26 PM, kent williams wrote:
I found this out
it will do in all situations yet.
Cheers,
CY
On Mon, Jan 31, 2011 at 11:26 AM, kent williams
nkwmailingli...@gmail.com wrote:
I found this out on a RHEL6 machine, which comes stock with tclsh and
wish but without the C header files for development.
FindTCL.cmake sets TCL_FOUND, even though
I found this out on a RHEL6 machine, which comes stock with tclsh and
wish but without the C header files for development.
FindTCL.cmake sets TCL_FOUND, even though
TCL_INCLUDE_PATH:PATH=TCL_INCLUDE_PATH-NOTFOUND
Imagine the hilarity that ensues!
___
The CMakeLists.txt below illustrates the problem:
-
cmake_minimum_required(VERSION 2.8)
project(testo)
function(set_a_var var value)
set(${var} ${value})
message(${var} = ${${var}})
endfunction()
set_a_var(testo HELLO!)
I kinda know the simple answer is 'no.' I hope there's a creative
*couch*sneaky*cough* way to do this.
I'm trying to build CableSwig as a external project as part of ITK. I
have this working for a single-process build. It works in that case
because the ExternalProject_add happens textually
For better or worse (mostly better) we are now heavy users of
ExternalProject. That module works really well to pull in external
dependencies and get them built.
ExternalProject_add has a DEPENDS keyword that lets you specify
dependencies on other External Projects. But an ExternalProject isn't
: Marcus D. Hanwell marcus.hanw...@kitware.com
Subject: Re: [CMake] How to have a target depend on an External
Project
To: kent williams nkwmailingli...@gmail.com
Cc: CMake ML cmake@cmake.org
Message-ID:
aanlktindoc6guenk7rxq=0yy+sxacoium52ix8zih...@mail.gmail.com
This shouldn't be a big deal -- something like this should work:
ExternalProject_add(OpenSSL
URL http://www.openssl.org/source/openssl-1.0.0c.tar.gz;
URL_MD5 ff8fb85610aef328315a9decbb2712e4
CONFIGURE_COMMAND ./config --prefix=${CMAKE_CURRENT_BINARY_DIR}/OpenSSL
BUILD_IN_SOURCE 1
That's kind of a solution, but as near as I can figure
CMAKE_SIZEOF_VOID_P doesn't change if I set CMAKE_OSX_ARCHITECTURE to
i386.
The following seems to work, but I explicitly test
CMAKE_OSX_ARCHITECTURE so that if I'm building i386 on a system with
x86_64 as the default, it correctly configures
I've got a 'Work In Progress' patch for the ITK CMake build system
that builds FFTW as an external project.
I've got a few CMake questions about how to go about finishing it.
1. When I build FFTW using ExternalProject_add, it does a local
install -- The prefix directory is
Please tell me someone else encountered this and it's fixed. I'm going
to have to make a patched version of ExternalProject.cmake a part of
my project until it is.
In CMake 2.8.2 ExternalProject.cmake, there is no consistency on the
capitalization of the Git_EXECUTABLE variable -- which is what
Like everyone else I started here to build my Qt app with CMake:
http://www.cmake.org/Wiki/BundleUtilitiesExample
Like a lot of things in CMake this involves copying a bunch of brittle
CMake code into your CMakeLists.txt, and seems like it has too many
moving parts and failure points, but hey, we
I know you're simplifying to provide an example, but I hope you don't
normally set CMAKE_CC_COMPILER, CMAKE_Fortran_COMPILER and
CMAKE_CXX_COMPILER in your CMakeLists.txt.
That's precisely the sort of thing that CMake is meant to find for
you. It will find the compilers needed to compile your
OK if anyone is tallying how many hours have been wasted on Unicode
files with BOM, add at least one for me.
This is a logged bug for CMake: http://public.kitware.com/Bug/view.php?id=11137
I assume that 2.8.4 or whatever will find a way to deal with this.
But my quick summary is this: A Unicode
I think what I'm doing isn't clear to you.
I have a CMakeLists.txt that is essentially 'sourceless' -- it defines
a bunch of CMake variables, and then builds a bunch of prerequisites
and applications added with ExternalProject_add. It doesn't have any
add_subdirectory,add_executable, add_library
Two things: You should have your source code under version control,
for many reasons, but in this context:
1. The VC system can tell you which files are unknown to it, i.e.
those CMake pooped all over your source tree.
2. You can make sure your work is checked in, then delete the source
On Wed, Oct 6, 2010 at 5:01 PM, Clifford Yapp cliffy...@gmail.com wrote:
I use $(MAKE) in my BUILD_COMMAND and that seems to do OK, although I
don't know if it works universally.
That's an environment variable, as near as I can tell and isn't
mentioned in the current CMake documentation. So
:
On 10/7/2010 11:25 AM, kent williams wrote:
On Wed, Oct 6, 2010 at 5:01 PM, Clifford Yappcliffy...@gmail.com wrote:
I use $(MAKE) in my BUILD_COMMAND and that seems to do OK, although I
don't know if it works universally.
That's an environment variable, as near as I can tell and isn't
On Thu, Oct 7, 2010 at 11:05 AM, Bill Hoffman bill.hoff...@kitware.com wrote:
What you want is for make to treat the external projects just like any other
library or executable in a build.
so, if you run this at the top of the build:
make -j4
It should run at most 4 concurrent things at
You could try, though it makes my brain hurt to think about it. Why
go to such lengths to protect users from themselves?
On Thu, Oct 7, 2010 at 11:57 AM, aaron.mead...@thomsonreuters.com wrote:
Yeah, I think I'll go with something like what you are saying. I wonder
if I can remove the
I'd like to use parallel make to build libraries like ITK and VTK
which are rather time-consuming.
This simple-minded (and non portable) method works: In the
ExternalProject_Add macro, add
BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} -j4
But that only works if CMAKE_MAKE_PROGRAM understands the '-j4'
No, I didn't get any clues as to how this is handled. In ITK it is
handled subtly, which is to say I couldn't figure out how it worked
from reading the CMakeLists.txt.
What I ended up doing is to create the Config file twice -- once for
the eventual installation, and once for the in-place usage.
I need to do what ITK does -- generate one set of *Config.cmake and
Use*.cmake files for the build tree, so it can be used in place, and a
second set to be installed when 'make install' is run.
Looking through the Insight CMakeLists.txt files I'm not seeing how or
where the files intended for the
Consider if you will this dashboard page:
http://testing.psychiatry.uiowa.edu/CDash/index.php?project=BRAINS3date=2010-09-13
I have several machines submitting Nightly builds to this dashboard
and they all appear to be generating non-empty XML files to upload,
and yet I'm getting blanks where I
I'm using what is a pretty naive script that does the actual
submission with 'make Nightly' I'll include it at the end of the post.
Using 'ctest -D Nightly'
has the same result.
The quotes on the site and build names are in the
CTestConfiguration.ini They are not quoted in CMakeCache.txt
The
I have a CMakeLists.txt file that builds a bunch of prerequisite
library, and then my application I'm working on.
This is done all with External_Project macros. Once everything I need
is built, I build my code as an external project:
set(proj BRAINSTracerQT)
ExternalProject_Add(${proj}
URL
Problem solved -- in what may have been an Emacs mishap, the entire
CMakeLists.txt got included twice. The post-2.4 CMake pickiness
caught the problem, but not knowing that I'd somehow duplicated the
entire contents of the file, I was faced with utterly baffling error
messages. I even thought
I think this used to go into DartConfiguration.tcl but we don't use
Dart any more for dashboards.
I have read through the instructions
http://www.vtk.org/Wiki/CDash:Build_Management#Client_Configuration
and it describes how to configure things if you're going to run ctest directly.
What it
Thanks for the prompt reply. It's 'SITE' and 'BUILDNAME'
On Tue, Aug 10, 2010 at 2:44 PM, Rolf Eike Beer e...@sf-mail.de wrote:
Am Tuesday 10 August 2010 schrieb kent williams:
I think this used to go
into DartConfiguration.tcl but we don't use
Dart any more for
dashboards.
I have read
, how to deal with spaces inside tokens, etc.
On Tue, Jul 20, 2010 at 4:30 PM, Andreas Pakulat ap...@gmx.de wrote:
On 20.07.10 16:18:26, kent williams wrote:
OK, so set_source_file_properties needs a property value that's a
single string. This wasn't clear from the documentation at all
This is with cmake version 2.8.1 on OS X 10.6.
I had a project using CMake and Qt. As long as I only used one QT
Designer-generated .ui file, everything worked perfectly. When I added
as second UI file, things no longer worked. I was working from the
CMake + Qt4 examples on the web.
There are
Sorry -- thanks for trying though.
http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz
On Tue, Jul 20, 2010 at 1:00 PM, Andreas Pakulat ap...@gmx.de wrote:
On 20.07.10 12:06:11, kent williams wrote:
This is with cmake version 2.8.1 on OS X 10.6.
I had a project using CMake and Qt. As long
Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz
On Tue, Jul 20, 2010 at 1:20 PM, kent williams
nkwmailingli...@gmail.com wrote:
Sorry -- thanks for trying though.
http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz
On Tue, Jul 20, 2010 at 1:00 PM, Andreas Pakulat ap
does it in more
subtle devious ways.
On Tue, Jul 20, 2010 at 1:53 PM, John Drescher dresche...@gmail.com wrote:
On Tue, Jul 20, 2010 at 2:48 PM, Andreas Pakulat ap...@gmx.de wrote:
On 20.07.10 13:30:51, kent williams wrote:
Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz
problems. And please, don't
cross-post...
On 20. Jul, 2010, at 19:06 , kent williams wrote:
This is with cmake version 2.8.1 on OS X 10.6.
I had a project using CMake and Qt. As long as I only used one QT
Designer-generated .ui file, everything worked perfectly. When I added
as second UI
not.
2. I don't get adding '*.h' files to the source list in add_executable
does anything. It doesn't apparently generate a recipe to make an
object file from a header.
On Tue, Jul 20, 2010 at 3:26 PM, John Drescher dresche...@gmail.com wrote:
On Tue, Jul 20, 2010 at 4:09 PM, kent williams
OK, so set_source_file_properties needs a property value that's a
single string. This wasn't clear from the documentation at all or not
clear to me at least. Thanks for your help!
On Tue, Jul 20, 2010 at 4:07 PM, Andreas Pakulat ap...@gmx.de wrote:
On 20.07.10 15:43:16, kent williams wrote:
I
I had an issue with fixup_bundle skipping copying and fixing up a
library upon which my application depended.
This library's source was in a subdirectory of the application's build
directory, and named in an add_subdirectory clause.
My fixup_bundle recipe worked fine except for this one library.
We don't have Dart installed on some machines we want to do testing
on. Consequently including Dart.cmake does nothing to generate
DartConfiguration.tcl.
If you're not using Dart, how do you set things up such that you avoid
this error?
running: ctest -V -D NightlyStart -D NightlyConfigure -D
doing:
include(CTest)
in your CMakeLists.txt file?
On Fri, Jun 4, 2010 at 10:51 AM, kent williams nkwmailingli...@gmail.com
wrote:
We don't have Dart installed on some machines we want to do testing
on. Consequently including Dart.cmake does nothing to generate
DartConfiguration.tcl
information that would otherwise be set in the driving script.
Hope this helps,
David
On Fri, Jun 4, 2010 at 11:25 AM, kent williams nkwmailingli...@gmail.com
wrote:
I'm now finding out that we had
include(Dart)
in all our Makefiles. I commented that out, and added
include(CTest
I have discovered the problem, and it has nothing to do with CTest or
CMake. It had everything to do with our overly-complex build
system... but I now understand more about CTest/Dart etc than I did,
so thanks for your time!
___
Powered by
We have a stock CDash installation on our testing web server
(http://testing.psychiatry.uiowa.edu).
I get SQL errors when a lot of machines submit nightly and
experimental builds -- does this mean the CDash database is corrupt,
or is this a known CTest problem with a known solution?
Using
that
explicitly from a script without modifying CTestConfig.cmake. (Just set the
variables in your ctest -S script just prior to a ctest_submit call...)
If it's something else, let's talk about it.
:-)
HTH,
David
On Fri, May 28, 2010 at 5:13 PM, kent williams nkwmailingli...@gmail.com
wrote
Subject line says it all. Does CTestConfig.cmake need to exist at
configuration time, or just at Ctest/make test time?
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please
eric.noul...@gmail.com wrote:
2010/5/17 Tyler Roscoe ty...@cryptio.net:
On Mon, May 17, 2010 at 12:53:34PM -0500, kent williams wrote:
Internally, CPack will use CMake's install mechanism to automatically
populate the package.
Right. Mostly, all that CPack does is call make install on your
It's mentioned in passing on the CMake Wiki, which is all the
documentation I've found for CPack. Namely
Internally, CPack will use CMake's install mechanism to automatically
populate the package.
but when I add
include(CPack)
and then run
make package
It generates empty install packages.
OS X 10.5.8, Qt-4.6.2, g++-4.2 gcc-4.2
../cmake/bootstrap --prefix=/scratch/kent/opt --qt-gui
--qt-qmake=/opt/Qt-4.6.2/bin/qmake
make
make install
/scratch/kent/opt/CMake\ 2.9-20100511.app/Contents/MacOS/CMake\ 2.9-20100511
Qt internal error: qt_menu.nib could not be loaded. The .nib file
should
, 2010 11:03:48 am kent williams wrote:
OS X 10.5.8, Qt-4.6.2, g++-4.2 gcc-4.2
../cmake/bootstrap --prefix=/scratch/kent/opt --qt-gui
--qt-qmake=/opt/Qt-4.6.2/bin/qmake
make
make install
/scratch/kent/opt/CMake\ 2.9-20100511.app/Contents/MacOS/CMake\
2.9-20100511 Qt internal error: qt_menu.nib
, May 11, 2010 at 4:03 PM, Bill Hoffman bill.hoff...@kitware.com wrote:
On 5/11/2010 4:47 PM, kent williams wrote:
I tried copying it to the suggested place, but it still didn't work.
My solution, since I'm not a CMake developer, was to go back to using
xterm -e ccmake instead of the Qt dialog
Subject line says it all. I could explain what I'm trying to do but
it would be a case of Too long, didn't read for most of you.
You can change permissions with the CMake 'install' command, the
'file(COPY)' and 'file(INSTALL)' command but I can't find the command
that changes the permissions of
I tried just listing the single step, and for some reason (probably my
fault) it didn't work.
I did get this working, but I had to add two things to keep tcl and tk
from breaking fixup_bundle -- I had to make the Tcl/Tk SO libraries
writable, and I needed to delete tclsh and wish, because
1 - 100 of 151 matches
Mail list logo