<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.programming.tools.cmake.user">
    <title>gmane.comp.programming.tools.cmake.user</title>
    <link>http://blog.gmane.org/gmane.comp.programming.tools.cmake.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46766"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46765"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46764"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46761"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46756"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46755"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46752"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46749"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46742"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46732"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46721"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46720"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46705"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46702"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46700"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46697"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46695"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46691"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46688"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46675"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46766">
    <title>Yet another static libraries order question</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46766</link>
    <description>&lt;pre&gt;Hi,

I have yet another static library order question when using 
target_link_libraries

In my case, I've developed a new FindHDF5.cmake that calls the hdf5 compiler 
wrapper and sets the usual variables
HDF5_&amp;lt;lang&amp;gt;_COMPILE_FLAGS, HDF5_&amp;lt;lang&amp;gt;_INCLUDE_PATH, HDF5_&amp;lt;lang&amp;gt;_LINK_FLAGS 
and HDF5_&amp;lt;lang&amp;gt;_LIBRARIES

In my application I'm using both C and Fortran so I'm adding the libraries 
with:

target_link_libraries(myapp ${HDF5_C_LIBRARIES} ${HDF5_Fortran_LIBRARIES})

I'm using this on a bluegene/q computer where the found libraries are

HDF5_Fortran_LIBRARIES:
/usr/local/hdf5/v1.8.10p1_serial/lib/libhdf5hl_fortran.a
/usr/local/hdf5/v1.8.10p1_serial/lib/libhdf5_hl.a
/usr/local/hdf5/v1.8.10p1_serial/lib/libhdf5_fortran.a
/usr/local/hdf5/v1.8.10p1_serial/lib/libhdf5.a
/usr/local/szip/lib/libsz.a;/usr/local/zlib/lib/libz.a
/bgsys/drivers/toolchain/V1R2M0/gnu-linux/powerpc64-bgq-linux/lib/librt.a
/bgsys/drivers/toolchain/V1R2M0/gnu-linux/powerpc64-bgq-linux/lib/libm.a

HDF5_C_LIBRARIES:
/usr/local/hdf5/v1.8.10p1_seria&lt;/pre&gt;</description>
    <dc:creator>Julien Bigot</dc:creator>
    <dc:date>2013-05-25T21:59:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46765">
    <title>CMAKE_&lt;LANG&gt;_COMPILER_ID</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46765</link>
    <description>&lt;pre&gt;It seems hard to find documentation for this variable. Is it set by
enable_language(&amp;lt;LANG&amp;gt;)? Can I call enable_language(&amp;lt;LANG&amp;gt;) BEFORE I call
project()?

Does anyone know a good way to provide default, compiler specific values
for CMAKE_&amp;lt;LANG&amp;gt;_FLAGS in the cache? It seems that calling set() with the
CACHE option won't do anything if the variable is already set, and that
perhaps CMAKE_&amp;lt;LANG&amp;gt;_FLAGS and CMAKE_&amp;lt;LANG&amp;gt;_COMPILER_ID are both set by
project() and/or enable_language().

Do I need to define my own variable with a default value after
CMAKE_&amp;lt;LANG&amp;gt;_COMPILER_ID is created (so that the default value is specific
to the compiler) and then concatenate/append CMAKE_&amp;lt;LANG&amp;gt;_FLAGS with its
value?

Any and all help much appreciated,
Izaak Beekman
===================================
(301)244-9367
Princeton University Doctoral Candidate
Mechanical and Aerospace Engineering
ibeekman-uX/v2g6dJhCyum0STUha2w&amp;lt; at &amp;gt;public.gmane.org

UMD-CP Visiting Graduate Student
Aerospace Engineering
ibeekman-+0HnD9Kv66LFajBVf7NWsQ&amp;lt; at &amp;gt;public.gm&lt;/pre&gt;</description>
    <dc:creator>Zaak Beekman</dc:creator>
    <dc:date>2013-05-25T18:49:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46764">
    <title>Finding memory leaks on OS X mountain lion (10.8)</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46764</link>
    <description>&lt;pre&gt;Does anyone have any experience adding tests to check for memory leaks on
Macs? I come from more of a Linux background and am new to CMake and CTest.
I am not using CDash yet, and writing software in C and Fortran.

