Re: [CMake] Testing an installation

2013-12-02 Thread Alan W. Irwin
tree, then, pretty much by definition, that proves your install tree has been installed correctly. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] AStyle or similar code beautifier

2014-01-31 Thread Alan W. Irwin
styling, but to my knowledge there is no CMake support for uncrustify (yet). 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] AStyle or similar code beautifier

2014-01-31 Thread Alan W. Irwin
have not yet written a script to do that. 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

[CMake] Cannot find the libstdc++ library on MinGW/MSYS when C++ is not enabled

2014-02-02 Thread Alan W. Irwin
finding libstdc++.dll.a for this platform Anyone have a clue about what is going on? 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

Re: [CMake] Cannot find the libstdc++ library on MinGW/MSYS when C++ is not enabled

2014-02-03 Thread Alan W. Irwin
On 2014-02-03 09:33+0100 Nils Gladitz wrote: On 02/03/2014 07:36 AM, Alan W. Irwin wrote: I don't understand this result at all since with CMAKE_LIBRARY_PATH defined to the exact PATH where libstdc++.dll.a exists, I would think find_library would give identical results to the case when C

Re: [CMake] Cannot find the libstdc++ library on MinGW/MSYS when C++ is not enabled

2014-02-03 Thread Alan W. Irwin
needs to find libstdc++ to answer your original question about use case). Eventually we might also implement an option for linking model 3. So this is why I would appreciate some confirmation of my different mental models in each of the three cases. Alan __ Alan W. Irwin

Re: [CMake] Cannot find the libstdc++ library on MinGW/MSYS when C++ is not enabled

2014-02-03 Thread Alan W. Irwin
from libstdc++? If so, this make an important distinction between case 2 and case 3, but otherwise they would be the same. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] Determining appropriate CMAKE_MINIMUM_REQUIRED

2014-02-06 Thread Alan W. Irwin
subprojects should be small or nonexistent. 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

Re: [CMake] CMake + Ninja + MSVC confusion

2014-02-12 Thread Alan W. Irwin
__ 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] Installing generated files

2014-03-06 Thread Alan W. Irwin
idea should work well for it so, for example, your principal package could copy a subset of what has been installed (i.e, a library and symlinks for it) for its dependent package to a new install location (which sounds like what you want to do). Alan __ Alan W. Irwin

Re: [CMake] Using Qt5 with CMake

2014-03-11 Thread Alan W. Irwin
such as PLplot that currently uses Qt4 to one that uses Qt5. 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

Re: [CMake] Using Qt5 with CMake

2014-03-12 Thread Alan W. Irwin
. Alan On Tue, Mar 11, 2014 at 4:59 PM, Alan W. Irwin ir...@beluga.phys.uvic.cawrote: On 2014-01-26 17:36+0100 Stephen Kelly wrote: http://doc-snapshot.qt-project.org/qt5-stable/cmake-manual.html To resurrect this slightly old thread, it has been years since I implemented the Qt4 parts

Re: [CMake] Using Qt5 with CMake

2014-03-12 Thread Alan W. Irwin
Hi Steve: Your answer was quite helpful, but I have one supplementary question. On 2014-03-12 09:34+0100 Stephen Kelly wrote: Alan W. Irwin wrote: (1) How should you replace find_package(Qt4 4.8.2 COMPONENTS QtCore QtGui QtSvg) find_package(Qt5 5.2.1 COMPONENTS Svg) or find_package

Re: [CMake] Using Qt5 with CMake

2014-03-15 Thread Alan W. Irwin
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 equation-of-state

Re: [CMake] building an autoconf project with externalproject

2014-03-16 Thread Alan W. Irwin
, there are other alternatives which I know do work. 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

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

2014-04-09 Thread Alan W. Irwin
, 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 affiliations with the FreeEOS equation-of-state

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

