Re: [CMake] Using Qt5 with CMake

2014-03-15 Thread Alan W. Irwin
ate our minimum CMake version to 2.8.11, but that may be as much as a year away. 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 eq

Re: [CMake] building an autoconf project with externalproject

2014-03-16 Thread Alan W. Irwin
ou should drop the DOWNLOAD_COMMAND entirely rather than specifying an empty string for it. If that doesn't work, there are other alternatives which I know do work. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, Uni

Re: [CMake] [ANNOUNCE] CMake 3.0-rc3 now ready for testing!

2014-04-09 Thread Alan W. Irwin
is looking pretty good from my perspective, and I would like to thank the development team for their efforts. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliation

[CMake] Trouble exporting a library that is linked to Qt5

2014-04-17 Thread Alan W. Irwin
, the above results were determined using version 5.2.1 of Qt5 and CMake-2.8.12.1. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Free

Re: [CMake] Trouble exporting a library that is linked to Qt5

2014-04-18 Thread Alan W. Irwin
On 2014-04-18 15:38+0200 Stephen Kelly wrote: Alan W. Irwin wrote: Can anyone explain what is going wrong here? For example, do I have to do something extra (i.e., something not required for Qt4) to get libplplot exported properly when it links to Qt5? Even when using Qt 4 you will find the

Re: [CMake] Trouble exporting a library that is linked to Qt5 [SOLVED]

2014-04-19 Thread Alan W. Irwin
On 2014-04-18 08:33-0700 Alan W. Irwin wrote: If not and you recommend instead we use an export config file for our two libraries that depend on Qt5, then I will make those changes. But since the documentation that you reference in the URL above is quite complex and includes lots of stuff we

[CMake] --find-package option fails with some of the Qt5 components

2014-04-22 Thread Alan W. Irwin
Qt5 would be much appreciated. 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.s

Re: [CMake] --find-package option fails with some of the Qt5 components

2014-04-22 Thread Alan W. Irwin
P.S. The results I posted were for cmake-2.8.12.2. 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] --find-package option fails with some of the Qt5 components

2014-04-23 Thread Alan W. Irwin
On 2014-04-23 14:30+0200 Stephen Kelly wrote: Alan W. Irwin wrote: Hi Steve: PLplot not only CMake exports its libraries but also provides library information in pkg-config form for our users that prefer that form. Therefore, for this component of our install I need to collect explicit

Re: [CMake] Help - problem using MinGW in cmake builds

2014-05-16 Thread Alan W. Irwin
roblem is will be of some help to you. 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 f

Re: [CMake] Cygwin drive paths are killing me

2014-06-14 Thread Alan W. Irwin
W_w64+MSYS2) a try without being too affected by our different prejudices. :-) 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 eq

Re: [CMake] Cygwin drive paths are killing me

2014-06-16 Thread Alan W. Irwin
points, but I would like to say in advance that I appreciate your different point of view even though I might not always agree with it, and I am sure vice versa. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University o

Re: [CMake] Updating files in the source tree.

2014-06-28 Thread Alan W. Irwin
ith the old generated result in the source tree. (Some of our generation tools are a bit problematic so it is good to diff with the old version just to make sure all is well in our case, but your needs are probably different.) I hope this discussion of some of the possibilities helps. Alan _

Re: [CMake] No Such File or Directory

2014-08-16 Thread Alan W. Irwin
in front of the name, i.e., from that directory invoke cmake with ./cmake or from anywhere invoke it with the full pathname, e.g., /home/david/cmake-3.0.1-Linux-i386/bin/cmake Hope this guess is right. Alan __ Alan W. Irwin Astronomical research affiliation w

[CMake] --debug-trycompile not working as documented with the results being overwritten

2014-08-31 Thread Alan W. Irwin
s for cmake-2.8.12.x such that try_compiles are repeated even if a cached result (whether true of false) is found for the resulting variable? (For what it is worth, note that HAVE_SAHOOKS is true above.) Alan __ Alan W. Irwin Astronomical research affiliation with Departm

Re: [CMake] --debug-trycompile not working as documented with the results being overwritten

2014-08-31 Thread Alan W. Irwin
On 2014-08-31 12:43-0700 Alan W. Irwin wrote: I have the usual try_compile debug scenario; all but one of them in my project (PLplot) is working (some with expected false results some with true), and I would like to debug the one that isn't working (the result is expected to be true, b

[CMake] Finally got CPACK_SOURCE_IGNORE_FILES to work

