Re: [CMake] Difference between PRIVATE and PUBLIC with target_link_libraries

2019-12-29 Thread Alan W. Irwin
answers will be a big help to my project to modernize the CMake-base build system for PLplot which was originally "designed" in 2006 by a team of CMake newbies (including me). Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state impl

Re: [cmake-developers] These two generator expressions should be equivalent, but one working while the other not working. Bug?

2019-10-29 Thread Alan W. Irwin
On 2019-10-24 12:41-0700 Alan W. Irwin wrote: [ W]ould you entertain a feature request to remove that hard-coded language limitation on the above 4 classes of genex so both internally and externally supported languages would work for all of them? Well, since you did not respond I assume

Re: [cmake-developers] These two generator expressions should be equivalent, but one working while the other not working. Bug?

2019-10-24 Thread Alan W. Irwin
On 2019-10-24 08:08-0400 Brad King wrote: On 10/24/19 12:18 AM, Alan W. Irwin wrote: $ Expression did not evaluate to a known generator expression The `*_COMPILER_ID` generator expressions are a hard-coded set corresponding to the languages supported by upstream CMake

[cmake-developers] These two generator expressions should be equivalent, but one working while the other not working. Bug?

2019-10-23 Thread Alan W. Irwin
er cmake/test_d/cmake/Modules or cmake/modules/language_support/cmake-d_fork/ within the plplot source tree. That source tree can be cloned using git clone https://git.code.sf.net/p/plplot/plplot plplot.git Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS eq

Re: [CMake] error executing script with cmake -P

