Hi,
CMakeLists.txt files are processed from start to finish, so if you want to
refer to a target created in a subdirectory, then you need to have added
that subdirectory before using that target.
Mark
On 16/04/2015 1:25 am, "Daniel Dilts" wrote:
> I have a function that does something like thi
ards, Tomasz.
>
> 2015-03-11 0:15 GMT+01:00 Mark Abraham :
>
>> Hi,
>>
>> Sure, this is straightforward to do all at make time, if you're prepared
>> to find out what the names of the generated files are. They must follow
>> some pattern ;-). Solutions with
name of the files that will be generated
> before generation phase occurs.
>
> Therefore I can't use set_source_files_properties( foo.cxx PROPERTIES
> GENERATED true) in cmake stage. Please drop a line if you know how to
> bypass this limitation.
>
> Thanks, Tomasz.
>
Hi,
What are you generating that must be done at cmake time?
Mark
On 09/03/2015 5:36 pm, "Tomasz Majchrowski" wrote:
> Hi,
>
> I'm wondering if there is an easy way to control the dependencies in the
> cmake stage. Basically I would like skip execution of some script run over
> execute_process
On Sat, Mar 7, 2015 at 4:51 PM, Jim Edwards wrote:
> I'm trying to pass a variable to ctest that will only be evaluated at
> runtime.
> If I hand edit the add_test command I can get it to work, the hand edited
> add test looks like:
>
> add_test(piotest "runjob" "--np" "4" "--block" "$ENV{COBALT_
Hi,
I would start by playing with
Modules/CMake*CompilerId*
and if needed
Modules/CMakeDetermine*Compiler.cmake
in master branch of the CMake git repo. Presumably part of the problem is
that the check for __clang__ is very early. You would need to take care
that the older XL compilers still wo
Hi,
Another example along Kenneth's lines:
https://github.com/gromacs/gromacs/blob/master/docs/manual/CMakeLists.txt
Mark
On Mon, Jan 12, 2015 at 5:10 PM, Moreland, Kenneth
wrote:
> Unlike Myles' answer, I'm going to assume that by noticing *.m files have
> changed you mean that the changes ar
maybe
some kind of policy setting might be needed.
Are there other options, or issues I haven't considered?
Regards,
Mark
From 8ded90a797a2f1ea45cfc02bbb106b3c0128c730 Mon Sep 17 00:00:00 2001
From: Mark Abraham
Date: Tue, 18 Nov 2014 13:36:58 +
Subject: [PATCH] Stop compiler tests append
Hi,
Raw try_compile is not a great idiom for general use (though it is unclear
why it is not working well for you). Using the Modules/Check*cmake gear is
a much better option, e.g. with check_symbol_exists()
Mark
On Sun, Aug 31, 2014 at 11:33 PM, Alan W. Irwin
wrote:
> On 2014-08-31 12:43-070
On Wed, Aug 13, 2014 at 7:12 AM, marco restelli wrote:
> 2014-08-13 15:53 GMT+0200, Mark Abraham :
> > On Wed, Aug 13, 2014 at 3:18 AM, marco restelli
> > wrote:
> >
> >> Hi Petr,
> >>thanks, very informative!
> >>
> >&g
On Wed, Aug 13, 2014 at 3:18 AM, marco restelli wrote:
> Hi Petr,
>thanks, very informative!
>
> 2014-08-13 9:20 GMT+0200, Petr Kmoch :
> > Hi Marco.
> >
> > Sane compilers allow later command-line options to override earlier ones,
> > so what you're doing should be fine. Unfortunately, I kno
Hi David,
Thanks very much for your reply! That was extremely helpful, and will let
several packages document a functional workflow for the future.
On Tue, Aug 12, 2014 at 5:38 AM, David Cole wrote:
> Unless it is overridden somewhere else along the way, the following is
> used to create the li
Hi,
In order to build an application with several HPC performance utilities, it
would be good to be able to specify the linker and have it show up on the
link command line.
I learned from
http://cmake.3232098.n2.nabble.com/Specify-the-link-command-in-CMake-td6786695.html
that using CMAKE_C_LINKER
On 8/01/2011 1:53 AM, Michael Wild wrote:
On 01/07/2011 03:26 PM, Mark Abraham wrote:
It appears that FindMPI.cmake works fine, but then the CMake macro
CHECK_C_SOURCE_COMPILES seems to fail its "check variable name for
sanity" test. I can conceive of no reason for this happening. W
On 7/01/2011 11:17 PM, Michael Wild wrote:
On 01/07/2011 11:36 AM, Mark Abraham wrote:
Hi,
When using MPI, our project needs to be able to test for the validity of
MPI_IN_PLACE (http://redmine.gromacs.org/issues/594). Ideally we could
use try_compile to compile a simple test program, however
Hi,
When using MPI, our project needs to be able to test for the validity of
MPI_IN_PLACE (http://redmine.gromacs.org/issues/594). Ideally we could
use try_compile to compile a simple test program, however we need to be
able to direct the use of the compiler information CMake found using the
16 matches
Mail list logo