2006-07-07 Thread Alan W. Irwin
ocessing going on that halves them again so that the final regex for that component of the vector is just Makefile\.in$. I presume if I wanted a regex for windows directories the above would have to read "CVS" etc., to boil down to a regex of \\CVS\\ to create a

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

2019-02-20 Thread Alan W. Irwin
plications, yet 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 fo

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] Install without building unittests

2019-03-28 Thread Alan W. Irwin
ples in 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 affi

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

2019-05-04 Thread Alan W. Irwin
which are documented 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] Manually-specified variables were not used by the project

2019-05-24 Thread Alan W. Irwin
xample 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] cmake on MinGW64; which generator

2019-06-23 Thread Alan W. Irwin
h.exe.) But 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 Makef

Re: [CMake] cmake on MinGW64; which generator

2019-06-24 Thread Alan W. Irwin
rm 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-s

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

2019-07-28 Thread Alan W. Irwin
with 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 in

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

2019-07-28 Thread Alan W. Irwin
w concerning 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

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
ect with external libraries) for this 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 pack

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

2019-07-29 Thread Alan W. Irwin
dir libinternal_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
s this 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

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

2019-08-21 Thread Alan W. Irwin
minor patching 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 Tim

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

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] 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 package (

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

2019-10-10 Thread Alan W. Irwin
, COMPILE_DEFINITIONS, 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-

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-14 Thread Alan W. Irwin
case. 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 imp

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

2019-10-15 Thread Alan W. Irwin
case and executing that (rather clumsy, of course) 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-

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

2019-12-29 Thread Alan W. Irwin
sure your 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-stat

[CMake] Cannot get automoc to work properly with recommended Qt5 support method

2016-10-16 Thread Alan W. Irwin
ou could provide that simple example for developers like me who don't have a lot of Qt5 or C++ expertise but who just want to build other's Qt5-related work using the best CMake-related methods? Alan ______ Alan W. Irwin Astronomical research affiliation with Departmen

Re: [CMake] Cannot get automoc to work properly with recommended Qt5 support method

2016-10-16 Thread Alan W. Irwin
On 2016-10-16 13:43-0700 Alan W. Irwin wrote: To move to a related topic, the above URL has a tutorial example for the recommended support method which builds the helloworld target from main.cpp. It would be nice for Qt5 users to learn from that tutorial example by building it themselves, but

Re: [CMake] Cannot get automoc to work properly with recommended Qt5 support method

2016-10-16 Thread Alan W. Irwin
On 2016-10-16 13:43-0700 Alan W. Irwin wrote: Hi Stephen: I am addressing you directly (as well as the list) because you have been so helpful with Qt5 issues in the past. The PLplot build system (some of whose components depend on Qt5) currently uses one of the older Qt5 support methods

Re: [CMake] Cannot get automoc to work properly with recommended Qt5 support method

2016-10-16 Thread Alan W. Irwin
On 2016-10-16 18:40-0700 Alan W. Irwin wrote: To be explicit suppose you have some source code named fooqt.cpp which contains #include "barqt.h" which declares some classes for the software package that refer to Q_OBJECT and some classes that do not refer to Q_OBJECT. What is th

Re: [CMake] Cannot get automoc to work properly with recommended Qt5 support method

2016-10-20 Thread Alan W. Irwin
be pursuing that question further on the cmake-devel list. 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] Cannot get automoc to work properly with recommended Qt5 support method

2016-10-20 Thread Alan W. Irwin
arget that depends on MOC_OUT (in your above nomenclature) is essentially a no-op since MOC_OUT is generated at CMake time rather then set up as a custom command to be run at build time. So there is more cleanup I need to do of my explicit method. Alan __ Alan W.

Re: [CMake] Cannot get automoc to work properly with recommended Qt5 support method

2016-10-20 Thread Alan W. Irwin
On 2016-10-20 12:27-0700 Alan W. Irwin wrote: One especially useful thing I realized from your post is my current use of a custom_target that depends on MOC_OUT (in your above nomenclature) is essentially a no-op since MOC_OUT is generated at CMake time rather then set up as a custom command to

Re: [CMake] License and copyright of https://cmake.org/Wiki/CMakeUserFindMySQL

2016-11-04 Thread Alan W. Irwin
I were in your shoes, that particular Creative Commons license is the license I would mention for their work when you redistribute their work as part of a Debian package. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astrono

Re: [CMake] Issue with Fortran/C binding with Intel compilers

2016-11-17 Thread Alan W. Irwin
definition unsupported. 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); the Time Ephemer

Re: [CMake] Policy to forbid linking with non-cmake-targets