2019-10-15 Thread Alan W. Irwin
) standalone method in your super-project. Good luck, and I hope this overview of how I would deal with the issue you have described is a help to you. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (fre

Re: [CMake] Unity builds (was: Re: [ANNOUNCE] CMake 3.16.0-rc1 is ready for testing)

2019-10-14 Thread Alan W. Irwin
. However, when I have demonstrated with such a simple test case there really is a CMake bug, that test case normally helps CMake developers in a big way to find and fix the issue. Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state impl

Re: [CMake] Unity builds (was: Re: [ANNOUNCE] CMake 3.16.0-rc1 is ready for testing)

2019-10-12 Thread Alan W. Irwin
On 2019-10-12 15:40-0400 Paul Smith wrote: On Fri, 2019-10-11 at 10:17 -0400, Kyle Edwards wrote: On Fri, Oct 11, 2019 at 1:36 AM Alan W. Irwin < alan.w.irwin1...@gmail.com wrote: The source files that have COMPILE_OPTIONS, COMPILE_DEFINITIONS, COMPILE_FLAGS, or INCLUDE_DIRECTORIES will a

Re: [CMake] Unity builds (was: Re: [ANNOUNCE] CMake 3.16.0-rc1 is ready for testing)

2019-10-10 Thread Alan W. Irwin
EFINITIONS, COMPILE_FLAGS, or INCLUDE_DIRECTORIES will also be skipped." Good luck, and I hope you will keep the list informed of any further progress you make with your unity build experiments. Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implem

Re: [cmake-developers] FindThreads module documentation needs some work

2019-10-10 Thread Alan W. Irwin
I have [opened an issue on the bugtracker](https://gitlab.kitware.com/cmake/cmake/issues/19823) concerning this documentation bug. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net

[cmake-developers] FindThreads module documentation needs some work

2019-10-07 Thread Alan W. Irwin
burden for these fixups. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.org

Re: [cmake-developers] Possible feature request concerning conditional linking support by generator expressions

2019-09-25 Thread Alan W. Irwin
On 2019-09-24 14:02-0700 Alan W. Irwin wrote: [...] I. Possible feature request After reading through the generator-expression documentation at <https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html> it appears for my use case (see below) I need generator expre

[cmake-developers] Possible feature request concerning conditional linking support by generator expressions

2019-09-24 Thread Alan W. Irwin
proposed solutions above to the -pthread D issue for my use case. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific

Re: [CMake] Difference between PRIVATE and PUBLIC with target_link_libraries

2019-09-17 Thread Alan W. Irwin
for your further comments on these matters. Alan __________ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software pac

Re: [CMake] Plan to deal with remaining D language support issues for PLplot

2019-08-22 Thread Alan W. Irwin
On 2019-08-21 19:17-0700 Alan W. Irwin wrote: Please let me know if there are any technical issues with this pull request because it has been a long time since I have made such a request to CMake developers. I have now made this pull request available on the bug tracker, see <ht

Re: [cmake-developers] For a certain use case, CMake configures linking to the *same* library in both -L... -l... form and raw file form

2019-08-22 Thread Alan W. Irwin
I have now written [a bug report](https://gitlab.kitware.com/cmake/cmake/issues/19630) that describes this issue. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time

Re: [CMake] Plan to deal with remaining D language support issues for PLplot

2019-08-21 Thread Alan W. Irwin
On 2019-08-21 13:37-0700 Alan W. Irwin wrote: I took a look at [another D support project that you recommended to me off list](https://github.com/trentforkert/cmake/) that project contained the following commit: Author: Ben Boeckel Date: Tue Apr 15 00:21:15 2014 -0400 [...] [My] planned

[CMake] Plan to deal with remaining D language support issues for PLplot

2019-08-21 Thread Alan W. Irwin
of cmake-d files) all remaining cmake-d issues for the PLplot use case. More later as the above plan unfolds Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides p

Re: [cmake-developers] For a certain use case, CMake configures linking to the *same* library in both -L... -l... form and raw file form

2019-08-19 Thread Alan W. Irwin
On 2019-08-17 13:00-0700 Alan W. Irwin wrote: To temporarily work around some bugs in cmake-d support for the D language case, I modified our normal use case for PLplot linking between our D examples and D binding. And that lead to the peculiar result mentioned on the subject line which I have

[cmake-developers] For a certain use case, CMake configures linking to the *same* library in both -L... -l... form and raw file form

2019-08-17 Thread Alan W. Irwin
anguage support, but I thought I had better mention this result here in case it is due to a bug in that support. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemeride

Re: [CMake] cmake + ninja how to use several CPU cores?

2019-07-29 Thread Alan W. Irwin
s the real reason why even the simplest no_custom_add_internal_library project (with nothing custom at all) still demonstrates the issue? Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net)

Re: [CMake] cmake + ninja how to use several CPU cores?

2019-07-29 Thread Alan W. Irwin
l_lib.so && : irwin@merlin> grep cmake_object_order_depends_target_app build.ninja build cmake_object_order_depends_target_app: phony || cmake_object_order_depends_target_internal_lib build CMakeFiles/app.dir/main.cpp.o: CXX_COMPILER__app ../main.cpp || cmake_object_order_depends_target_app Alan __

Re: [CMake] cmake + ninja how to use several CPU cores?

2019-07-29 Thread Alan W. Irwin
is general use case? Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi

Re: [CMake] cmake + ninja how to use several CPU cores?

2019-07-29 Thread Alan W. Irwin
On 2019-07-28 23:39-0700 Alan W. Irwin wrote: @Both: I also plan to look at whether this issue exists for the internal library case so more later when I get that corresponding simple test project implemented. @Brad and David: I have now implemented a simple test project for the internal

Re: [CMake] cmake + ninja how to use several CPU cores?

2019-07-29 Thread Alan W. Irwin
cerning the external library case On 2019-07-29 03:36+0300 Dave Milter wrote: Hi, On Mon, Jul 29, 2019 at 12:01 AM Alan W. Irwin wrote: On 2019-07-28 19:03+0300 Dave Milter wrote: To help answer your question, I see no fundamental issues with your code above. If the latter is really true

Re: [CMake] cmake + ninja how to use several CPU cores?

2019-07-28 Thread Alan W. Irwin
parallel builds for the make case on Linux which is why I would like to also test make just in case it turns out you have found a ninja-only CMake bug.) Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interio

Re: [CMake] cmake on MinGW64; which generator

2019-06-24 Thread Alan W. Irwin
that ideally they should be adopted by the upstream CMake developers. So I hope those developers are (i) reading this thread and (ii) willing to follow up by looking at those patches. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state

Re: [CMake] cmake on MinGW64; which generator

2019-06-23 Thread Alan W. Irwin
ut again from my ancient experience the rest of the Unix tools provided by MSYS2 including bash.exe will likely work well with the "MinGW Makefiles" generator. I hope this (ancient direct and recent indirect) practical experience with "Unix Makefiles", "MSYS Makefiles"

[cmake-developers] target_link_libraries links mathlib as -lm rather than /libm.so, why?

2019-06-17 Thread Alan W. Irwin
hich is why I am wondering why "-lm" is being used for the actual link option above. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem

Re: [cmake-developers] Is email notification of a failed CMake dashboard possible?

2019-05-26 Thread Alan W. Irwin
iewProjects.php> or <https://open.cdash.org/index.php?project=CMake>. So can you be more specific about what URL I need to consult to control my notification preferences at **? Alan On Sun, May 26, 2019 at 7:54 AM Alan W. Irwin wrote: With a lot of initial configuration help from Brad

[cmake-developers] Is email notification of a failed CMake dashboard possible?

2019-05-25 Thread Alan W. Irwin
cdash.org/index.php?project=KWSys>). On extremely rare occasions there is a failure in either of my CMake or KWSYS dashboards. Is it possible for me to set up e-mail notification of such failures (and successes at first to make sure notification works), and if so, how? Alan ______