It seems that Valgrind is still very experimental for Mac, especially for
Mountain lion, and produces unreliable/buggy results complaining about
memory leaks which are allegedly in system libraries, etc. It seems that
there is a 'leaks' tool that can be used to perform dynamic memory
analysis, but you must attach it to the process after it's started. Is
there a way to tell a process to start without actually executing, then
attach leaks to it, and start/resume executing? Is there a better/different
approach?

Thanks,

Izaak Beekman
===================================
(301)244-9367
Princeton University Doctoral Candidate
Mechanical and Aerospace Engineering
ibeekman-uX/v2g6dJhCyum0STUha2w&amp;lt; at &amp;gt;public.gmane.org

UMD-CP Visiting Graduate Student
Aerospace Engineering
ibeekman-+0HnD9Kv66LFajBVf7NWsQ&amp;lt; at &amp;gt;publi&lt;/pre&gt;</description>
    <dc:creator>Zaak Beekman</dc:creator>
    <dc:date>2013-05-25T18:40:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46761">
    <title>Problem with "configured" file under Cygwin/Windows 7</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46761</link>
    <description>&lt;pre&gt;Hello,

I have installed a very recent version of Cygwin on 
Windows 7
(64 bits) and the version of CMake that comes with it 
(2.8.9-2). When I use this however to configure and build 
projects that work fine
under Windows (various versions0, then I get either 
configuration
problems or build problems that turn out to be caused by a 
strange
permission set on "configured" files.

Using one of these projects I have created an almost 
minimal project
to demonstrate the problem. If you configure it via CMake 
under
Windows 7, the file "gnulliver.h" has "special 
permissions". I have
no clue what that means or how it arises, but the 
consequence is that
a program can not open it. Not even a program running 
under
Administrator rights.

Oddly enough, you can change the permissions from Windows 
Explorer by
opening the permissions dialogue and giving the user full 
access.

I have tried to reproduce it in an even smaller project 
than the one
attached, that is: just a CMakeListst.txt file and 
gnulliver.h.in,
but &lt;/pre&gt;</description>
    <dc:creator>Arjen Markus</dc:creator>
    <dc:date>2013-05-25T11:06:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46756">
    <title>Running "install" by default, or alternatives?</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46756</link>
    <description>&lt;pre&gt;Hi all;

We have a large-ish set of cmake files building our project which
results in various executables, libraries, scripts, etc.  Currently
these are just left lying where they were created, and all our tests
etc. expect to find them there.

Then we then have a subsequent script that we run to collect the build
products into a temporary staging area and create the installation
packages (RPMs, EXEs, etc.)  Then to run our tests on the packages we
have to put them in a mode where they expect to find things in those
"release" locations instead of the "build" location.

This is annoying for many reasons and I want to change it so that the
build installs into the staging area, which has the same layout as the
package installation, then all our tests will use that layout and our
packager can just package up that staging area with little extra work.
I guess that the "install" capabilities of CMake are the right way to go
about it.


One major concern I have is that everyone has scripts, macros, etc.
which just r&lt;/pre&gt;</description>
    <dc:creator>Paul Smith</dc:creator>
    <dc:date>2013-05-24T15:41:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46755">
    <title>How to share CMakeCache between projects?</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46755</link>
    <description>&lt;pre&gt;Hi CMake,
in our code we have different related CMake projects but CMake does not 
really know about dependencies between the projects. It would be handy 
to have only one CMakeCache.txt for all projects to reduce multiple 
execution of the Find*.cmake tests.
Is there a possibility to define the path to the cache file? Or is there 
another way to handle this?

Bye
Christoph

&lt;/pre&gt;</description>
    <dc:creator>Christoph Grüninger</dc:creator>
    <dc:date>2013-05-24T15:28:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46752">
    <title>building a 64 bit project with: mingw32, Qt and VTK</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46752</link>
    <description>&lt;pre&gt;Hi,

I just inherited a project which uses Qt GUI along with VTK and mingw-nmake
under Windows 7

I installed the QT in a directory and added its bin folder to my path, then
I tried to use cmake to built the VTK where I set the entry VTK_USE_QT  to
TRUE (I am using the cmake gui) but keep getting the error message:"

Could NOT find Qt4 (missing: QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE
QT_UIC_EXECUTABLE) (found suitable version "4.8.4", required is "4.5.0")

CMake Error at CMakeLists.txt:387 (MESSAGE):

Qt 4.5.0 or greater not found. Please check the QT_QMAKE_EXECUTABLE

variable.

Qt QTSQL library not found.

Qt QTSQL library not found.

Qt QTNETWORK library not found.

Qt QTSQL library not found.

Configuring incomplete, errors occurred!"


It seems like the message indicates that my QT version is not correct, but
this is the only 64 bit version I found
(http://superb-dca2.dl.sourceforge.net/project/mingwbuilds/external-binary-packages/Qt-Builds/Qt-4.8.4-x64.7z)

&amp;lt;http://superb-dca2.dl.sourceforge.net/project/m&lt;/pre&gt;</description>
    <dc:creator>Ronny Shalev</dc:creator>
    <dc:date>2013-05-24T13:43:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46749">
    <title>CMake unable to detect Qt</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46749</link>
    <description>&lt;pre&gt;Hello All,

I am kind of noob to CMake and this is my first question so i hope you all will not go hard on me :) .

I am trying to build pyside and for that i need to build CMake for RHEL 5 machine, i follow the procedure mentioned in Readme.txt which is very straight forward. 

First i run the command:
./bootstrap --prefix=some path

this operation generates lots of .o  files but at the end gives me a following message:
loading initial cache file /user/username/Desktop/pyside/cmake-2.8.11/Bootstrap.cmk/InitialCacheFlags.cmake
&lt;/pre&gt;</description>
    <dc:creator>Gargi Das</dc:creator>
    <dc:date>2013-05-24T04:31:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46742">
    <title>Bug in cmake 2.8.11 when detecting sgemm function from MKL11.0</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46742</link>
    <description>&lt;pre&gt;Hi

I have noticed that the latest cmake release, 2.8.11, does not detect sgemm 
using check_function_exists macro from mkl_rt.lib library. The error message 
says;

Cannot find C:\Program.obj

It seems to me that the paths with spaces are no longer handled correctly.
Installing the previous version, 2.8.10, everything works as expected.

Also I have noticed that the 2.8.11 installer seems to create two entries in 
Windows program database. I am using Windows 8 x86_64

regards
&lt;/pre&gt;</description>
    <dc:creator>Bogdan Cristea</dc:creator>
    <dc:date>2013-05-23T16:59:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46732">
    <title>Jenkins &amp; CTest xml output</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46732</link>
    <description>&lt;pre&gt;Hello,

The maintener of Jenkins' xUnit plugin has added the support of CTest xml output format.
It uses rpavlik xslt file to transform CTest xml format to JUnit's.

https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin
https://github.com/rpavlik/jenkins-ctest-plugin


Regards,
Gregoire
--

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 this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake&lt;/pre&gt;</description>
    <dc:creator>Gregoire Aujay</dc:creator>
    <dc:date>2013-05-22T07:44:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46721">
    <title>Checkout specific revision from svn with ExternalProject_Add</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46721</link>
    <description>&lt;pre&gt;Hi,

I am trying to checkout a specific revision of external dependencies from our repositoty using the SVN_REPOSITOTY parameter of ExternalProject_Add, but always get the following error:
2&amp;gt;  Creating directories for 'Hippomocks'
2&amp;gt;  Performing download step (SVN checkout) for 'Hippomocks'
2&amp;gt;  A    Hippomocks\hippomocks\include
2&amp;gt;  A    Hippomocks\hippomocks\include\hippomocks
2&amp;gt;  A    Hippomocks\hippomocks\include\hippomocks\hippomocks.h
2&amp;gt;  A    Hippomocks\hippomocks\CMakeLists.txt
2&amp;gt;  Checked out revision 8888.
2&amp;gt;  svn: E125002: '8887' does not appear to be a URL

When I looked into the source code, I see that the command line for svn is created as
    set(cmd ${Subversion_SVN_EXECUTABLE} co ${svn_repository} ${svn_revision}
      --non-interactive ${svn_trust_cert_args} ${svn_user_pw_args} ${src_name})

According to the svn documentation page, I would have to give the revision with a special option -revision. Is this a bug or am I misinterpreting the ExternalProject_Add command parameters? Is SVN_REVISI&lt;/pre&gt;</description>
    <dc:creator>Jens Auer</dc:creator>
    <dc:date>2013-05-21T15:08:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46720">
    <title>flymake</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46720</link>
    <description>&lt;pre&gt;Hi,
A number of compilers have some options to do syntax checking, as well as
produce warnings about questionable constructs. Does anyone know a good way
to create phony targets based on the normal targets? e.g. in the compile
step you pass flags like -warn -syntax-only and skip the linking step, as
well as object file dependency checking. Note that I am using Fortran here,
so the dependency graph still needs to be considered for the .mod files,
which will be produced when -syntax-only is passed, but the object files
will not be. It would be great if there was a way to do this, so that I
could use flymake-mode in Emacs AND not have to completely build my
project every time I save a source code file. (See for example,
emacs-cmake-project &amp;lt;https://github.com/alamaison/emacs-cmake-project&amp;gt; on
github.)

Thanks,
Izaak Beekman
===================================
(301)244-9367
UMD-CP Visiting Graduate Student
Aerospace Engineering
ibeekman-+0HnD9Kv66LFajBVf7NWsQ&amp;lt; at &amp;gt;public.gmane.org
ibeekman-e45ueOrobK4&amp;lt; at &amp;gt;public.gmane.or&lt;/pre&gt;</description>
    <dc:creator>Izaak Beekman</dc:creator>
    <dc:date>2013-05-21T13:37:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46705">
    <title>SEGV and signal BUS with cmake-2.8.11 on Solaris 10</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46705</link>
    <description>&lt;pre&gt;Not sure how to begin to investigate these but, I was surprised to see :

$ gmake test
Running tests...
Test project /usr/local/build/cmake-2.8.11_SunOS5.10_sparcv9.001
Guessing configuration NoConfig
        Start   1: SystemInformationNew
  1/270 Test   #1: SystemInformationNew .............................
Passed    4.88 sec
        Start   2: cmIML.test
  2/270 Test   #2: cmIML.test .......................................
Passed    0.03 sec
        Start   3: kwsys.testEncode
  3/270 Test   #3: kwsys.testEncode .................................
Passed    0.01 sec
        Start   4: kwsys.testTerminal
  4/270 Test   #4: kwsys.testTerminal ...............................
Passed    0.01 sec
        Start   5: kwsys.testAutoPtr
  5/270 Test   #5: kwsys.testAutoPtr ................................
Passed    0.02 sec
        Start   6: kwsys.testHashSTL
  6/270 Test   #6: kwsys.testHashSTL ................................
Passed    0.02 sec
        Start   7: kwsys.testIOS
  7/270 Test   #7: kwsys.testIOS ....&lt;/pre&gt;</description>
    <dc:creator>Paul Lanken</dc:creator>
    <dc:date>2013-05-20T00:34:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46702">
    <title>Status/use of CMake on Cygwin</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46702</link>
    <description>&lt;pre&gt;Hi Bill:

I am addressing this mostly to you because I believe you have
a strong historical interest in the Cygwin platform.

Just to remind you, my use case is I build and test a fair number of
different cross-platform software packages (FreeEOS, te_gen, ephcom,
and PLplot and all their dependencies) with CMake-based build systems
on both Linux and the Wine version of Windows.  For the latter case, I
have had perfect success (no issues at all compared with the Linux
builds and tests) with CMake-2.8.10.2, nearly the latest MinGW (4.7.0,
but I haven't tried the latest 4.7.2 yet), and MSYS on Wine-1.5.19.

Encouraged by that Wine build and test success I would like to install
Cygwin on Wine-1.5.19 and try to build and test all the packages I am
interested in on the Cygwin/Wine platform.  GUI installers that I have
tried so far all seem to work well on Wine so I don't anticipate any
difficulties with the Cygwin GUI installer.  But I am a complete
Cygwin newbie so I have some questions about how to access and us&lt;/pre&gt;</description>
    <dc:creator>Alan W. Irwin</dc:creator>
    <dc:date>2013-05-19T20:17:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46700">
    <title>How can find_package fail?</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46700</link>
    <description>&lt;pre&gt;Hello all...I've used cmake a lot in the past, and it's done very well for me...but I'm afraid I've run into a brick wall.

Admittedly, I'm trying to do something complex, though the part that's failing seems really simple.

I know that cmake doesn't handle multiple toolchains very well.  The 
problem is that I'm trying to build a MinGW version of the phonon 
package from Fedora Core 18, i.e. cross-compile.  Most of the find_* 
commands need to look at the cross-compile cmake environment, and they 
are, but there's at least one exception -- it needs to run the host's 
automoc tool (to preprocess Qt/KDE files).

If you want to follow along in the phonon source code, I'm in phonon-4.6.0/cmake/FindAutomoc4.cmake; I've modified the line
find_package(Automoc4 QUIET NO_MODULE)
to say
find_package(Automoc4 QUIET NO_MODULE PATHS "${HOST_PREFIX_PATH}")
and I've passed the value of HOST_PREFIX_PATH on the cmake command line as "/usr/lib/automoc4".
My machine has a /usr/lib/automoc4/Automoc4Config.cmake file.

But fi&lt;/pre&gt;</description>
    <dc:creator>Steven Boswell II</dc:creator>
    <dc:date>2013-05-19T00:28:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46697">
    <title>Best way to build and test same project with differentcompilers?</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46697</link>
    <description>&lt;pre&gt;Hi,
I'm pretty new to CMake/CTest, and I was wondering what the best way to
switch between compilers is when testing and building the same project with
multiple compilers. It seems deleting the CMake cache from cmake-gui
doesn't always work to switch compilers (which I am specifying with `export
CC=icc; export CXX=icpc; export FC=ifort` in my environment). It would be
great if I could have multiple build directories, one for each compiler. Is
there a good way to do this, possibly in CMakeLists.txt?

Thanks,
Izaak Beekman
===================================
(301)244-9367
Princeton University Doctoral Candidate
Mechanical and Aerospace Engineering
ibeekman-uX/v2g6dJhCyum0STUha2w&amp;lt; at &amp;gt;public.gmane.org

UMD-CP Visiting Graduate Student
Aerospace Engineering
ibeekman-+0HnD9Kv66LFajBVf7NWsQ&amp;lt; at &amp;gt;public.gmane.org
ibeekman-e45ueOrobK4&amp;lt; at &amp;gt;public.gmane.org
--

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 &lt;/pre&gt;</description>
    <dc:creator>Zaak Beekman</dc:creator>
    <dc:date>2013-05-17T15:51:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46695">
    <title>CMake 2.8.11 Released!</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46695</link>
    <description>&lt;pre&gt;On behalf of myself, Ken, Bill, Brad, David, Alex, Eike, Steve, Eric,
Zach, Ben and the rest of the CMake team from all around the world, we
are pleased to announce that CMake 2.8.11 is now available for
download at:
  http://www.cmake.org/files/v2.8/?C=M;O=D
It is also available from the usual download links found on the CMake web site:
  http://www.cmake.org/cmake/resources/software.html

Some of the notable changes in this release are:
- Introduced Target Usage Requirements
  - Targets can specify usage requirements for their consumers such as
include directories
    and preprocessor definitions; previously only link dependencies
were supported
  - target_link_libraries(myexe yourlib) can now build myexe sources
with requirements specified
    by yourlib
  - Added target_include_directories and target_compile_definitions
commands with
    PUBLIC/PRIVATE/INTERFACE options
  - See design and development discussion at
    http://community.kde.org/Frameworks/Epics/CMake_target_usage_requirements

- Introduced&lt;/pre&gt;</description>
    <dc:creator>Robert Maynard</dc:creator>
    <dc:date>2013-05-17T15:09:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46691">
    <title>Some ctest question</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46691</link>
    <description>&lt;pre&gt;I'm new to cmake, a few weeks ago I decided to convert a complex and decrepit old build system to cmake. It has gone very well, I'm quite impressed.

So, now I want to add testing support, but I haven't been able to figure out a few things.


1.      What to do with testing input files?  I wrote a script to handle the common details of running.  So I just need to pass it paths to the executable and input files.  What's the best way to do this?  Right now I just have them point to the source directory, is that the best way to handle this?

add_test (Bungee ${PROJECT_SOURCE_DIR}/Examples/psuade_2test.sh ${PROJECT_BINARY_DIR}/psuade ${PROJECT_SOURCE_DIR}/Examples/Bungee/psuade.in ${PROJECT_SOURCE_DIR}/Examples/Bungee/psScript.in ${PROJECT_SOURCE_DIR}/Examples/Bungee/psScript.out)

Maybe it would be better to copy the input files to the build directory?


2.      Also, with autoconf you can run installcheck.  However, I'm sure what I did here wouldn't work with an installcheck.  However, I can't find any evidenc&lt;/pre&gt;</description>
    <dc:creator>Leek, Jim</dc:creator>
    <dc:date>2013-05-16T00:35:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46688">
    <title>Fortran Module dependency inside a preprocessor conditional</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46688</link>
    <description>&lt;pre&gt;I have a fortran code that I'm compiling twice to generate two libraries. There is a USE statement inside a preprocessor conditional. It looks like cmake is not picking up the dependency because of it. The code in question is

      SUBROUTINE calc_fbal(bsubu, bsubv)
      ...
      USE realspace, ONLY: wint, phip
#ifdef _ANIMEC
     1                    ,pperp, ppar, onembc, sigma_an,
     2                     pp1, pp2, pp3
      USE vforces, gsqrt =&amp;gt; azmn_o
#endif

When I try to compile this, I get an error

[ 39%] Building Fortran object VMEC2000/CMakeFiles/animec.dir/Sources/General/fbal.f.o
/trunk/VMEC2000/Sources/General/fbal.f:22.72:

      USE vforces, gsqrt =&amp;gt; azmn_o
                                                                        1
Fatal Error: Can't open module file 'vforces.mod' for reading at (1): No such file or directory

I'm defining _ANIMEC using the line

set_target_properties (animec PROPERTIES COMPILE_FLAGS "${BUILD_FLAGS} -D_ANIMEC")

because I only what it defined for this speci&lt;/pre&gt;</description>
    <dc:creator>Mark Cianciosa</dc:creator>
    <dc:date>2013-05-15T20:10:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46675">
    <title>static library linking problem</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46675</link>
    <description>&lt;pre&gt;hello,

I'm working on a C++ package for ROS (robot operating system) that uses a C
library libccv.a. ROS uses CMake which is why I am asking here. Asking at
ROS answers did not help and I am totally stuck.

here is the relevant part of my CMakeLists.txt:

set(SOURCES src/${PROJECT_NAME}.cpp src/RosDispatcher.cpp src/Text2D.cpp
src/TDetector.cpp src/TRecognizer.cpp)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
"${CMAKE_SOURCE_DIR}/cmake/Modules/")

find_package(CCV REQUIRED)
include_directories(${CCV_INCLUDE_DIR})
set(LIBS ${LIBS} ${CCV_LIBRARY})

find_package(JPEG REQUIRED)
include_directories(${JPEG_INCLUDE_DIR})
set(LIBS ${LIBS} ${JPEG_LIBRARY})

find_package(PNG REQUIRED)
include_directories(${PNG_INCLUDE_DIR})
set(LIBS ${LIBS} ${PNG_LIBRARY})

message(STATUS "linked libs: ${LIBS}")

rosbuild_add_executable(${PROJECT_NAME} ${SOURCES})
target_link_libraries(${PROJECT_NAME} ${LIBS})


I am getting this error:

undefined reference to `ccv_read_impl(...)'
and more undefined references to the stuff from the lib&lt;/pre&gt;</description>
    <dc:creator>Vojtěch Novák</dc:creator>
    <dc:date>2013-05-14T23:05:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46674">
    <title>Announcing CMake Tools for Visual Studio</title>
    <link>http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/46674</link>
    <description>&lt;pre&gt;I'm pleased to announce the first release candidate of CMake Tools for
Visual Studio, an extension adding support for syntax highlighting and
IntelliSense in CMake code using Microsoft Visual Studio.  The extension is
open source (distributed under Ms-RL), freely available, and compatible with
VS 2010 and VS 2012.  You can download it from the project from its web site
on CodePlex at http://cmaketools.codeplex.com.  I hope that the extension
will prove useful to the CMake community.  Please don't hesitate to contact
me if you've found any bugs that you'd like to report of it you're
interested in contributing to the project.  Enjoy!

 

David Golub

--

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 this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake&lt;/pre&gt;</description>
    <dc:creator>David Golub</dc:creator>
    <dc:date>2013-05-14T23:04:12</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.programming.tools.cmake.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.programming.tools.cmake.user</link>
  </textinput>
</rdf:RDF>