2016-12-12 Thread Alan W. Irwin
build, instead of deploying such checks again and again, you could implement and use instead a function that checks for the above condition before calling target_link_libraries. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] cmake vs. Python 3.4

2016-12-23 Thread Alan W. Irwin
python 2.7.9. 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); the Time

Re: [CMake] CMake 3.7.1 gui fails to launch

2017-01-06 Thread Alan W. Irwin
r either Qt4 or Qt5. So like others here have commented, I suspect you have some Qt4 installation issue (e.g., a mixture of private and system versions) that is causing your present difficulties. Alan __ Alan W. Irwin Astronomical research affiliation with Department of

Re: [CMake] Default CMAKE_C_FLAGS value by OS

2017-02-16 Thread Alan W. Irwin
indows distributors of binary versions of PLplot to decide what optimization level they are going to use for all the binary software projects they distribute. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, Universit

Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-02 Thread Alan W. Irwin
sharing with me (and possibly this list) how it goes since I am interested in trying something different from a tweaked CMakeD for gdc language support in the CMake-based PLplot build system. Alan __ Alan W. Irwin Astronomical research affiliation with Department of P

Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-03 Thread Alan W. Irwin
ere, Berni's general result (making a simple example of what appear to be CMake problems often yields important new insights) is quite typical with CMake in my experience. Alan __________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronom

Re: [CMake] Linker error when building 3.8.0-rc4 on Linux

2017-03-31 Thread Alan W. Irwin
obviously not widespread at the current time), I would strongly suggest CMake developers drop use of HMAC_CTX_new() and HMAC_CTX_free() throughout CMake for the final version of CMake-3.8.0. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physi

Re: [CMake] Linker error when building 3.8.0-rc4 on Linux

2017-03-31 Thread Alan W. Irwin
On 2017-03-31 14:00+0200 Nils Gladitz wrote: On 03/31/2017 11:54 AM, Alan W. Irwin wrote: Hi Nils: And use of ExternalProject_Add, etc. In other words, this is a pretty crippling restriction for users with Linux distributions (such as the quite recent Ubuntu 2016.10 of the original poster

Re: [CMake] check_c_source_compiles caching pitfalls

2017-04-22 Thread Alan W. Irwin
with cached variables that you want to reuse this way try the unset command <https://cmake.org/cmake/help/latest/command/unset.html> within the loop. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Vi

Re: [CMake] Is there analog of source command from bash ?

2017-05-28 Thread Alan W. Irwin
esulting from the above idea would be install -> all -> release -> update_environment And similarly for the "test" high-level target. Which I think is what you want for the dependency chain between the high-level targets and custom targets. Good luck, and please let us kno

Re: [CMake] Advice on converting legacy project to modern CMake

2017-08-07 Thread Alan W. Irwin
ou should test your build system for that version as well as at least the latest CMake version. Alan __________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations wit

Re: [CMake] Distinguish two header files with same name using cmake

2017-08-14 Thread Alan W. Irwin
ng what it thinks are system files. See the documentation of find_path, find_file, find_library, etc. So make sure there are no mentions of Cygwin locations in any of your enviroment variables to reduce the chances that Cygwin locations contaminate your VS build. Alan ______ Ala

[CMake] How should config packages handle components?

2017-09-06 Thread Alan W. Irwin
ces. 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); the Time E

Re: [CMake] How to maintain compatibility with earlier versions?

2017-09-11 Thread Alan W. Irwin
g that interval with access to up-to-date distro versions of CMake to use their system CMake version rather than forcing them to use a later version of CMake that they have to build themselves. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physic

Re: [CMake] Execute CMake process not working: source directory confusion

2017-09-28 Thread Alan W. Irwin
l, CMake doesn't allow you to change it unless you start fresh. In sum, to get out of this mess, you must both restore your source tree to pristine condition, and invoke cmake from an initially empty directory which will then become the top-level of your build tree from then on. Alan

[CMake] How to find dll's on Cygwin?

2017-10-25 Thread Alan W. Irwin
o Windows understands DLLs directly, and can synthesize most any required stubs on the fly." Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations wit

[CMake] How to find dll's on Cygwin? (fwd)

2017-10-27 Thread Alan W. Irwin
rwarded message -- Date: Wed, 25 Oct 2017 01:10:25 -0700 (PDT) From: Alan W. Irwin To: cmake@cmake.org Subject: [CMake] How to find dll's on Cygwin? What CMake logic should be used to find the Cygwin dll /usr/bin/cyggnat-6.dll ? I don't have access to Cygwin myself, but m

Re: [CMake] How to find dll's on Cygwin? (fwd)