Re: [CMake] Manually-specified variables were not used by the project

2019-05-24 Thread Alan W. Irwin
e example helps you to figure out what is going on with your more complex example. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplo

Re: [CMake] Forcing finding FreeGLUT instead of the system GLUT on MacOS

2019-05-04 Thread Alan W. Irwin
at e.g., <https://cmake.org/cmake/help/latest/command/find_path.html>. And if you look into that documentation you can find a number of environment variables that control which GLUT installation location is found such as CMAKE_PREFIX_PATH. Hope that helps. Alan __

Re: [CMake] Install without building unittests

2019-03-28 Thread Alan W. Irwin
n the build tree so we can test there in addition to our normal build and test of those examples in the installed examples tree). That method has worked well for us, and I think it would work well for your needs also. Alan __ Alan W. Irwin Programming affiliations w

Re: [CMake] PIE-pie_off and CMP0083-cmp0083_new fail for openSuse Leap 15.0

2019-03-19 Thread Alan W. Irwin
, openSuse Leap 15.0? Alan __________ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net);

Re: [cmake-developers] different behavior of cmake_minimum_required(3.0) and 3.1

2019-03-15 Thread Alan W. Irwin
the more modern set of policies associated with cmake_minimum_required(VERSION 3.5.1) to see whether you have the same trouble in that case for a range of CMake versions (including 3.8.2, just in case there is a specific bug in that version) from 3.5.1 to the latest version. Alan ________

Re: [CMake] Automatically updating Doxygen documentation and making it readily available to users with CMake

2019-02-20 Thread Alan W. Irwin
et tarball users get a chance to access the generated documentation. Of course, if someone here has a better or more standardized scheme, I would like to hear it. Alan __________ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar inter

Re: [cmake-developers] How does CMake know when to use the rpath option in the build tree with a combination of static internal and shared external libraries?

2019-02-09 Thread Alan W. Irwin
On 2019-02-08 15:19-0800 Alan W. Irwin wrote: So all is well with that C example, but I would like to know *how* CMake knew (for the build tree case) that the rpath option was needed. Having thought some more about this, I now assume the CMake build-tree algorithm is if the library

[cmake-developers] How does CMake know when to use the rpath option in the build tree with a combination of static internal and shared external libraries?

