Hi all,
we used CMake 2.8 so far and had used the environment variable
CMAKE_ROOT to tell the cmake binary, where to find its Modules etc.
directories.
We used this in a multiplatform context to store the
architecture-independent files of CMake only once.
It seems, that CMake 3.0 does not
Hi all,
I hope this question hasn't been asked before, I haven't found anything
useful in the archive.
Assume I have the following small CMakeLists.txt file:
CMAKE_MINIMUM_REQUIRED (VERSION 2.8)
PROJECT(testCMakeDeps)
ADD_LIBRARY(foo SHARED foo.cpp)
ADD_LIBRARY(bar SHARED bar.cpp)
Hi Eike,
thanks for the pointer. I verified, that it works with the current git
version of cmake.
So the problem will be fixed with the next CMake release.
Martin
On 08/01/14 10:00, Rolf Eike Beer wrote:
Am 08.01.2014 09:42, schrieb Martin Apel:
Hi all,
I hope this question hasn't been
I am trying to use the LLVM dragonegg plugin for GCC in a project, which
is built using CMake. However I have a hard time figuring out how to
tell CMake, what it should do. Dragonegg is a plugin, which makes GCC
use part of the LLVM infrastructure to optimize the compiled code. In my
case,
I am
On 29/03/11 19:56, David Cole wrote:
Now that we have released CMake 2.8.4, *now* would be a great time to
prioritize bug fixes for the next release of CMake.
http://public.kitware.com/Bug/view.php?id=11942
This currently keeps us from upgrading to 2.8.3 or 2.8.4.
Thanks,
Martin
the tests and submit the results to CDash.
The only requirement for the test machines
is to have standard software installed, we need perl and python for our
tests.
Hope this helps,
Martin
On 05/30/10 14:17, Alexander Neundorf wrote:
On Friday 28 May 2010, Martin Apel wrote:
Hi Karthik,
I
busy.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
--
Martin Apel
Software Architect
Phone: + 49 8105 77266-53
E-Mail: martin.a...@simpack.de
SIMPACK AG
Hi all,
we have currently set up a nightly build process, which builds and tests
our software via CMake / CTest and submits results to CDash.
However I would like run some tests on multiple machines with different
OS versions (Windows XP, Vista, Windows 7) for a build, which has been
created
David Cole wrote:
On Fri, Dec 11, 2009 at 3:58 AM, Martin Apel martin.a...@simpack.de
mailto:martin.a...@simpack.de wrote:
Hi all,
I tried to set some CTest custom variables such as
CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE in the CTestCustom.cmake
file in the binary
Dixon, Shane wrote:
I'm running Cmake 2.8.0-rc3. Running cmake --system-information doesn't
dump anything, but tries to build in the current directory. This seems like
a bug. If anyone else can confirm this, I'll open a bug report for it.
--
Shane Dixon
Linux Engineer
Atmel
Philip Lowman wrote:
On Wed, Sep 30, 2009 at 5:24 AM, Martin Apel martin.a...@simpack.de
mailto:martin.a...@simpack.de wrote:
I had a similar issue with CMAKE_SYSTEM_NAME. I have put platform
specific default settings into files called Linux.cmake and
Windows.cmake,
where
I had a similar issue with CMAKE_SYSTEM_NAME. I have put platform
specific default settings into files called Linux.cmake and
Windows.cmake,
where the file is included as
INCLUDE (${CMAKE_SYSTEM_NAME}.cmake)
However it's not possible to initialize some variables, because this
include statement
Hi Brad,
Brad King wrote:
Hi Martin,
Thanks for trying the release candidate. It is helpful to get feedback
early in the release process.
Martin Apel wrote:
However I found a few quirks in the first rc:
1. I have quite a lot of Fortran files in one of our projects. We use
the Intel
Hi all,
thanks for your efforts to improve CMake. Especially the support to run
tests in parallel is really great!
However I found a few quirks in the first rc:
1. I have quite a lot of Fortran files in one of our projects. We use
the Intel Fortran 11 compiler to compile these.
When gathering
Hi all,
I am experiencing a very strange problem with a build run via a ctest
script on Windows. The script looks as follows:
SET (CTEST_SOURCE_DIRECTORY C:/s_9XXX_build-windows-32/develop)
SET (CTEST_PROJECT_NAME Spck NA)
SITE_NAME(CTEST_SITE)
SET(CTEST_BUILD_NAME win32-plain-Experimental)
SET
Hi,
I think you should be able to do something like the following:
set(CMAKE_C_FLAGS PGO_TRAINING_OPTIONS ${CMAKE_C_FLAGS}) # For CXX
probably as well
ctest_configure(BUILD ${CTEST_BINARY_DIRECTORY} )
ctest_build(BUILD ${CTEST_BINARY_DIRECTORY} )
ctest_test(BUILD ${CTEST_BINARY_DIRECTORY} )
j s wrote:
I don't think so, but this article claims that by specifying multiple
c++ files at the same time, the Visual C++ compiler will parallelize them:
http://stackoverflow.com/questions/601970/how-do-i-utilise-all-the-cores-for-nmake
Hi there,
I am currently running nightly builds and accompanying tests using CMake
and CDash. However, our software is rather computationally expensive, so
we'd like to perform more extensive tests every weekend, because one
night is too short for these. I only found documentation on setting up
check out the rest of the Windows Live™. More than mail–Windows Live™
goes way beyond your inbox. More than messages
avk-blocked://www.microsoft.com/windows/windowslive/
--
Martin Apel Tel
assign those build names from those sites to the Weekly group.
Let me know if you need more info : it should be really
straightforward if you are the CDash project administrator.
HTH,
David
On Fri, Jul 10, 2009 at 5:05 AM, Martin Apel martin.a...@simpack.de
mailto:martin.a...@simpack.de
Hi John,
the same problem has bitten me as well, now in a case, where I cannot
simply uninstall one of both compiler versions.
I analyzed the situation a bit, and I am not sure, if either CMake or
Visual Studio is the culprit here.
During try_compile for checking the Fortran compiler, CMake
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
.
--
Martin Apel
distribution.
Best Regards,
Martin
James Bigler wrote:
On Tue, Apr 28, 2009 at 8:21 AM, Martin Apel martin.a...@simpack.de
mailto:martin.a...@simpack.de wrote:
Bill Hoffman wrote:
Martin Apel wrote:
Hi all,
Inspired by the Emacs command cperl-perldoc-at-point I wrote a little
command
Hi all,
Inspired by the Emacs command cperl-perldoc-at-point I wrote a little
command to show the CMake documentation of the command on which the
cursor is currently positioned. It will open another buffer and show the
documentation generated from cmake --help-command command in that
buffer. I
Bill Hoffman wrote:
Martin Apel wrote:
Hi all,
Inspired by the Emacs command cperl-perldoc-at-point I wrote a little
command to show the CMake documentation of the command on which the
cursor is currently positioned. It will open another buffer and show the
documentation generated from
Alexander Neundorf wrote:
On Thursday 23 April 2009, Martin Apel wrote:
Alexander Neundorf wrote:
On Wednesday 22 April 2009, Martin Apel wrote:
Hi all,
I am currently fighting with Visual Studio regenerating a
CMake-generated project on every build, although nothing has
Alexander Neundorf wrote:
On Wednesday 22 April 2009, Martin Apel wrote:
Hi all,
I am currently fighting with Visual Studio regenerating a
CMake-generated project on every build, although nothing has changed. I
am searching for a method how to debug the generated dependencies inside
VS
Hi all,
I am currently fighting with Visual Studio regenerating a
CMake-generated project on every build, although nothing has changed. I
am searching for a method how to debug the generated dependencies inside VS.
The project builds a DLL from Fortran files, which are generated by a
Perl script.
James C. Sutherland wrote:
Let me try this again.
I have a f90 subroutine that performs file IO. I would like to link
that with a C++ driver.
If I use a fortran driver, I am able to set the binary format via
set( CMAKE_Fortran_FLAGS -fconvert=big-endian )
This results in file IO
Hi Alexandre,
I don't think that CMake is able to handle this. I searched for a
solution to a similar problem involving the use of the --start-group and
--end-group option for ld on Linux. You might be able to define custom
rules for this, but then you are definitely on platform-dependent
ground.
mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Mar 17, 2009, at 8:40 AM, Martin Apel wrote:
Hi all,
I am trying to write CMake rules to copy shared libraries / DLLs to
the
runtime directory
Hi Martin,
I am using Dart still, not CDash. But anyway, this is mainly a CTest
configuration issue. Here is what I do:
I have a CTest script which contains the following line:
SET (CTEST_NOTES_FILES ${CTEST_BINARY_DIRECTORY}/SVNVersionInfo.txt)
This file is generated to contain the Subversion
Philip Lowman wrote:
On Fri, Dec 12, 2008 at 9:34 AM, Martin Apel martin.a...@simpack.de
mailto:martin.a...@simpack.de wrote:
Philip Lowman wrote:
On Wed, Dec 10, 2008 at 4:04 AM, Martin Apel
martin.a...@simpack.de mailto:martin.a...@simpack.de
mailto:martin.a
Hi all,
I am experiencing a problem with one Fortran source file containing a
module definition. Unfortunately the whole source file is enclosed in
'#ifdef WINDOWS'. On Linux this causes the build process to fail,
because cmake wants to copy a generated .mod file, which does not exist.
The file
Michael Wild wrote:
On 9. Jan, 2009, at 9:27, Martin Apel wrote:
Hi all,
I am experiencing a problem with one Fortran source file containing a
module definition. Unfortunately the whole source file is enclosed in
'#ifdef WINDOWS'. On Linux this causes the build process to fail,
because
Arjen Markus wrote:
You are right, that this is uncommon. But I'm trying to replace an
existing build system for some thousands of files, which preprocesses
all Fortran files, even those with .f suffix. Unfortunately this is
something I can't change.
I could use the approach you suggest, but
Michael Wild wrote:
On 9. Jan, 2009, at 10:26, Martin Apel wrote:
Michael Wild wrote:
On 9. Jan, 2009, at 9:27, Martin Apel wrote:
Hi all,
I am experiencing a problem with one Fortran source file
containing a
module definition. Unfortunately the whole source file
Tyler Roscoe wrote:
Is there a way to set flags for make from my CMakeLists.txt?
Specifically, I have a cluster of build machines and I would like each
of them to use a specific -j flag. (I would set the -j flag in a
global cmake file where I set up things like project-wide -D flags and
Tyler Roscoe wrote:
On Tue, Dec 16, 2008 at 09:44:38PM +0100, Eric NOULARD wrote:
Ok, so is it simply impossible to do delta builds if my build process
needs add_custom_command/add_custom_target invocations? Is there some
better way to have CMake create the headers for me? Does this
Hi there,
I am trying to install the boost libraries my software needs into the
target installation directory as follows:
Find_Package(Boost 1.34.1 COMPONENTS filesystem system signals
program_options REQUIRED)
FOREACH (Lib ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY}
Hi all,
I am generating a DLL under Windows using a def file. The def file
itself is generated. It seems that CMake (2.6.3rc5) does not generate a
dependency between the generated def file and the DLL. When I change the
input, from which the def file is generated, the def file is rebuilt,
but not
Bill Hoffman wrote:
Martin Apel wrote:
Hi all,
I am generating a DLL under Windows using a def file. The def file
itself is generated. It seems that CMake (2.6.3rc5) does not generate a
dependency between the generated def file and the DLL. When I change the
input, from which the def file
Alexander Neundorf wrote:
On Monday 10 November 2008, Martin Apel wrote:
...
I recently played around with nightly builds as well. I used to have a
setup for experimental builds, but never could get the svn checkout to
run. With the approach described above, I was finally able
to run
On Mon, Nov 10, 2008 at 5:33 AM, Martin Apel [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Eric Noulard wrote:
2008/11/9 Alexander Neundorf [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
[...]
commands can be executed.
IMO this can make setting up
Eric Noulard wrote:
2008/11/9 Alexander Neundorf [EMAIL PROTECTED]:
[...]
commands can be executed.
IMO this can make setting up Nightly builds much easier.
Looks interesting, I didn't ever thought ctest scripting was done for that.
I did shell scripts for that and was wondering
Olivier Tournaire wrote:
Hi all,
I use boost in one of my project. However, cmake (2.6.2) does not seem
to be able to find the libs. With the previous version of gcc (4.2.4),
I did not have any problem. Here is what is in my CMakeLists.txt :
# Find BOOST
# SET( BOOST_LIBRARYDIR
Brad King wrote:
Brad King wrote:
CMake once just listed the object files on the command line in the
makefile, but users hit command line length limits with several hundred
object files. We solved the problem by listing the objects in a
response file. Now it looks like you've hit
Hi all,
I am currently in the process of trying to convert the build system of
our software to CMake.
Unfortunately there is one static library consisting of lots of objects
(about 5700), which has lots of cyclic references, so I cannot easily
split it up.
I can generate this large library on
Alan W. Irwin wrote:
On 2008-10-07 16:09-0400 Brad King wrote:
Now targets b and c and build in parallel, but neither will build until
'a' is generated.
Thanks, Brad, for your further explanation and example. My method
(which I
started to use as a result of misinterpreting something you
Brad King wrote:
We've built huge projects with thousands of custom build rules while
still only having a few custom targets. Your original example can be
written like this:
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_BINARY_DIR}/a
COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_BINARY_DIR}/a
)
Hi all,
I'm experiencing the following problem with ADD_CUSTOM_COMMAND:
The commands defined for it are executed multiple times, if multiple
targets depend on it and I run a parallel make afterwards.
An example makes this easier to understand:
PROJECT(Test)
cmake_minimum_required(VERSION 2.6)
Hi all,
I have a library consisting of multiple sources from Fortran and C, e.g.
file1.f, file2.f, file3.c.
I want to generate this library in two different versions, where in one
of those versions the Fortran files are compiled with different options,
in my case with -ipo.
That means:
Alan W. Irwin wrote:
On 2008-09-29 16:00+0200 Martin Apel wrote:
Hi all,
I have a library consisting of multiple sources from Fortran and C, e.g.
file1.f, file2.f, file3.c.
I want to generate this library in two different versions, where in one
of those versions the Fortran files
, Martin Apel [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I am using ADD_SUBDIRECTORY. I did'nt know, that anything like SUBDIRS
exists and haven't found anything in the documentation about it.
Martin
David Cole wrote:
Are you using SUBDIRS or ADD_SUBDIRECTORY
I am using ADD_SUBDIRECTORY. I did'nt know, that anything like SUBDIRS
exists and haven't found anything in the documentation about it.
Martin
David Cole wrote:
Are you using SUBDIRS or ADD_SUBDIRECTORY in your project...?
On Thu, Sep 4, 2008 at 2:42 AM, Martin Apel [EMAIL PROTECTED
of it in the sub-CMakeLists.txt...?
On Wed, Sep 3, 2008 at 10:41 AM, Martin Apel [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi,
I have defined the following in a top-level CMakeLists.txt:
SET (CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS}
-Wl,--unresolved
Hi,
I have defined the following in a top-level CMakeLists.txt:
SET (CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS}
-Wl,--unresolved-symbols=ignore-in-shared-libs)
Now I'd like to reset this for one specific library in a subdirectory
(in a separate CMakeLists.txt added with
Convey, Christian J CIV NUWC NWPT wrote:
I've got a top-level CMake project with numerous executable and
library sub-projects. I'd like to have CMake generate Makefiles such
that if one of those subprojects fails the build process, the Makefile
still attempts to build all other subprojects
Hi all,
if I remember right, FindBoost currently ignores the minimum version
given. I had a similar problem myself and fell into the same trap.
Regards,
Martin
nilitonilito nilitonilito wrote:
Hi there,
I'm trying to detect libboost in my CMake root script, it works except
for min
Bill Hoffman wrote:
Martin Apel wrote:
Hi Brad,
this is kind of difficult under Windows, as far as I know. I have
MSys installed on my machine, but the pwd command is not really a
command (i.e. .exe) under MSys, but a shell script, which invokes
the shell command pwd. Windows sees the file
Bill Hoffman wrote:
Martin Apel wrote:
Bill Hoffman wrote:
Martin Apel wrote:
Hi Brad,
this is kind of difficult under Windows, as far as I know. I have
MSys installed on my machine, but the pwd command is not really a
command (i.e. .exe) under MSys, but a shell script, which invokes
output at all, it's just a
no-op... cd without any arguments prints the current working directory
just like pwd...
On Fri, Jun 27, 2008 at 9:20 AM, Bill Hoffman
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Martin Apel wrote:
Bill Hoffman wrote:
Martin Apel
Bill Hoffman wrote:
Martin Apel wrote:
This is it! It seems to work correctly, when using cd instead of cd
.. It seems I misinterpreted a command line parameter of a linker
call as the directory output. Sorry for the confusion.
I'm not exactly in love with Windows ;-)
OK
Hi all,
I got the impression, that the CMake generator for Visual Studio 7
ignores the working directory set in ADD_CUSTOM_COMMAND. Is this a bug
or is this a documented feature somehow?
Or am I simply doing something wrong?
Regards,
Martin
Virus checked by G DATA AntiVirus
properly. But still, my impression is, that the Visual
Studio generator ignores this parameter.
Regards,
Martin
Bill Hoffman wrote:
Martin Apel wrote:
Hi all,
I got the impression, that the CMake generator for Visual Studio 7
ignores the working directory set in ADD_CUSTOM_COMMAND
Hi all,
I am using the CMake generator for Visual Studio 2005 to generate
multiple projects. CMake generates one project file per library, which
is fine. When looking at a generated project inside Visual Studio the
project tree contains Header files and Source files. Strange is,
that under
Mike Jackson wrote:
This is taken from a FindBoost.cmake file I had laying around. Adjust
for your needs:
EXEC_PROGRAM(${CMAKE_CXX_COMPILER}
ARGS --version
OUTPUT_VARIABLE _boost_COMPILER_VERSION
)
STRING(REGEX
(CMAKE_COMPILER_IS_GNUCC)
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -fmessage-length=0)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
Hope that helps a bit
-- Mike Jackson Senior Research Engineer
Innovative Management Technology Services
On Jun 5, 2008, at 11:21 AM, Martin Apel wrote
Mike Jackson wrote:
typically, the PROJECT() statement is the first line of your
CMakeLists.txt. Could you explain your project layout a bit more?
I found out, that CMAKE_CXX_FLAGS is set to the compound of
$ENV{CXXFLAGS} and the platform-specific default at the time, the
PROJECT statement
Hi all,
I am trying to port a project using CMake 2.6 from Linux to Windows. The
project build works without problems under Linux. However when trying to
build the project inside Visual Studio 8 after having generated the
project files using CMake, no import libraries are generated.
The
Christian Ehrlicher wrote:
Von: Martin Apel
Hi all,
I am trying to port a project using CMake 2.6 from Linux to Windows. The
project build works without problems under Linux. However when trying to
build the project inside Visual Studio 8 after having generated the
project files using CMake
Hi all,
I am trying to set the CMAKE_CXX_FLAGS or CMAKE_CXX_FLAGS_INIT variable,
such that it contains flags to turn off specific warnings for the Visual
Studio compiler. I definitely want to set these additional flags from
within a CMakeFile, specifying them on the command line or
Christoph Cullmann wrote:
Am Mittwoch 14 Mai 2008 16:30:24 schrieben Sie:
Are you sure the generated source file names are completely unpredictable?
Unless some random generator is being used, those names are probably
predictable, and it might be worth your while to look further into
Hi there,
I am trying to link an executable with multiple libraries, which
reference each other in a circular fashion. It seems, that I cannot
specify the same library multiple times
in TARGET_LINK_LIBRARIES, so the link line will always end up with each
library listed exactly once. In my
74 matches
Mail list logo