On Wed, Aug 2, 2017 at 4:18 PM, J Decker wrote:
>
> On Wed, Aug 2, 2017 at 8:55 AM, Marcus D. Hanwell
> wrote:
>>
>> On Wed, Aug 2, 2017 at 3:03 AM, Bo Zhou wrote:
>>>
>>> It depends on the Generator.
>>>
>>> To the Makefile, the actual
On Wed, Aug 2, 2017 at 2:50 PM, David Cole wrote:
> Yes, your code is a good example Marcus. It was one of the previous
> suggestions on this thread which had example code setting
> CMAKE_CONFIGURATION_TYPES.
>
> I would recommend against setting this variable because in some pl
On Wed, Aug 2, 2017 at 1:32 PM, David Cole wrote:
> Very cool, Marcus. Thanks for the blog post.
>
> Florian, when you "message(${CMAKE_CONFIGURATION_TYPES})" it is empty
> because you are using a single-configuration CMake generator. Only
> Visual Studio and Xcode (an
On Wed, Aug 2, 2017 at 1:32 PM, David Cole wrote:
>
> Very cool, Marcus. Thanks for the blog post.
>
> Florian, when you "message(${CMAKE_CONFIGURATION_TYPES})" it is empty
> because you are using a single-configuration CMake generator. Only
> Visual Studio and Xcode
On Wed, Aug 2, 2017 at 3:03 AM, Bo Zhou wrote:
> It depends on the Generator.
>
> To the Makefile, the actual type was controlled by the compiler options.
> If you don't specific any type, usually it means non-debug and
> non-optimization because the CMAKE_CXX_FLAGS is empty as default. This is
>
o often have limited resources, and do not
expect this).
My $0.03 cents as someone who may have lost a little hair over this ;-)
Marcus
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to
Hi everyone
I hope this is the right place to ask
Whatever happened to this commit to include support for C-only projects when
generating export headers?
https://cmake.org/pipermail/cmake-commits/2012-August/013142.html
Are there any plans to support this in the future?
/Marcus
--
Powered
th forward
maybe we could sketch out what those options should look like and we
might be able to put a patch together.
Our most common dashboard use case just wants a pristine clone, using
the latest submodule URLs and ideally should clean out any local
changes. We seem to spend quite a bit of time
e are good candidates for adding to ctest in the future.
Marcus
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow t
> at run time.
>
You can set pretty much anything in the environment for a test. For example,
set_tests_properties(avogadro-${name} PROPERTIES
ENVIRONMENT "AVOGADRO_PLUGIN_DIR=${AvogadroLibs_INSTALL_PREFIX}")
would set AVOGADRO_PLUGIN_DIR for a test. To see a full example,
h
(as was previous behavior) so that we saw it when debugging/checking a
project just like we turn on the warnings with compiler flags...
Marcus
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic
I'm VERY sorry to bug you guys!
I just realized that this is an issue with the midnight commander. It is
not reading inside tarballs correctly. But CPack is creating the tarball
correctly.
Sorry again,
Marcus
On Fri, Oct 26, 2012 at 7:59 PM, Marcus Bartholomeu
wrote:
> Hi all,
>
&
-to-make-it-big/ok-that-is-enough.txt
I'm building and packaging it with the commands:
cmake ../bugtest
cpack -C CPackConfig.cmake -G TGZ
Can someone help me to find out if it is a bug or how to fix it?
Thanks for any help,
Marcus
--
Powered by www.kitware.com
Visit other
ith CMake 2.8.10, there
>> will be EXPECTED_HASH and you can use the hashing algorithm of your choice
>> rather than just the MD5 that we had in 2.8.9 and earlier...
>>
>> Also new in 2.8.10, the Kitware provided pre-built binaries will link to
>> OpenSSL such that we
On Tue, Sep 25, 2012 at 2:56 PM, Peter Kümmel wrote:
> On 25.09.2012 17:29, Marcus D. Hanwell wrote:
>>
>> On Thu, Sep 20, 2012 at 7:26 AM, Peter Kümmel wrote:
>>>
>>> On 19.09.2012 08:08, Wouter van Kleunen wrote:
>>>>
>>>>
>>>&g
st need your patched Qt Creator? I
tried adding custom build steps and that kind of works but I lose the
warning/error parsing - would that work with this patched version?
Thanks for all your work, I am looking forward to Ninja generator
integration in Qt Creator!
Marcus
--
Powered by www.ki
sier for dependent CMake projects
as it will always search within the prefix first.
The Qt external project was pretty tricky too, and we are using that
in several places along with smaller libraries like libxml2.
Marcus
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
on the stage, and is called
> stage/ninja-generator.
>
I just tried this out and it is looking good on Linux. I can probably
get a CMake and VTK nightly submission up and running. I will have to
change my default generator once I figure out how I can make this work
with Qt Creator.
Marcus
--
ally a pity that also the other webinars by Kitware exclude Linux :-/
>
Agreed, I can't view them on my desktop. I have access to those other
platforms on secondary machines at least, but it would be great to
allow viewing of our webinars on the platforms we are targeting. Are
there any
re found and include them in
>> my TGZ?
>>
>> I can include the libs that are compiled as part of my build, but I also
>> want to include the 3rd party libs as well.
> Look at the BundleUtilities module, that'll allow you to create a
> self-contained applic
Hi,
I'm just starting to use the cpack module in cmake to put together TGZ.
I use TARGET_LINK_LIBRARIES to specify which libs to use during linking.
Is there a way to get a list of the libs that are found and include them in my
TGZ?
I can include the libs that are compiled as part of my build,
get properties that have per-config variants.
>>
>> If you look at the code, you'll see that use of the existing
>> INCLUDE_DIRECTORIES property triggers a call to
>> cmMakefile::SetIncludeDirectories, which just saves it in a data
>> member for later use. You can
esulting build directory in Qt Creator 2.3.1
and see all of the source files etc. I can dig a little deeper if you
let me know what version of Qt Creator you are using, a project you
see the issue with etc. I could also give the installer a try if the
problem persists (I normally just build from so
6a774a8e11e17
Which seems to be exactly what I am experiencing ;) So this actually
is already fixed in cmake - and it was fixed some 19 days after 2.8.3
was released.
Shame on me (also for not digging deep enough!).
Thanks anyway for listening.
Cheers,
Marcus
PS: sorry michael, got confused wi
Hallo again.
On 8/30/11, Marcus Fritzsch wrote:
> [...]
>% cmake "-DCMAKE_CXX_FLAGS=-O3 -march=native" ..
>...
>% grep "CXX_FLAGS=" CMakeCache.txt
>CMAKE_CXX_FLAGS=-O3 -march:UNINITIALIZED=native
Having done some more tests, it looks like whe
Quoting the whole command line argument (in this exact command) gives
the same result:
% cmake "-DCMAKE_CXX_FLAGS=-O3 -march=native" ..
...
% grep "CXX_FLAGS=" CMakeCache.txt
CMAKE_CXX_FLAGS=-O3 -march:UNINITIALIZED=native
Cheers,
Marcus
__
Turns out, using the "verbose" form of the option definition
-DOPTION:TYPE=... does not exhibit the issue.
On 8/29/11, Marcus Fritzsch wrote:
> I discovered this behavior on my ubuntu 11.04 amd64 workstation with
> cmake 2.8.3 when trying to set an -march= option for gc
I discovered this behavior on my ubuntu 11.04 amd64 workstation with
cmake 2.8.3 when trying to set an -march= option for gcc:
cmake -DCMAKE_C_FLAGS="-Os -march=native -flto
-freorder-blocks-and-partition"
was mangled to be
CMAKE_C_FLAGS=-Os -march:UNINITIALIZED=native -flto
-freord
isable
>> and then include the use_file.
>>
>> How about doing it this way:
>> 1) subdirs that actually need Qt: call find_package(Qt4 COMPONENTS
>> QtCore [...] REQUIRED) with the modules it needs.
>>
>> Is there a problem with this approach? Other than breaking
l the QtCore, QtGui, QtXml, ... header directories to the
> include-path.
>
You can already do this, and the explicit individual libraries are all
found via the find_package call. I rarely include the use file in
small projects, and have module/class style includes and link to the
individual
y static content. As I said in the old thread,
>> CMake is a build system, not a code-generator.
>
> Well, one could also say that cmake is a tool to make building software easy
> :-)
> In that sense it is useful to put stuff which you more or les
ion of the concrete idea here for discussion at this
> point.
>
I think this is a great idea, and something that would be good to
provide some utility functionality around.
Marcus
___
Powered by www.kitware.com
Visit other Kitware open-source pr
Surely there is a "just copy the executable" option?
>
Did you try,
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
which is in one of the sections of that wiki article detailing using
full RPATH for installed binaries.
Marcus
___
Powered by www.kitware.
path from "/home/doriad/bin/Research/ImageCompleter"
>
> I'm assuming that "removed runtime path" is the problem? How do I stop
> that from happening?
>
I think the CMake page on RPATHs might be what you are looking for.
http://www.cmake.org/Wiki/CMake_RPATH_handl
thanks to the wonders of RPATH and
> install_name which can handle relative paths and thanks to the fact that
> install(EXPORT) generated files are also relocatable, I can simply do a
> install(DIRECTORY) in the super project ;-) The onl
headers are used.
I am not a core CMake developer, but it seems to me that extending the
CodeBlocks generator would be the right thing to do here (if that is
feasible). I think Alexander Neundorf did a lot of this work,
hopefully he will comment.
Marcus
__
st need to call,
include_directories("${EIGEN2_INCLUDE_DIR}")
to add it to the compiler include path, and you should be able to use
it as expected.
Marcus
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://w
press IDE
and NMake based builds. Quite a few of the Titan developers routinely
use the MSVC IDE as far as I am aware. I think there are other
projects out there using MSVS and the IDE solutions too although I
think there are still (maybe) some issues with 2010.
Marcus
___
we have many external
projects that we build, and the Libraries/Applications external
projects that depend upon them and use them.
Marcus
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opens
pdated, and the build begins. Last time I looked there was no
automatic update of the submodules.
http://www.cdash.org/CDash/viewNotes.php?buildid=823021
Marcus
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.
e
up with was making CMake give instructions on how to clean up your
source tree. Hopefully this link works, and you can see what I mean,
http://www.itk.org/gitweb?p=ITK.git;a=blob;f=CMake/PreventInSourceBuilds.cmake;h=78f6b4e63ab7b08ec87146f61adbb791a178;hb=HEAD
Marcus
_
t;> python to select the python version I want?
>
> None I'm aware of, but - as stated above - there're some undertakings
> in the near future that might result in a comprehensive and flexible
> FindPython.cmake module which receives the requested version through
> F
3 as our stuff is
not ready for it yet.
Marcus
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/
On Thu, Oct 28, 2010 at 8:45 AM, Marco Atzeri wrote:
> --- Mer 27/10/10, Marcus D. Hanwell ha scritto:
>
>> On Wed, Oct 27, 2010 at 2:38 PM, Alan
>> W. Irwin
>
>> wrote:
>> > On 2010-10-26 17:53-0400 Bill Hoffman wrote:
>> >
>> >> The p
would never intentionally change the default behavior of
a project, effectively forking the project.
If you chose to take such rash action I would also avoid cygwin in the future.
Marcus
___
Powered by www.kitware.com
Visit other Kitware open-source pr
rm. For me it works flawlessly. I don't know about the earliest
> version to support Clang, but AFAIK 2.8 works well.
>
I echo Michael's reports, setting it as the compiler just works for
many projects. The ones where it fails it is a compilation issue, and
I have used CMake 2
ual Studio projects are generated.
So is there any way in cmake to enforce Visual Studio to use link.exe instead
of xilink.exe?
Bye
Marcus
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opens
I got the source code via SVN from:
https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/player/trunk
For an 'How-To' check:
http://playerstage.sourceforge.net/wiki/Basic_FAQ#How_do_I_get_the_latest_code.3F
:-) Marcus
2010/6/18 David Cole
> On Fri, Jun 18, 20
struct timespec"
tv_sec time.h HAVE_STRUCT_TIMESPEC) ELSE (CMAKE_MAJOR_VERSION EQUAL 2
AND CMAKE_MINOR_VERSION EQUAL 6)' in the file
cmake/internal/SearchForStuff.cmake.
I don't know, if this is any help.
Does anybody have a suggestion how to proceed?
Marcus Liebhardt
_
On Sun, May 16, 2010 at 2:47 PM, Timothy M. Shead wrote:
> On 05/16/2010 12:36 PM, Marcus D. Hanwell wrote:
> > On Sun, May 16, 2010 at 2:26 PM, Timothy M. Shead > <mailto:tsh...@k-3d.com>> wrote:
> >
> > On 05/16/2010 12:11 PM, Marcus D. Hanwell wrote:
>
On Sun, May 16, 2010 at 2:26 PM, Timothy M. Shead wrote:
> On 05/16/2010 12:11 PM, Marcus D. Hanwell wrote:
> > On Sun, May 16, 2010 at 12:48 PM, Timothy M. Shead > <mailto:tsh...@k-3d.com>> wrote:
> >
> > I'd like to do the following:
&
ternal projects it is possible to control the
build order, so that A's config file will be present before B attempts a
configure step.
Hope that helps, I will take a look at this case in a moment and do some
test builds.
Thanks,
Marcus
___
Powered
o is here:
> >
> > http://live.twit.tv/
> >
> > Should be going on some time around 4:30 EST.
> >
>
A few of us at Kitware HQ watched it on the big screen.
Marcus
___
Powered by www.kitware.com
Visit other Kitware open-source
not run in
> parallel. Why is that? Is there some way to accomplish this?
>
I think you want to add the PARALLEL_LEVEL argument to the ctest_test
command,
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" PARALLEL_LEVEL 8)
This command would run up to eight tests in parallel.
e logic were all
in one module it would certainly be easier to ensure the logic to find the
libraries and interpreter were consistent.
Marcus
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/
e credit to all
> contributors.
>
That is great news - very pleased to hear the switch has been made! How long
is the rebase only, linear history policy likely to remain? I think that this
is a great move, and I look forward to other projects we work on making t
On Monday 23 November 2009 10:38:27 Marcus D. Hanwell wrote:
> On Monday 23 November 2009 10:03:35 Mark Moll wrote:
> > Between cmake 2.6.4 and cmake 2.8 the following lines were removed from
> > the FIND_LIBRARY(PYTHON_LIBRARY ...) command in FindPythonLibs.cmake:
> >
&
users who had trouble linking to Python on 64 bit platforms).
Marcus
--
Marcus D. Hanwell, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4937
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opens
.
In our case the Visual Studio way is the right location for the manifest files.
So is there any way with cmake to set the directories where the manifest files
should be generated?
Bye Marcus
___
Powered by www.kitware.com
Visit other Kitware open
is something else going wrong
> such as what Marcus Hanwall described.
>
>
> I am not sure what your issue is, but I know I have done this many
> times...
>
> -Bill
>
>
> I checked the version numbers of the DLLs, and even checked the md5sum
> and everythi
right vcredist_x86.exe before installing
> your software.
>
I would be interested in how others have solved this issue. I like our
current solution and I think several Kitware projects use a similar
mechanism.
Marcus
___
Powered by www.kitware.com
Vi
James Bigler wrote:
> On Thu, Apr 2, 2009 at 7:49 AM, Stephen Collyer
> mailto:scoll...@netspinner.co.uk>> wrote:
>
>
> 2009/4/2 Philip Lowman mailto:phi...@yhbt.com>>
>
> On Thu, Apr 2, 2009 at 7:00 AM, Stephen Collyer
> mailto:scoll...@netspinner.co.uk>>
> wrote:
>
>
the source files into
object files, and then linked the same object files into both the test
executable and the shared library. Is it possible to do this with CMake?
Many thanks,
Marcus
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailma
Can you suggest any further experiments?
Do you have any idea what the problem could be?
Can you try this:
edit cmCoreTryCompile.cxx around line 216 and add the // ADD line:
fprintf(fout, " ${COMPILE_DEFINITIONS}\")\n");
fprintf(fout, "INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES})\n
eExample/CMakeLists.txt
Returning to C:/temp/CMakeExample
Called from: [1] C:/temp/CMakeExample/CMakeLists.txt
-- Configuring done
-- Generating C:/temp/CMakeExample-bin
-- Generating C:/temp/CMakeExample-bin/Hello
-- Generating C:/temp/CMakeExample-bin/Demo
-- Generating done
-- Build files have been written to: C:/temp/CMakeExample-bin
Unfortunately, this problematic computer belongs to my team-mate, so I
had to stop working on it this afternoon. Hopefully I'll get another
chance to debug it tomorrow.
Can you suggest any further experiments?
Do you have any idea what the problem could be?
Thanks,
Marcus
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
com/cmake@cmake.org/msg08545.html> and here:
<http://www.mail-archive.com/cmake@cmake.org/msg06779.html>. Is there
any solution?
Thanks,
Marcus
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
t project in Visual Studio:
MyHeaderLibrary_TEST <- This project compiles the test runner, and
contains both the library's header files and the test code.
I would also like to
simply link to some Perl test scripts in the solution explorer in their
own project or so.
I recommend looking at ADD_CUSTOM_COM
Hi,
A CPack WiX Generator is mentioned on this page in the wiki:
<http://www.cmake.org/Wiki/CPack:Generator_Information>
Does this generator actually exist? I can't find any other information
about it.
Thanks,
Marcus
___
CMake mailing
Hi,
How can I enable ATL in a Visual Studio project?
I expected it to work in the same way as the MFC settings, but there
doesn't appear to be a CMAKE_ATL_FLAG variable.
Thanks,
Marcus
___
CMake mailing list
CMake@cmake.org
http://www.cmak
generated
build system should issue a warning when the CMakeLists.txt files are
out of date.
Please let me know if you think this is a feasible (and sensible) solution.
Many thanks,
Marcus
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman
70 matches
Mail list logo