2019-02-08 Thread Alan W. Irwin
cally knows in the build tree when to use the appropriate rpath option for the C language case. Alan __________ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeeph

Re: [CMake] find_package config and install

2019-01-22 Thread Alan W. Irwin
ot; file, configuring CPack, or ultimately (if you are interested in testing "foo" configuring CTest) then perhaps it is time for you to start a possible soft transition to a CMake-based build system for "foo" as a hobby style of project without the type of "planning"

Re: [CMake] find_package config and install

2019-01-22 Thread Alan W. Irwin
sult that other projects can import successfully. But exporting is pretty straightforward once you have read the above documentation, and it sure makes life convenient for other projects which wish to import targets from an already installed foo package. Alan __ Alan W.

Re: [CMake] Issue with qt5_add_resources with unit tests

2019-01-18 Thread Alan W. Irwin
d_resources or not I think that workaround will work to solve your issue since in a parallel build environment a custom target and relevant dependencies on that target always assures just one build (rather than multiple builds which race with each other) of whatever it refers to. Alan ______

Re: [CMake] Help with non-standard use of CMake

2018-12-31 Thread Alan W. Irwin
g the "all" target) before you run ctest if any of your ctest tests depend on those built libraries or executables. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the T

Re: [CMake] Modern cmake advise for transitive library dependencies

2018-12-18 Thread Alan W. Irwin
d as a result of find_package(X ...) from Y, Qt5 should be found automatically when needed. Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeep

Re: [cmake-developers] A dashboard that reveals a ctest issue on Windows when there are no tests

2018-12-05 Thread Alan W. Irwin
On 2018-12-05 12:37-0800 Alan W. Irwin wrote: On 2018-12-05 09:22-0500 Brad King via cmake-developers wrote: On 12/4/18 4:08 PM, Alan W. Irwin wrote: Build Warnings (1) *** WARNING non-zero return value in ctest from: C:\cmake-3.13.1-win64-x64\bin\cmake.exe That's in the "

Re: [cmake-developers] A dashboard that reveals a ctest issue on Windows when there are no tests

2018-12-05 Thread Alan W. Irwin
On 2018-12-05 09:22-0500 Brad King via cmake-developers wrote: On 12/4/18 4:08 PM, Alan W. Irwin wrote: Build Warnings (1) *** WARNING non-zero return value in ctest from: C:\cmake-3.13.1-win64-x64\bin\cmake.exe That's in the "Build" section and indicates that the build comm

[cmake-developers] A dashboard that reveals a ctest issue on Windows when there are no tests

2018-12-04 Thread Alan W. Irwin
ect=PLplot_git=2018-12-02>) successful dashboards for a fully loaded Linux systems, and Arjen Markus has done the same thing previously for his fully loaded Cygwin and MinGW-w64/MSYS2 platforms. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equati

Re: [CMake] custom commands, targets and parallel builds

2018-11-24 Thread Alan W. Irwin
e reporting parallel build troubles on any of those platforms it is likely an issue with the make command on those platforms rather than your build system. Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors

Re: [CMake] add_library ALIAS

2018-11-19 Thread Alan W. Irwin
it sure would mess up our build-tree testing (which depends on our examples getting built in that case), and you may find similar build-tree test failures would occur for the project you are investigating if you removed the ALIASing logic. Alan ______ Alan W. Irwin Programming

Re: [CMake] CMAKE_*_IMPLICIT_INCLUDE_DIRECTORIES with MinGW

2018-11-08 Thread Alan W. Irwin
trates the issue you have found on at least one of the above platforms. Once you supply that, others here can conveniently use that test project to verify (or not) the issue on any of the above 4 platforms. Good luck with your further investigations into this issue! Alan __ A

Re: [CMake] Uninstalling CMake from Linux?

2018-11-07 Thread Alan W. Irwin
for this list. Instead consult with some appropriate Docker list. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific

Re: [CMake] Finding out how "cmake" was run

