Re: [CMake] FindMPI uses wrong fortran include path

2016-02-10 Thread Daniel Wirtz
LUDE_PATH. Thanks -- Dr. Daniel Wirtz Dipl. Math. Dipl. Inf. SRC SimTech Pfaffenwaldring 5a, D-70569 Stuttgart +49 (711) 685-60044 -- 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 servi

Re: [CMake] Custom message if target fails

2015-11-12 Thread Daniel Wirtz
Hey, neat idea, i've tried and it works (i have custom targets there). However, the "nice" colored build text output of such a solution gets lost completely (pipes etc); are there any alternative ideas/solutions? thanks again! Dr. Daniel Wirtz Dipl. Math. Dipl. I

[CMake] Custom message if target fails

2015-11-12 Thread Daniel Wirtz
utput) i'd like to print something like "Whoops it went wrong, type this and that or visit this or that website for help" i know this should ALSO be in the documentation, but you know how people intuitively avoid reading those important parts :-) any help/ideas are appreciated.

[CMake] Intel C99 standard

2015-09-15 Thread Daniel Wirtz
-std=c99" c flags. so has that simply not come up yet or is there a reason cmake does not add those flags for intel? thanks! -- Dr. Daniel Wirtz Dipl. Math. Dipl. Inf. SRC SimTech Pfaffenwaldring 5a +49 711 685 60044 -- Powered by www.kitware.com Please keep messages on-topi

[CMake] FindGit.cmake proposal

2015-09-10 Thread Daniel Wirtz
aving this included, feel free to include any part of it in future releases. if this is not the "right way" of proposing such things, where to go to? cheers Daniel -- Dr. Daniel Wirtz Dipl. Math. Dipl. Inf. SRC SimTech Pfaffenwaldring 5a +49 711 685 60044 #.rst: # FindGit # --- # # #

Re: [CMake] Missing -lgfortran with FortranCInterface verify calls

2015-09-09 Thread Daniel Wirtz
Hey all, sorry for the late reply but that indeed fixes the issue! thanks Brad. On 28.08.2015 17:15, Brad King wrote: On 08/27/2015 03:24 AM, Daniel Wirtz wrote: CMake 3.3.0. [snip] after checking, the @CMakeFiles/VerifyFortranC.dir/linklibs.rsp does not contain the "-lgfortran&quo

[CMake] Object targets and link libraries

2015-09-09 Thread Daniel Wirtz
ons? i need the objects of foo inside a larger target and want to avoid having a separate library being build that needs extra linking. cheers! -- Dr. Daniel Wirtz Dipl. Math. Dipl. Inf. SRC SimTech Pfaffenwaldring 5a +49 711 685 60044 -- Powered by www.kitware.com Please keep messages on-to

[CMake] Missing -lgfortran with FortranCInterface verify calls

2015-08-27 Thread Daniel Wirtz
se things up automatically. so am i missing something obvious here or is this still an (mingw-only) issue? to be clear, i can just skip the verification tests and everything works, but i'd like to think that if that is the case the FortranCInterface_VERIFY() should work as well. thanks!

Re: [CMake] Preventing CMakeLists from being too similar

2015-07-06 Thread Daniel Wirtz
and have that being configured into the module folders with appropriate different values inserted. i'd go for the second option myself. cheers Daniel Dr. Daniel Wirtz Dipl. Math. Dipl. Inf. SRC SimTech Pfaffenwaldring 5a +49 711 685 60044 On 07/06/2015 02:41 PM, Crast, Nicholas wrote

[CMake] Long command lines

2015-06-26 Thread Daniel Wirtz
many packages; e.g. the fortran preprocessor from intel (in the version we have, cant be upgraded) only allows 4K command lines :-( are there any setting in cmake that could help with that? does anyone have experience with that? thanks! -- Dr. Daniel Wirtz Dipl. Math. Dipl. Inf. SRC Si

Re: [CMake] Conditional transitive link libraries

2015-06-03 Thread Daniel Wirtz
make'ified software environment (which is good!), we will sooner or later encounter "downstream" package constellations that have transitive linking into cmake packages over more than 3 levels.. so i think it is worth while discussing/thinking about a suitable design to include. be

[CMake] Conditional transitive link libraries

2015-06-01 Thread Daniel Wirtz
"could not find library z" unless you magically knew that libz is a dependent link library of libA and where to include it from. Including the absolute path to libz in libA's config is also not the way to go, as it ruins the portability over different systems. Is there a "nat