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
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
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
, 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
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
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
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
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
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
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
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
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
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
_
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
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
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
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
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
,
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);
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
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
___
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
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
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
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
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
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
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
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
___
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
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
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
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
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 (
, 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-
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
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
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-
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
________
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
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
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
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
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
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
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
;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
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
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
________
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
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
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
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,
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
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
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
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
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
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
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
.) 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
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
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
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
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,
1001 - 1100 of 1123 matches
Mail list logo