2018-10-31 Thread Alan W. Irwin
empty build-tree case" use case presented in 14756 (and also very long ago by me) was finally addressed. Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerid

Re: [cmake-developers] KWSys build warnings on the "merlin" platform

2018-10-24 Thread Alan W. Irwin
On 2018-10-24 09:05-0400 Brad King wrote: On 10/23/2018 06:37 PM, Alan W. Irwin wrote: look at those build warnings which repeatedly show up on the "merlin" report for the the KWSys dashboard The warnings come from code generated by CMake. You're driving the builds with CMake

Re: [cmake-developers] KWSys build warnings on the "merlin" platform

2018-10-23 Thread Alan W. Irwin
The promised attachment concerning how my CMake test is configured. __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific

Re: [cmake-developers] KWSys build warnings on the "merlin" platform

2018-10-23 Thread Alan W. Irwin
s anything obvious that can be done to deal with the source code issues that gcc/g++ has discovered for my Debian Buster platform. Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time E

[cmake-developers] kernel log segfault warning messages when building/testing CMake

2018-10-23 Thread Alan W. Irwin
e, I notice set(ENV{CXXFLAGS} "-O3 -DNDEBUG") set(ENV{CFLAGS} "-O3 -DNDEBUG") in there in case that makes a difference with regard to the above KWSys compile warnings that seem to appear just for my platform. Alan __ Alan W. Irwin Programming affilia

Re: [CMake] CMake Cookbook is out!!