2014-04-17 Thread Alan W. Irwin
-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 FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net

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

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-23 Thread Alan W. Irwin
__ 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 Ephemerides project (timeephem.sf.net

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

2014-04-23 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
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 for stellar interiors (freeeos.sf.net

Re: [CMake] Cygwin drive paths are killing me

2014-06-14 Thread Alan W. Irwin
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 equation-of-state implementation for stellar interiors

Re: [CMake] Cygwin drive paths are killing me

2014-06-16 Thread Alan W. Irwin
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 of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state

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

2014-06-28 Thread Alan W. Irwin
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 __ Alan W. Irwin

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

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

2014-08-31 Thread Alan W. Irwin
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 Department of Physics and Astronomy, University of Victoria

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

[CMake] What generator(s) should be used for MinGW-w64?

2014-10-30 Thread Alan W. Irwin
for MinGW-w64 so I have no idea whether binary packages exist for MinGW-w64, and if so whether they include some form of make command. So if somebody here has some experience with the MinGW-w64 without MSYS2, I would appreciate your comments. Alan __ Alan W. Irwin

Re: [CMake] What generator(s) should be used for MinGW-w64?

2014-10-31 Thread Alan W. Irwin
.sourceforge.net/download.php I generally recommend using the mingw-builds binary packages Hi Johannes: Thanks for that useful information. What is the name of the make command you use, and is it part of the mingw-builds binary packages that you recommend? Alan __ Alan W

Re: [CMake] What generator(s) should be used for MinGW-w64?

2014-11-01 Thread Alan W. Irwin
On 2014-10-30 14:07-0700 Alan W. Irwin wrote: [...] Furthermore, there is an MSYS2 project (a completely independent project from MSYS, see http://sourceforge.net/p/msys2/wiki/Home/) which _is_ API-compatible with MinGW-w64 since it is built with that compiler. The combination of MinGW-w64

Re: [CMake] Problems with CMP0037

2014-11-02 Thread Alan W. Irwin
characters such as / that have special meaning at the file level on some platforms. 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

Re: [CMake] Problems with CMP0037

2014-11-02 Thread Alan W. Irwin
. 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] Is this expected behavior?

2014-12-08 Thread Alan W. Irwin
__ 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 Ephemerides project

Re: [CMake] Is this expected behavior?

2014-12-08 Thread Alan W. Irwin
, if it is the former case, then it will be interesting to see if the CMake dependency tracker issue demonstrated by your complete simple project on your platform occurs on my and other's platforms as well. Alan __ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] Unclear warning

2014-12-09 Thread Alan W. Irwin
# When OLD CMP0054 is no longer supported can drop the x. is a would be nice wherever this ugly x logic is currently being deployed. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Simultaneous makes?

2014-12-24 Thread Alan W. Irwin
give you some ideas on how to avoid the build issue you have discovered for the current way you organize the build of your interdependent set of libraries. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

Re: [CMake] custom target like add_executable

2015-02-04 Thread Alan W. Irwin
example that is not working for you. I assume you have some dependency issue, but until you give an example, it is hard to anticipate what that might be. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] cmp0026, file(GENERATE...), and configure_file

2015-04-21 Thread Alan W. Irwin
On 2015-04-18 11:35+0200 Stephen Kelly wrote: Alan W. Irwin wrote: So is it recommended that a two-step procedure be used to configure a file? For example: Yes, that seems to be a valid thing to do. If the above complications for configured files are the only way to deal with a mixture

Re: [CMake] cmp0026, file(GENERATE...), and configure_file

2015-04-23 Thread Alan W. Irwin
of CMake to create a patch to implement that, but I hope a CMake developer is inspired to do that by this discussion. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] cmp0026, file(GENERATE...), and configure_file

2015-04-23 Thread Alan W. Irwin
could be used officially as part of CMake? In other words, are there some official CMake functions now that are not written in C++ but are instead written as CMake language functions? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] cmp0026, file(GENERATE...), and configure_file

2015-04-23 Thread Alan W. Irwin
On 2015-04-23 13:32+0200 Nils Gladitz wrote: On 23.04.2015 13:19, Alan W. Irwin wrote: Is there a standard way such a function could be used officially as part of CMake? In other words, are there some official CMake functions now that are not written in C++ but are instead written as CMake

Re: [CMake] cmp0026, file(GENERATE...), and configure_file

