I¹m trying to build CMake with the Qt Dialog on Ubuntu and it¹s really not
working.
do I have to do something like add
-DQT5Widgets_DIR:PATH=/opt/Qt/5.3/gcc_64/lib/cmake/Qt5Widgets to my CMake
build line?
On 10/21/14, 11:16 AM, Adam Strzelecki o...@java.pl wrote:
Following discussion regarding
A couple of years ago, with massive help from Brad King, I managed to get an
embedded ExternalProject build of DCMTK embedded into ITK/Modules/ThirdParty.
This was workable, because the CMake dependencies were explicitly set up such
that the DCMTK libraries depended on the ExternalProject DCMTK
Yeah that¹s the problem right there. I would have no problem with
including DCMTK in the distro.
On 10/23/14, 1:03 PM, Brad King brad.k...@kitware.com wrote:
On 10/23/2014 01:32 PM, Williams, Norman K wrote:
it fails immediately because the targets in Modules/IO/DCMTK depend
on non-existent
This is a problem that has been cropping up in our projects that use ITK, VTK
and SlicerExecutionModel.
You won’t see it UNLESS you turn on the ITKVTK/ITKVtkGlue modules.
The problem is this: if you find packages in this order:
find_package(VTK REQUIRED)
find_package(ITK REQUIRED)
You can’t
I was trying to get ExternalProjects generated with the Ninja generator to do a
better job of handling multiple CPUs and load, so I tried the naïve solution
below.
I needed to add flags to the program named in CMAKE_MAKE_PROGRAM. This is
difficult because CMAKE_MAKE_PROGRAM is a string; I can
I was trying to get ExternalProjects generated with the Ninja generator to do a
better job of handling multiple CPUs and load, so I tried the naïve solution
below.
I needed to add flags to the program named in CMAKE_MAKE_PROGRAM. This is
difficult because CMAKE_MAKE_PROGRAM is a string; I can
I would look at how CMake itself is packaged for release.
The ‘one executable per App bundle’ is Apple-centric thinking that luckily is
not enforced. That isn’t how CMakes (or the OS X Emacs, e.g.) works. You can
have whatever you want in an app bundle.
It does means that after install, users
I’ve been using the Ninja generator on Linux and OS X lately, because it
handles command output during parallel builds better.
But big ‘SuperBuild’ projects — Slicer being exhibit A — which builds using the
CMake ExternalProjects Module, have a couple of annoyances.
1. Since Ninja buffers
Mechanical Engineering Building,
University of Alberta,
Edmonton, AB
On Tue, May 27, 2014 at 12:16 PM, Williams, Norman K
norman-k-willi...@uiowa.edu wrote:
I took what you did it and cleaned it up a bit, but I ran into the same
issue. Strangely, in trying to debug it I ran
Œmake VERBOSE=1
I took what you did it and cleaned it up a bit, but I ran into the same
issue. Strangely, in trying to debug it I ran
Œmake VERBOSE=1¹ and THAT command succeeded where Œmake¹ by itself had
that problem with finding the target ¹s¹
I then tried setting CMAKE_VERBOSE_MAKEFILE to ON and same thing,
What I remember is that when we started adding 'prevent in-source build'
macros a couple years ago, we had this exact complaint. The problem is
that the test happens at a particular point in the configuration process
that makes it difficult to clean up after.
I suspect the CMakeCache.txt is
You want the load_cache command:
* load_cache: Load in the values from another project's CMake cache.
load_cache(pathToCacheFile READ_WITH_PREFIX
prefix entry1...)
Read the cache and store the requested entries in variables with their
name prefixed with the given prefix. This only
/NamicExternalProjects
--
Kent Williams norman-k-willi...@uiowa.edu
On 12/12/13 10:31 AM, Richard Shaw hobbes1...@gmail.com wrote:
I've had this working and I don't *THINK* I changed anything that would
cause it to fail now but I'm not completely sure.
I have a project I converted over to cmake
On 12/12/13 2:13 PM, Richard Shaw
hobbes1...@gmail.commailto:hobbes1...@gmail.com wrote:
Very interesting but not quite what I'm looking for, in this case the main
CMakeLists.txt does actually build a project, I just need it to build wxWidgets
first.
Well it's up to you but 'build X and then
This is a case for using the ExternalProject module!
You have a top level 'SuperBuild' whose job it is to find all the
prerequisites for the actual project build. Then it configures and builds
it.
This means that the tricky configuration is handled by CMake, instead of
working it out yourself
-
# BuildMex.cmake
# Author: Kent Williams norman-k-willi...@uiowa.edu
include(CMakeParseArguments)
if(NOT MATLAB_FOUND)
find_package(MATLAB REQUIRED)
endif()
# CMake 2.8.12 earlier apparently don't define the
# Mex script path, so find it.
if(NOT MATLAB_MEX_PATH)
find_program( MATLAB_MEX_PATH
of ' itkLoadWithMetadataStub.mexmaci64' failed.
make[2]: *** [mexFiles/itkLoadWithMetadata.mexmaci64] Error 255
make[1]: *** [mexFiles/CMakeFiles/MEX_BLD.dir/all] Error 2
make: *** [all] Error 2
Compilation exited abnormally with code 2 at Wed Nov 20 09:01:17
--
Kent Williams norman-k-willi...@uiowa.edu
Another thing -- the FindMatlabMex.cmake/UseMatlabMex.cmake stuff in VTK
is out of date and broken, and apparently no one uses it or it would have
been noticed a long time ago.
--
Kent Williams norman-k-willi...@uiowa.edu
Notice: This UI Health Care e-mail
})endforeach()
But all the IMPORTED_LOCATION for ITK libraries is _lib-NOTFOUND
--
Kent Williams norman-k-willi...@uiowa.edu
Notice: This UI Health Care e-mail (including attachments) is covered by the
Electronic Communications Privacy Act, 18 U.S.C. 2510
.
--
Kent Williams norman-k-willi...@uiowa.edu
On 11/19/13 12:31 PM, Arne Pagel a...@pagelnet.de wrote:
Dear all,
I just tried to use the ExternalProject_Add for this multicore project,
having different separate
camke projects for each core
Now I have 2 Problems:
1
Why doesn't this work?
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/api.lds
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/api.lds.S
COMMAND ${CMAKE_C_COMPILER} -E ${CMAKE_CURRENT_SOURCE_DIR}/api.lds.S
-P -o ${CMAKE_CURRENT_BINARY_DIR}/api.lds.S)
The actual target that needs the
to
SuperBuild/External_your_project.cmake and editing it to make it
specific to that project. This mostly amounts to setting its
dependencies, where to download the source from, and which version to
download.
--
Kent Williams norman-k-willi...@uiowa.edu
On 10/24/13 3:35 AM, Witold E Wolski wewol
CMake string literals can contain newlines, so the version below is
more succinct and easier to read.
In this case everything works perfectly. If you have to include strings
that look like variables to expand (e.g. ${THIS} ) you have to be careful
about using escapes.
In that particular case
: file.o
$(AR) $(ARFLAGS) libLibfile.a file.o
test1 : test.o libLibfile.a
cc -o test1 test.o -lLibFile
test2 : test.o libLibfile.a
cc -o test2 test.o -lLibFile
On 10/1/13 6:38 AM, Gregor Jasny gja...@googlemail.com wrote:
Hello,
On 9/30/13 7:19 PM, Williams, Norman K wrote
arguments:
Darwin matches Linux
Unknown arguments specified
--
Kent Williams norman-k-willi...@uiowa.edu
On 9/30/13 11:36 AM, Sumit Adhikari sumit.adhik...@gmail.com wrote:
Dear All,
if(${CMAKE_SYSTEM_NAME} MATCHES Linux)
differs from
if(${CMAKE_SYSTEM_NAME} matches Linux
file members in the library define global symbols)
[ 50%] Built target LibFile
Linking C executable test1
[ 75%] Built target test1
Linking C executable test2
[100%] Built target test2
--
Kent Williams norman-k-willi...@uiowa.edu
Notice: This UI Health Care e
throws off the normal course
of events in make. Make should see that test1 and test2 both depend on
LibFile, and build LibFile once, then build test1 and test2 in parallel.
You should log this as a CMake bug.
--
Kent Williams norman-k-willi...@uiowa.edu
On 9/30/13 12:19 PM, Williams, Norman K
syntactic quirks.
Once you understand what they are, it's a very powerful tool for managing
large build systems.
--
Kent Williams norman-k-willi...@uiowa.edu
On 9/30/13 12:13 PM, Sumit Adhikari sumit.adhik...@gmail.com wrote:
Thanks. This is scary :(
Regards, Sumit
On Mon, Sep 30, 2013 at 10
for building the
generated files in the target build system's recipes.
If I knew what you were actually trying to do I could make suggestions.
--
Kent Williams norman-k-willi...@uiowa.edu
On 9/25/13 11:15 AM, Kevin Wojniak kain...@kainjow.com wrote:
Hi, been searching for a while
'?
#define __PARSEDATEL_H
^~
__PARSEDATE_H
--
Kent Williams norman-k-willi...@uiowa.edu
Notice: This UI Health Care e-mail (including attachments) is covered by the
Electronic Communications Privacy Act, 18 U.S.C. 2510-2521
It is a typo. This is a warning generated by a very recent development
head version of CLang I built.
It looks like it was added to CMake by Andy Cedilnik in revision 9314bb;
It looks like an upstream typo that just happened never to cause a
real-world problem.
--
Kent Williams norman-k-willi
is an open source project, you can just copy and use these;
there are macros in there you can call to check if particular compiler
flags to use.
--
Kent Williams norman-k-willi...@uiowa.edu
On 9/17/13 4:59 AM, Cristian Bidea cri...@king.com wrote:
Hi David
You have a number of options here:
1
it for people who want to build and use applications using the
SuperBuild. Not sure who they are, or if I really should try and bend over
backwards to make things easy for them.
--
Kent Williams norman-k-willi...@uiowa.edu
On 9/16/13 10:03 AM, David Cole dlrd...@aol.com wrote:
If you don't want
33 matches
Mail list logo