2018-09-27 Thread Alan W. Irwin
buy e-books unless they are DRM-free. (See <https://en.wikipedia.org/wiki/Digital_rights_management#Opposition> for why DRM is such a concern to knowledgable readers of e-books.) Thus, I was very happy to see the e-book form of the above book is DRM-free. Alan __

Re: [cmake-developers] FindLua.cmake module does not find a locally built lua library

2018-09-24 Thread Alan W. Irwin
On 2018-09-24 11:07-0400 Brad King wrote: On 09/22/2018 07:09 PM, Alan W. Irwin wrote: 2. Use the NAMES_PER_DIR option in the find_library command. This is the correct fix. The versioned names need to go first to try to match the headers. I agree. I have additional code in PLplot to find

[cmake-developers] FindLua.cmake module does not find a locally built lua library

2018-09-22 Thread Alan W. Irwin
d_library command. Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLAS

Re: [CMake] Finding a pkg-config file

2018-09-21 Thread Alan W. Irwin
to see what you have actually set it to within CMake. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software pac

[cmake-developers] Today's PLplot contract has failed with missing Linux default .so suffix on modules

2018-09-18 Thread Alan W. Irwin
Just in case this has been fixed already where should I check for obvious CMake fix activity before reporting such issues? Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time

[cmake-developers] Documentation of version comparisons needs updating

2018-09-15 Thread Alan W. Irwin
3.12.2, and since the documentation did not acknowledge what would be done when non-integer strings were appended to any of the integer components of the version string, I am concerned the component integers might be determined in an unreliable way for trailing non-integer string cases. Alan _

[cmake-developers] Build warnings for CMake 3.12.2

2018-09-08 Thread Alan W. Irwin
whether these build warnings signal a CMake issue that should be addressed or ignored. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net

Re: [CMake] Happy Birthday CMake!

2018-09-02 Thread Alan W. Irwin
org/wiki/Cmake>, but the history paragraph there includes nothing about the fundamental changes made along the way in the development of CMake. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.

Re: [cmake-developers] [CMake] Happy Birthday CMake!

2018-09-02 Thread Alan W. Irwin
org/wiki/Cmake>, but the history paragraph there includes nothing about the fundamental changes made along the way in the development of CMake. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.

Re: [CMake] groups of ascii nul ('\0) characters inserted into make output but this just occurs for parallel builds (SOLVED)

2018-07-09 Thread Alan W. Irwin
On 2018-07-09 09:10+0200 Nils Gladitz wrote: On Sun, Jul 8, 2018 at 11:00 PM Alan W. Irwin wrote: My parallel builds on my Linux OS (currently Debian Buster, but this also happened for Debian Jessie so this is a long-standing problem) have ascii null ('\0) characters inserted in the output

Re: [CMake] specifying path for license file for commercial compiler?

2018-07-09 Thread Alan W. Irwin
to look at other Fortran compilers presumably most of them will also produce perfect test results (since most Fortran vendors report they have correctly implemented all parts of the iso_c_binding module). Alan __ Alan W. Irwin Programming affiliations with the FreeEOS

Re: [CMake] specifying path for license file for commercial compiler?

2018-07-08 Thread Alan W. Irwin
ifort quietly produced bad code whenever it had to process too many source lines! I hope ifort is much more reliable now, but it sure gave me a bad first impression in that regard. Hope you don't mind these old war stories.... :-) Alan __ Alan W. Irwin Programming affilia

[CMake] groups of ascii nul ('\0) characters inserted into make output but this just occurs for parallel builds

2018-07-08 Thread Alan W. Irwin
ce condition for the PLplot build system. To help eliminate or confirm this possibility what is the most fool-proof method to diagnose whether such a race exists? Alan ______ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar int

Re: [CMake] [ANNOUNCE] CMake 3.12.0-rc2 is ready for testing

2018-06-29 Thread Alan W. Irwin
mum of the running CMake and "" versions. I prefer the latter because it immediately answers the question implied by the former, i.e., what happens if the running version is less than max? Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation

Re: [CMake] advice for resolving errors with CMake 3.8

2018-05-02 Thread Alan W. Irwin
y VS experience so it might be more complicated than that.) Anyhow, I thought this idea was worth a shot since it allows you to stick with CMake-3.11 compatibility for your build system. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physic

Re: [CMake] Multiple "projects" one directory

2018-04-28 Thread Alan W. Irwin
at two build areas which build largely the same code will not cost that much more to build than one build area. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affili

[CMake] Is it possible for CMake to generate unescaped quotes on the (bash) command line as a result of add_custom_command?

2018-04-13 Thread Alan W. Irwin
re I am not missing some obvious way that CMake can generate unescaped quotes on the command-line. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeE

Re: [cmake-developers] Is the "cmake_policy (VERSION 3.11)" statement in the latest UseSWIG.cmake correct?

2018-04-05 Thread Alan W. Irwin
ortant module. Alan __________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net);

[cmake-developers] Is the "cmake_policy (VERSION 3.11)" statement in the latest UseSWIG.cmake correct?

2018-04-04 Thread Alan W. Irwin
dule after 3.9.1 in case there were any further bug fixes that would be important to our users. And that investigation left me wondering whether that "cmake_policy (VERSION 3.11)" statement actually states the correct minimum version of cmake that would work with this module. Alan ___

Re: [CMake] looking for 2 features to help pkg-config pc files

2018-03-27 Thread Alan W. Irwin
-config packages to native packages, I would like to hear about it. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state

Re: [CMake] looking for 2 features to help pkg-config pc files

2018-03-27 Thread Alan W. Irwin
to generate information about your software in pkg-config form, but the very large side benefit is you also provide that information in native CMake package form. Alan __________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

[cmake-developers] set_target_properties documentation needs to be updated

2018-03-16 Thread Alan W. Irwin
n a good position to do this simple documentation fix commit themselves. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-

Re: [CMake] What are the actual benefits of namespaced targets?

2018-03-11 Thread Alan W. Irwin
On 2018-03-11 10:15+0100 Nils Gladitz wrote: On 10.03.2018 23:01, Alan W. Irwin wrote: Anyhow, your thoughts would be appreciated for reasonable best practice limits on how far (if any) beyond the common code case you would go to convert an old project to use ALIAS libraries and modules

Re: [CMake] What are the actual benefits of namespaced targets?

2018-03-10 Thread Alan W. Irwin
On 2018-03-08 12:49-0800 Alan W. Irwin wrote: On 2018-03-08 20:05+0100 Nils Gladitz wrote: On 08.03.2018 19:50, Alan W. Irwin wrote: So what are the actual benefits of namespacing the exported targets associated with libraries? On the consumer side it makes linking to targets less error

Re: [CMake] What are the actual benefits of namespaced targets?

2018-03-08 Thread Alan W. Irwin
On 2018-03-08 20:05+0100 Nils Gladitz wrote: On 08.03.2018 19:50, Alan W. Irwin wrote: So what are the actual benefits of namespacing the exported targets associated with libraries? On the consumer side it makes linking to targets less error prone. When you link to a library target without

[CMake] What are the actual benefits of namespaced targets?

2018-03-08 Thread Alan W. Irwin
fining such ALIAS targets should be absolutely straightforward, but I want to make sure the actual namespaced target benefits outweigh this small added complexity. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Vi

Re: [CMake] Return an Error Code (or something) from a CMake Script.

2018-02-26 Thread Alan W. Irwin
t custom command? Or are there reasons not to implement this more usual custom command/custom target approach in this case? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic

Re: [CMake] Help with find module for package w/ components

2018-02-23 Thread Alan W. Irwin
ported then the use of those targets in target_link_library commands is completely orthogonal to exactly how the targets are organized into separate packages. Anyhow, I hope this discussion (especially the above URL reference to best CMake practices) is a help to you. Alan __ Alan W.

Re: [CMake] Generator expressions: Identifying when they're used in a custom command?

2018-02-19 Thread Alan W. Irwin
d. I hauled that around on my back for a while by working around its bugs with the PLplot build system, but it was quite a lot of effort, and that build system became somewhat simpler once I bumped the minimum cmake version to 3.6.2. Alan ______ Alan W. Irwin Astronomical resear

Re: [CMake] Generator expressions: Identifying when they're used in a custom command?

2018-02-19 Thread Alan W. Irwin
t version and higher for MSVC as well so that choice of minimum CMake version should inconvenience very few of your potential users. I hope these suggested changes help you toward your broader goal. Alan __ Alan W. Irwin Astronomical research affiliation with Department of

Re: [CMake] Generator expressions: Identifying when they're used in a custom command?

2018-02-18 Thread Alan W. Irwin
the DEPENDS of the latter) could you not set the IS_INTERROGATE property for the custom target part of of each pair whenever that property is relevant? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] MinGW-w64/MSYS2 (or Cygwin) and NAG Fortran - how to combine?