2015-04-23 Thread Alan W. Irwin
On 2015-04-23 04:19-0700 Alan W. Irwin wrote: On 2015-04-23 06:47-0400 David Cole wrote: Should it be configure_file(GENERATE or file(CONFIGURE_AND_GENERATE ?? The first (or configure_file_generate, see below) would be my preference. In the meantime, while it is certainly clumsy to do

[CMake] What is the proper way to export targets that will be split into separate binary packages?

2015-04-24 Thread Alan W. Irwin
but this file does not exist. [...] What changes to the above export procedure and/or find_package(plplot ... ) command are recommended so that find_package(plplot ) just works when some split PLplot binary packages are not installed? Alan __ Alan W. Irwin

Re: [CMake] What is the proper way to export targets that will be split into separate binary packages?

2015-04-27 Thread Alan W. Irwin
On 2015-04-24 12:33-0700 Alan W. Irwin wrote: This should be a pretty common issue on Linux since it is quite typical there that downstream packaging splits up binary results into different packages. Therefore, I assume there is a CMake solution to this issue, and I would appreciate those who

Re: [CMake] cmp0026, file(GENERATE...), and configure_file

2015-04-27 Thread Alan W. Irwin
On 2015-04-23 04:19-0700 Alan W. Irwin wrote: On 2015-04-23 06:47-0400 David Cole wrote: In the meantime, while it is certainly clumsy to do the two separate commands everywhere, you could write a CMake language function(configure_file_generate ...) that takes the same args as configure_file

Re: [CMake] How to work around permission deficiencies of file(GENERATE...)?

2015-04-30 Thread Alan W. Irwin
On 2015-04-30 19:54+0200 Stephen Kelly wrote: Alan W. Irwin wrote: However, until that is implemented (or configure_file(GENERATE ...) is implemented with the usual configure_file permission semantics which just copies the permissions of the source file) I need a method of setting file

Re: [CMake] Chicken and egg problem with cmake_minimum_required(...), project(...), and CMAKE_SYSTEM_NAME

2015-05-01 Thread Alan W. Irwin
generally use the system version of CMake rather than being forced to build the latest CMake. My big thanks to Brad for recommending a general solution for the case where different minimum versions are needed on different platforms. Alan __ Alan W. Irwin Astronomical research

[CMake] Chicken and egg problem with cmake_minimum_required(...), project(...), and CMAKE_SYSTEM_NAME

2015-05-01 Thread Alan W. Irwin
minimum versions depending on platform? 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

[CMake] How to work around permission deficiencies of file(GENERATE...)? (was cmp0026, file(GENERATE...), and configure_file)

2015-04-29 Thread Alan W. Irwin
maintenance issue trying to keep track of every file processed by configure_file_generate so I would far prefer to change the permissions at generate time within the configure_file_generate function. Alan __ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] How to work around permission deficiencies of file(GENERATE...)? (was cmp0026, file(GENERATE...), and configure_file)

2015-04-29 Thread Alan W. Irwin
a smooth experience for me. 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

Re: [CMake] What is the proper way to export targets that will be split into separate binary packages?

2015-04-28 Thread Alan W. Irwin
On 2015-04-28 11:57+0200 Nils Gladitz wrote: On 04/28/2015 11:43 AM, Alan W. Irwin wrote: @Nils: the origin of the code right below If COMPONENTS... is not clear. Is that code that should be supplied by a package creator or code that should be implemented by every find_package user

Re: [CMake] What is the proper way to export targets that will be split into separate binary packages?

2015-04-28 Thread Alan W. Irwin
On 2015-04-28 08:56+0200 Nils Gladitz wrote: On 04/28/2015 01:20 AM, Alan W. Irwin wrote: On 2015-04-24 12:33-0700 Alan W. Irwin wrote: This should be a pretty common issue on Linux since it is quite typical there that downstream packaging splits up binary results into different packages

Re: [CMake] Chicken and egg problem with cmake_minimum_required(...), project(...), and CMAKE_SYSTEM_NAME

2015-05-15 Thread Alan W. Irwin
On 2015-05-01 08:47-0400 Brad King wrote: On 05/01/2015 06:25 AM, Alan W. Irwin wrote: # First call to project so that CMAKE_SYSTEM_NAME is defined project(plplot NONE) if(CMAKE_SYSTEM_NAME STREQUAL Linux) cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) else(CMAKE_SYSTEM_NAME STREQUAL

Re: [CMake] Chicken and egg problem with cmake_minimum_required(...), project(...), and CMAKE_SYSTEM_NAME

2015-05-15 Thread Alan W. Irwin
On 2015-05-15 14:48-0400 Brad King wrote: On 05/15/2015 02:26 PM, Alan W. Irwin wrote: function(plplot_cmake_minimum_required) cmake_minimum_required(${ARGV}) endfunction(plplot_cmake_minimum_required) Help: Document behavior of cmake_minimum_required in a function http://cmake.org

[CMake] cmp0026, file(GENERATE...), and configure_file

2015-04-16 Thread Alan W. Irwin
with a mixture of @...@ items and generator expressions to configure, could a change to configure_file so that it honors generator expressions be implemented to avoid these complications? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] Migrating from another build system that maintains its own source file lists

