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

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

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
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
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-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-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 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 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] 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] 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] 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] 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] 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] find_package config and install

2019-01-22 Thread Alan W. Irwin
onfig.cmake" 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 "pl

Re: [CMake] find_package config and install

2019-01-22 Thread Alan W. Irwin
useful result 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 _

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
rst (by building 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

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

2018-12-18 Thread Alan W. Irwin
is executed 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 proje

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

2018-11-24 Thread Alan W. Irwin
and Cygwin. So if some of your users are 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-sta

Re: [CMake] add_library ALIAS

2018-11-19 Thread Alan W. Irwin
but 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 Progra

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 __

Re: [CMake] Uninstalling CMake from Linux?

2018-11-07 Thread Alan W. Irwin
off-topic 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

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] CMake Cookbook is out!!

2018-09-27 Thread Alan W. Irwin
x27;t 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] Finding a pkg-config file

2018-09-21 Thread Alan W. Irwin
FIG_PATH environment variable 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 scientif

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

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

2018-07-09 Thread Alan W. Irwin
d the time 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 t

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

2018-07-08 Thread Alan W. Irwin
issue; 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 Prog

[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
e could be the symptom of a parallel build race 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 equ

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
ve any 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 P

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

Re: [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
On 2018-04-13 23:02+0200 Nils Gladitz wrote: On 13.04.2018 21:48, Alan W. Irwin wrote: [...] However, that is wrong since that command currently needs two arguments even if one of them is empty.  So instead I need the generated command to be ./test-drv-info "temporary_target_" p

[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
to make sure 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

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
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,

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

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

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

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

[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

[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

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

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

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

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

  1   2   3   4   5   6   7   8   9   10   >