2018-02-13 Thread Alan W. Irwin
On 2018-02-13 14:56-0500 Brad King wrote: On 2/13/2018 2:50 PM, Alan W. Irwin wrote: While waiting for Arjen to respond from his European time zone to that question, which cmake package for MinGW-w64/MSYS2 do you usually recommend? The cmake package from the mingw64 repository or the cmake

Re: [CMake] MinGW-w64/MSYS2 (or Cygwin) and NAG Fortran - how to combine?

2018-02-13 Thread Alan W. Irwin
On 2018-02-13 12:32-0500 Brad King wrote: On 2/9/2018 2:36 AM, Arjen Markus wrote: From: Alan W. Irwin I suggest you try the names CYGWIN-NAG-Fortran.cmake and Windows-NAG-Fortran.cmake for the two separate Platform files you are trying to create for the Cygwin and MinGW-w64/MSYS2 platforms

Re: [CMake] MSYS2 broken CMAKE_PREFIX_PATH

2018-02-13 Thread Alan W. Irwin
colon, i.e., /mingw64/bin/cmake /d/tmp/sources \ -DCMAKE_PREFIX_PATH="/d/dest/thirdparty:/d/dest/binaries" && \ make && make install ? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astron

Re: [CMake] MSYS2 broken CMAKE_PREFIX_PATH