2015-05-28 Thread Alan W. Irwin
Hi Kevin: I believe this discussion continues to belong on the cmake list so I have CC'd there. On Wed, May 27, 2015 at 2:17 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2015-05-27 13:48-0400 Kevin Houlihan wrote: Hello, I want to migrate from a build system that has its own

Re: [CMake] Migrating from another build system that maintains its own source file lists

2015-05-27 Thread Alan W. Irwin
to the above list creation command). 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

Re: [CMake] CMake inconsistent with python libraries

2015-07-28 Thread Alan W. Irwin
, that is a way to select a particular version of the interpreter and the libraries, which presumably can be used to look only for consistent versions.) HTH. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

[CMake] Using cmake on the MSYS2 platform(s)

2015-07-24 Thread Alan W. Irwin
__ 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 Ephemerides

Re: [CMake] [ANNOUNCE] CMake 3.4.0-rc1 is now ready!

2015-10-22 Thread Alan W. Irwin
" -c -o ") endif() Hi Brad: I will give your suggestion a try. 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-o

Re: [CMake] [ANNOUNCE] CMake 3.4.0-rc1 is now ready!

2015-11-09 Thread Alan W. Irwin
e-3.3.2 and CMake-3.4.0-rc3. Thanks, Brad, for your essential help in solving these PLplot Ada and D issues caused by the internal changes in CMake's language support infrastructure for CMake-3.4. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Phy

Re: [CMake] SuperProject package/install

2015-11-12 Thread Alan W. Irwin
once I extend my own epa_build project to use MSVC, I plan to set the INSTALL_COMMAND variable to whatever is appropriate ("nmake install"?) for that case. Hope these ideas help. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Ast

Re: [CMake] [Plplot-devel] [ANNOUNCE] CMake 3.4.0-rc1 is now ready!

2015-10-31 Thread Alan W. Irwin
issue following Brad's suggestion. 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 stel

[CMake] How to set _default_ timeout for the ctest command?

2015-12-08 Thread Alan W. Irwin
would be welcome. 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

Re: [CMake] How to set _default_ timeout for the ctest command?

2015-12-09 Thread Alan W. Irwin
made so CTEST_TEST_TIMEOUT is interpreted exactly the same as the 1500 default timeout, i.e., the CTEST_TEST_TIMEOUT value can be overridden by the ctest --timeout option. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, Un

Re: [CMake] NO_SYSTEM_ENVIRONMENT_PATH globally?

2015-12-14 Thread Alan W. Irwin
t powerful and reliable PLplot platforms on Windows. 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 implem

Re: [CMake] How to run an install command as administrator?

2016-05-26 Thread Alan W. Irwin
nistrator privileges to install in the installation location you have specified with CMake. 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] [ANNOUNCE] CMake 3.5.0-rc2 now ready for testing!

2016-02-11 Thread Alan W. Irwin
more modern version of CMake. 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

Re: [CMake] Two phase install?

2016-03-23 Thread Alan W. Irwin
allows you to organize such multiple builds and installs with ExternalProject_Add. I like and use that a lot for large numbers of different projects that depend on each other, and you might also find it useful for your case of just two independent projects. Alan ______ Ala

Re: [CMake] Two phase install?