2017-10-27 Thread Alan W. Irwin
On 2017-10-27 22:31+0200 Marco Atzeri wrote: On 27/10/2017 09:32, Alan W. Irwin wrote: I am pretty sure there are a non-zero number of CMake users here who have had CMake experience finding dll's on Cygwin (since it appears from the quote below that import libraries can be replaced by

Re: [CMake] How to find dll's on Cygwin? (fwd)

2017-10-28 Thread Alan W. Irwin
On 2017-10-28 16:44+0200 Marco Atzeri wrote: On 28/10/2017 05:38, Alan W. Irwin wrote: On 2017-10-27 22:31+0200 Marco Atzeri wrote: On 27/10/2017 09:32, Alan W. Irwin wrote: Our understanding is the Cygwin naming convention for the various kinds of libraries would be (in the gnat library

Re: [CMake] cmake 2.8.12 - How to prevent target executable having dependency to prefixed path of target shared libraries

2017-11-21 Thread Alan W. Irwin
sion. But that is a much more intrusive change than simply building the CMake version(s) you need for testing your software project on that old Suse distro. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victori

Re: [CMake] MinGW Compilers on Windows

2017-12-08 Thread Alan W. Irwin
a Wine bug that blocks my attempts to install MinGW-w64/MSYS2. 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 im

Re: [CMake] MinGW Compilers on Windows

2017-12-11 Thread Alan W. Irwin
distinguish between make versions from the "mingw" versus "msys" repositories (with the former using CMD commands to build and the latter using Unix shell commands to build) when using the "MinGW Makefiles" generator versus the "MSYS Makefiles" generator. I ho

Re: [CMake] Configuration under CMake 3.10.1 fails but succeeds with 3.9.6

2017-12-14 Thread Alan W. Irwin
eal build-system testing (as opposed to their usual unit tests which obviously found no issues with 3.10.1) of the staged version of CMake that they need to test to evaluate what commits from their staged version get into the next release. Alan __ Alan W. Irwin Astronom

Re: [CMake] Ubuntu package versioning

2017-12-18 Thread Alan W. Irwin
later CMake version. But such upgrades are non-trivial so a compromise that allows you to delay doing such an upgrade for a while would be to build and use a newer version of CMake yourself. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Ph

Re: [CMake] absolute library path, sorry for the question

2017-12-23 Thread Alan W. Irwin
n the non-standard location) both at link time and run time. 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 implemen

Re: [CMake] coding style for modules

2018-01-03 Thread Alan W. Irwin
reating a config-file package. However, if it has a CMake-based build system already that is just lacking such a package, it is straightforward to implement such a package (from my experience doing that for several different projects and also from the above URL). Alan ________

Re: [CMake] how to port to cmake a project using gnulib

2018-01-09 Thread Alan W. Irwin
t is, don't be concerned in the slightest about gnulib unless there is some specific place in your source code that calls one of the gnulib routines. And take care of that case with CMake as indicated above. Alan __ Alan W. Irwin Astronomical research affiliation with D

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

2018-01-12 Thread Alan W. Irwin
ity of scaling NNN up to the number of cores in the cluster since that would make clusters with a large number of cores become extremely useful for the purpose of quick testing by software developers. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physi

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 : 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 (since even with ccache I am currently spending a

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" : 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 (since even with ccache I am currentl

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

2018-02-01 Thread Alan W. Irwin
27;th "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 imp

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] 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 to

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-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] 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] MSYS2 broken CMAKE_PREFIX_PATH

2018-02-12 Thread Alan W. Irwin
epository) 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). Programming

Re: [CMake] MSYS2 broken CMAKE_PREFIX_PATH

2018-02-12 Thread Alan W. Irwin
s as 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 Astrono

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 is done

Re: [CMake] MSYS2 broken CMAKE_PREFIX_PATH

2018-02-13 Thread Alan W. Irwin
to a 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 Astronomy,

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] 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] Generator expressions: Identifying when they're used in a custom command?

2018-02-18 Thread Alan W. Irwin
nique target via 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, Un

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

2018-02-19 Thread Alan W. Irwin
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 Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Free

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

2018-02-19 Thread Alan W. Irwin
ions such as 3.0.1 for the reasons I mentioned. 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

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

2018-02-23 Thread Alan W. Irwin
ed 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 ______ Al

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

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

2018-03-08 Thread Alan W. Irwin
.) Defining 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

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

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-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 in the

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

2018-03-27 Thread Alan W. Irwin
your need 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,

<    6   7   8   9   10   11   12   >