2018-02-12 Thread Alan W. Irwin
On 2018-02-12 23:06+0100 Mario Emmenlauer wrote: On 12.02.2018 22:09, Alan W. Irwin wrote: [...] I am virtually positive from reading <https://github.com/msys2/msys2/wiki/MSYS2-introduction> and other MinGW-w64/MSYS2 documentation that the conversion from POSIX to native PATHs i

Re: [CMake] MSYS2 broken CMAKE_PREFIX_PATH

2018-02-12 Thread Alan W. Irwin
above rather than trying MinGW-w64/MSYS2 for myself! Anyhow, if you get a chance to test out some of the above predictions, I would be most interested in your results. Alan __________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] MSYS2 broken CMAKE_PREFIX_PATH

2018-02-12 Thread Alan W. Irwin
sitory) supplies a much smaller number of Unix-like packages. CMake packages happen to be in both repositories! Alan __________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programm

Re: [CMake] MSYS2 broken CMAKE_PREFIX_PATH

2018-02-11 Thread Alan W. Irwin
indows and POSIX paths. Note I have no access to MinGW-w64/MSYS2 myself, but I do pay close attention to this platform because it is the best Windows platform for PLplot according to a fellow PLplot developer who does have a lot of practical experience with this platform. Alan ________

Re: [CMake] MinGW-w64/MSYS2 (or Cygwin) and NAG Fortran - how to combine?

2018-02-11 Thread Alan W. Irwin
On 2018-02-10 08:04+0100 Mojca Miklavec wrote: On 9 February 2018 at 18:24, Alan W. Irwin wrote: On 2018-02-09 10:44- Arjen Markus wrote: Hi Alan, The result is the same or very much the same. OK. Time for more knowledgable people to weigh in here about what Platform filenames to use

Re: [CMake] MinGW-w64/MSYS2 (or Cygwin) and NAG Fortran - how to combine?

2018-02-09 Thread Alan W. Irwin
;MSYS Makefiles" generators. Meanwhile, can you test whether the Platform filename I suggested for the nagfor Cygwin case with "Unix Makefiles" generator is correct? Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Ast

Re: [CMake] MinGW-w64/MSYS2 (or Cygwin) and NAG Fortran - how to combine?

2018-02-09 Thread Alan W. Irwin
On 2018-02-09 07:36- Arjen Markus wrote: Hi Alan, -Original Message- From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Thursday, February 08, 2018 10:59 PM To: Arjen Markus Cc: cmake@cmake.org Subject: Re: [CMake] MinGW-w64/MSYS2 (or Cygwin) and NAG Fortran - how

Re: [CMake] MinGW-w64/MSYS2 (or Cygwin) and NAG Fortran - how to combine?

2018-02-08 Thread Alan W. Irwin
GNU-Fortran by NAG-Fortran. Therefore, I suggest you try the names CYGWIN-NAG-Fortran.cmake and Windows-NAG-Fortran.cmake for the two separate Platform files you are trying to create for the Cygwin and MinGW-w64/MSYS2 platforms. Alan __ Alan W. Irwin Astronomical research

Re: [CMake] announce: free VTK, ParaView and CMake training at Kitware New York next month

2018-02-01 Thread Alan W. Irwin
"CMake and Friends" all day: w/ Bill Hoffman Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state impl

Re: [CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Alan W. Irwin
On 2018-01-12 13:34+0300 Konstantin Tokarev wrote: 12.01.2018, 12:58, "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>: I am looking into the practicality of using clusters containing ~5 cheap ARM 8-core computers (such as the Banana Pi M3) to rapidly build and test soft

Re: [CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Alan W. Irwin
On 2018-01-12 11:14+0100 Eric Noulard wrote: 2018-01-12 10:58 GMT+01:00 Alan W. Irwin <ir...@beluga.phys.uvic.ca>: I am looking into the practicality of using clusters containing ~5 cheap ARM 8-core computers (such as the Banana Pi M3) to rapidly build and test software (sinc

  1   2   3   4   5   6   7   8   9   10   >