2016-03-23 Thread Alan W. Irwin
ctions at the URL (click on the Code link) for accessing our git version of PLplot which contains the epa_build project in the same cmake/epa_build location. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Vi

Re: [CMake] Two phase install?

2016-03-23 Thread Alan W. Irwin
some experimentation concerning the most efficient combination of individual and overall -j options the next time I do an epa_build on Linux. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Two phase install?

2016-03-24 Thread Alan W. Irwin
;, or "Ninja". 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 interi

Re: [CMake] Regarding installation of ITK

2016-04-02 Thread Alan W. Irwin
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 Ephemerides project (timeephem.sf.net

Re: [CMake] Finding 32bit libs on 64bit Ubuntu install

2016-04-22 Thread Alan W. Irwin
to the issue you are discussing. Nevertheless, as an experiment (and to make sure your eventual solution works for the latest CMake) I would suggest you try building and using the latest released version of CMake, 3.5.2, to see if that makes any difference. Alan __ Alan W

Re: [CMake] Finding 32bit libs on 64bit Ubuntu install

2016-04-25 Thread Alan W. Irwin
On 2016-04-25 14:06-0400 Nick Deubert wrote: On Fri, Apr 22, 2016 at 5:08 PM, Alan W. Irwin <ir...@beluga.phys.uvic.ca> wrote: On 2016-04-22 14:59-0400 Nick Deubert wrote: Hey everyone, I am trying to build and link some 32bit binaries on Ubuntu 15.10 64bit, but no matter what combi

Re: [CMake] Debug vs Release "install" area

2016-05-13 Thread Alan W. Irwin
t "trivial" answer. :-) 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 Ti

Re: [CMake] CMake execute_process command on bash on Windows

2016-05-06 Thread Alan W. Irwin
tforms I have mentioned. 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 interi

Re: [CMake] CMake execute_process command on bash on Windows

2016-05-07 Thread Alan W. Irwin
about many fixes for VS generators) it might be more reliable than the VS-related generator you are currently using. 3. What happens if you use a later version of CMake, i.e., 3.4.3 or 3.5.2 with the "NMake Makefiles" generator for that simple test case? Alan ________

Re: [CMake] GPG-Verifying the integrity of a CMake release: BAD signature from "Brad King"

2016-05-09 Thread Alan W. Irwin
ture then I run grep cmake-3.5.2.tar.gz cmake-3.5.2-SHA-256.txt |sha256sum --check with the result cmake-3.5.2.tar.gz: OK which verifies the raw tarball is consistent with the digitally signed and verified sum file. Alan __ Alan W. Irwin Astronomical research affili

Re: [CMake] skip install of subdirectory

2016-07-20 Thread Alan W. Irwin
most mature CMake projects use this kind of option-based method a lot. 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-st

Re: [CMake] How do you handle recursive dependencies in CMake

2016-06-30 Thread Alan W. Irwin
latest versions of PLplot dependencies to test PLplot against those rather than being limited to testing PLplot against dated system versions of its dependencies. But I now use it for any software that I like to build for myself.) Alan __________ Alan W. Irwin Astronomical rese

Re: [CMake] Default CMAKE_C_FLAGS value by OS

2017-02-16 Thread Alan W. Irwin
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, University of Victoria (astrowww.phys.uvic.ca). Progr

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

2016-10-20 Thread Alan W. Irwin
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. Irwin

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

2016-10-20 Thread Alan W. Irwin
will 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
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

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

2016-11-17 Thread Alan W. Irwin
__ 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 Ephemerides project (timeephem.sf.net

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

2016-11-04 Thread Alan W. Irwin
so if 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

[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 Department of Physi

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

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-17 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] Policy to forbid linking with non-cmake-targets

2016-12-12 Thread Alan W. Irwin
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, University

Re: [CMake] CMake 3.7.1 gui fails to launch

2017-01-06 Thread Alan W. Irwin
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 Physics and Astro

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] Linker error when building 3.8.0-rc4 on Linux

2017-03-31 Thread Alan W. Irwin
on 1.1.0 is 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

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] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-03 Thread Alan W. Irwin
'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 Astronomy, University o

<    4   5   6   7   8   9   10   11   12   13   >