for CMake, can I always rely on target dependencies always taking
precedence over file dependencies from here on out?
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming
On 2007-04-08 15:26-0700 Brandon J. Van Every wrote:
Alan W. Irwin wrote:
t f
library = target = command
\
\ t
=== executable
This new arrangement bypasses the whole issue of having a custom
/Wiki/CMake_FAQ.
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
, and it will.
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); PLplot
__
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); PLplot scientific plotting software
package
change since
so many stumble over that feature despite the FAQ
(http://www.cmake.org/Wiki/CMake_FAQ#I_run_an_out-of-source_build_but_CMake_generates_in-source_anyway._Why.3F)
entry warning users about it.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department
On 2007-04-12 22:12-0400 Bill Hoffman wrote:
Alan W. Irwin wrote:
CMake is a great program, once you get to grips with it, more examples
for the documentation would make that much easier.
however
http://www.cmake.org/HTML/RunningCMake.html
The in-source and out-of-source build
you try is a bug in 2.4.6, but I would like to see some discussion
here before I make a bug report about this.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming
On 2007-04-16 09:30-0700 Alan W. Irwin wrote:
My opinion is that the FORCE option to SET should _always_ force the
specified cache value (as is currently documented and as seems intuitive to
users). When you get situations like above where it doesn't always force
the value, it can be quite
__
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); PLplot scientific plotting software
package
$(items_to_buy))
MESSAGE( $(items_to_buy) )
when I run either ccmake . or cmake, ther is no expansion
of $(items_to_buy). Do I need something else in the file?
Yes, variable expansion requires curly braces and not parentheses:
$(items_to_buy) == ${items_to_buy}
Alan
__
Alan W
On 2007-04-19 15:04+0200 Vitor Vasconcelos Araujo Silva wrote:
[...]So, the question: Is it possible to control this kind of
dependecies/behavior from CMakeLists files?
Yes. Look up ADD_DEPENDENCIES at http://cmake.org/HTML/Documentation.html.
Alan
__
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); PLplot scientific
instead. Note that command has different syntax (someone else recommended
this command as well). In its simplest form it is
FIND_PACKAGE(KDE3)
(which also works on Linux).
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy
manner so we all don't end up spinning our wheels with
our own private fixes.
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
instances) the directions in readme.txt are being followed.
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
why you missed ENABLE_LANGUAGE. Currently its
documentation says
ENABLE_LANGUAGE
Set a name for the entire project.
After that bad start the rest of the ENABLE_LANGUAGE documentation does
indicate how to use ENABLE_LANGUAGE.
Alan
__
Alan W. Irwin
Astronomical
believe that is
something new since I got my rpaths working properly for PLplot half a year
ago, and it seems to me it might be a much easier solution (although I
haven't tried it yet).
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics
with CMake will be a 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
that is
always executed when the library is built depends on that custom command.
The result of this seemingly complicated arrangement is efficiency; the
header is generated only when absolutely needed so there are no unnecessary
rebuilds of the library.
Alan
__
Alan W. Irwin
the pkg_check_modules macro in that
module file delivers nicely parsed (and complete) pkg-config results.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming
,
and you will have to change any CMake file dependencies that depend on
${tsfiles} to timestamp_tsfiles.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations
__
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); PLplot scientific plotting software
as well as other bits
of cpack documentation you can find by searching the wiki for cpack.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations
__
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); PLplot scientific plotting software
by lack of C support.
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
On 2007-05-11 00:07+0200 Hendrik Sattler wrote:
Am Donnerstag 10 Mai 2007 19:39 schrieb Alan W. Irwin:
[...]This error is caused by lack of C support.
Yes. It is obviously that way. But it is kind of non-sense to require a C
compiler for a library like Qt4.
I think you are probably correct
__
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); PLplot scientific plotting software
package
/hello_program.o.requires'. Stop.
The ugly workaround for this bug is to create that required file using
touch hello_module.mod.proxy.
Hope you can find a bug fix for this case as well.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy
On 2007-05-16 14:06-0700 Alan W. Irwin wrote:
Hi Andrew:
Just out of curiosity I tried your patch (to 2.4.6) to see whether it would
make any difference to bug 3984, A fortran 95 module dependency issue.
As expected (everything is in lower case in the attached simple example), it
makes
://www.cmake.org/Wiki/CMake_Useful_Variables).
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
, but it
appears to only use the last one when you are specifying the same property
(OBJECT_DEPENDS).
So what is the correct way to set up source-file dependencies on files
in another directory?
I am using cmake-2.4.6 on a Linux (Debian sarge) platform.
Alan
__
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); PLplot scientific plotting software
package
# support.
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
need.
Store those results in different CMake variables, then use
SET_SOURCE_FILES_PROPERTIES to set the compile flags, and use
TARGET_LINK_LIBRARIES to link your executable target to the external
library (specified with its full path).
Alan
__
Alan W. Irwin
Astronomical
talking with
the PLplot windows developers is all is not so rosy in that build-tree case
because windows doesn't have the rpath facility. Those experienced with
windows may be able to help you work around that issue with the windows
tool chain.
Alan
__
Alan W. Irwin
On 2007-05-23 14:39-0600 [EMAIL PROTECTED] wrote:
Forgive me if this is a dumb n00b question, but is there a way to
retrieve a single item from a list in CMake? I need to parse the
returned output of EXEC_PROGRAM.
LIST(GET...
Alan
__
Alan W. Irwin
Astronomical
of such
plural/singular problems becomes magnified. Thus, this fix makes the
meaning much clearer.
I hope some responsible CMake developer will immediately take about 10
seconds to make this documentation fix in CVS.
Alan
__
Alan W. Irwin
Astronomical research affiliation
On 2007-05-24 11:56-0600 [EMAIL PROTECTED] wrote:
Alan W. Irwin [EMAIL PROTECTED] wrote on 05/23/2007 02:46:10
PM:
# On 2007-05-23 14:39-0600 [EMAIL PROTECTED] wrote:
#
#
# Forgive me if this is a dumb n00b question, but is there a way to
# retrieve a single item from a list in CMake? I
example of the issue of different behaviour for -D options depending
on whether the type is specified or not. Personally, I think the solution is
to assign a default type if none is specified with the -D command. ON or OFF
gets BOOL everything else is STRING.
Alan
__
Alan W
one of the few weakness of CMake compared to autotools. (The
only other one I can think of at this time is Fortran.)
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca
real CMake experts to chime in here
about the interpretation of macro parameters.
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
falling into the same trap.
Maybe you are right. Time for the experts to chime in on this.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations
will have.
The source file is generated after the first phase of the building process:
Is this really necessary? For example, could you run EXECUTE_PROCESS
(which runs at cmake time) to execute your splitter to generate all the source
files?
Alan
__
Alan W. Irwin
the source
files get built before they need to be compiled.
In any case, I do not think multiple invocations of cmake will be necessary
in order to use generated source files.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy
On 2007-05-31 15:30-0400 Alexander Neundorf wrote:
On Thursday 31 May 2007 15:16, Alan W. Irwin wrote:
Hi Gustavo:
...
I am not sure the following is necessary if the source files are built in
the same directory where they are needed, but for the case where source
files are built
done that :-)
See
http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/cmake/modules/TestSignalType.cmake?view=log
and
http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/cmake/modules/TestSignalType.c?view=log.
Alan
__
Alan W. Irwin
Astronomical research
to move on to a more recent Linux distro this summer,
and I am sure many of your friends will be doing that as well on a similar
time scale for the same reasons.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University
. So it appears this is a bug in cmake-2.4.7-RC-10
where an incorrect attempt is made to parse ${} constructs when @ONLY is
specified.
Once this issue is fixed, I would be willing to try another test.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department
should be familiar with
before you make a decision.
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
that -static option is
being used. My guess is it would just be the compile stage and not the link
stage. I suggest you try the LINK_FLAGS property of SET_TARGET_PROPERTIES,
instead.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics
and make results) of that example so we can figure out where you are
going wrong.
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
builds are really fundamental. Therefore, for the reputation of CMake, I
hope a CMake developer will be able to fix bug 5087 before 2.4.7. This should
not take much time since it looks like Nikita has pinpointed where the
error occurs in his bug report.
Alan
__
Alan W
...
thx,
You can generate a shared library with ADD_LIBRARY. See the ADD_LIBRARY
documentation at http://cmake.org/HTML/Documentation.html.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria
into anything
you like (see http://www.xmlmind.com/aptconvert.html). I bet somebody has
already made a rough Wiki to APT converter (which is all you would need),
but I have not found it yet.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics
On 2007-06-20 20:33-0400 Brandon Van Every wrote:
On 6/20/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
the subversion book
(freely downloadable from http://svnbook.red-bean.com/ in a number of
editions and translations) is a huge lifesaver, and I think it is one of
the
fundamental reasons why
the list of static
dependencies that are paid attention to in the Makefile, but that takes
human understanding of when the include statements have changed so the
procedure is subject to human error but may be a compromise that reasonably
satisfies your needs.
Alan
__
Alan W
. That is certainly a safe procedure, but you
will have to be the judge of whether it is acceptably efficient or not.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca
__
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); PLplot scientific plotting software
package
necessary, like any other target add_library(),
add_executable(), etc. ?
Use ADD_CUSTOM_COMMAND instead with an empty (COMMANDless) ADD_CUSTOM_TARGET
with the ALL parameter that-file depends on the custom command.
Alan
__
Alan W. Irwin
Astronomical research affiliation
believe
INSTALL_NAME_DIR is what you want for Mac OS X.
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 2007-06-29 09:04+0800 Clark J. Wang wrote:
On 6/28/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2007-06-28 10:08-0400 Alexandru Ciobanu wrote:
If I use the ALL parameter in add_custom_target() it will always rebuild
it,
even if none of source files has changes
discussed. I
think such a deprecation message guiding the user toward FindPkgConfig.cmake
is worthwhile given the above problems with UsePkgConfig.cmake.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria
__
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); PLplot scientific
as a comprehensive check of the
Ada bindings.
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
install? If so, then you need to set LD_LIBRARY_PATH to the
non-standard library directory in order for your executables to find the
libraries at run time.
If LD_LIBRARY_PATH doesn't work try ldd -r to help diagnose the problem.
Alan
__
Alan W. Irwin
Astronomical research
/pkgconfig. I am not aware of the reason for this Debian
policy decision or whether the policcy has been updated for more recent
versions of Debian/Ubuntu.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria
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 equation-of-state implementation
for stellar interiors (freeeos.sf.net
use an
out-of-source build tree (see discussion in
http://www.cmake.org/Wiki/CMake_FAQ) so my source tree remains pristine.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca
. In contrast, using a browser to search through
html results would be painful.
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
On 2007-07-12 13:39-0400 Brandon Van Every wrote:
On 7/12/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
In contrast, using a browser to search through
html results would be painful.
Do you mean it would be painful under some new regime with multiple
html files? When there's a single html file
in such
an explanatory sentence on the install and download websites? There should
be no reason for users such as Manuel to be confused about where to get the
Linux source.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University
of the various forms Unix takes. See my other
post for a suggestion about how to do 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
going to run to many hundreds of lines. Having a
CPACK_SOURCE_SELECT_FILES facility implemented as explained above would very
much shorten this list.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria
On 2007-07-15 19:05+0200 Hendrik Sattler wrote:
Am Sonntag 15 Juli 2007 18:53 schrieb Alan W. Irwin:
Ideally, what I would like is CPACK_SOURCE_SELECT_FILES (or whatever you
want to call it) takes precedence over CPACK_SOURCE_IGNORE_FILES, but if a
part of the source tree is mentioned
not sure what issue you are referring to here, but I encourage you to
try the above Ada-related files to see whether they have the same issue.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria
want to do an out of source build.
Actually not. The build of an Ada interface to PLplot and the build of
corresponding Ada plotting examples Works for me all the time with an
out-of-source build.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department
(only) case. If/when
you figure out how my modules should be changed for either/both the MinGW
cases, I would be happy to update them.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria
.
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); PLplot
-full command. For a summary of useful CMake variables look at
http://www.cmake.org/Wiki/CMake_Useful_Variables.
HTH
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming
easier, invoke make as make VERBOSE=1 ... which is how I know that
CMAKE_Ada_COMPILER is set correctly for Linux and Mac OS X systems using
the PLplot Ada modules.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University
low.
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); PLplot
On 2007-07-19 14:58-0400 Bill Hoffman wrote:
Alan W. Irwin wrote:
The (truncated) error message I am getting is as follows:
make package_source
Run CPack packaging tool for source...
/home/software/cmake/install/bin/cpack --config
/home/irwin/cdburn1/interior_eos
/SFHEAD/build_dir
.
Is this a no-brainer change that will be done immediately or should I file a
formal bug report about the values of YYMAXDEPTH and YYINITDEPTH that are
not generous enough in 2.4.7?
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy
for older versions of CMake since I have never
before had symlinks in the source tree to contend with.
If somebody can come up with a quick fix, I would be glad to test it out.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy
is unreasonable. I think raising it
to something reasonable (such as ~10 comments per day on bugs you don't own)
would discourage spammers without impacting your legitimate users.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics
to the PLplot case as possible. That includes (see above) trying to
get everything to work on a Linux platform.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations
it will also make
a folder on windows at cmake 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 implementation
, look at all the LINK_FLAGS that we set
up in
http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/examples/ada/CMakeLists.txt?view=markup
to get the out-of-source builds to work. Are you using those flags when you
do your own out-of-source builds?
Alan
__
Alan W. Irwin
On 2007-07-26 12:32-0400 Brandon Van Every wrote:
On 7/26/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
So it really boils down to this. If the developers from KitWare are
serious
about getting widespread testing of modules before they are made part of
an
official CMake release
On 2007-07-26 18:35-0400 Brandon Van Every wrote:
On 7/26/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2007-07-26 13:55-0400 Brandon Van Every wrote:
I think it is very important that any experimental releases have no
effect on official CMake installations at all.
That's already been
__
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); PLplot scientific plotting software
package
that the rate of module fixes actually getting
into the official release is way below what it should be, and I believe the
solution to this problem is separate module releases for testing purposes.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department
On 2007-07-25 14:46-0400 Brandon Van Every wrote:
On 7/25/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
CMAKE_MODULE_MINIMUM_REQUIRED(VERSION 1.1.0 FATAL_ERROR)
Having 1 CMake version number that everyone cares about, and 1 CMake
Module version number that everyone cares about, will simply
to your posts on this
matter no matter how provocative.
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
)
which by default gives proper language support for C and C++.
Alternatively, if you want non-default languages supported then
use, e.g.,
Project(test C Fortran)
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University
On 2007-07-19 16:14-0700 Alan W. Irwin wrote:
I have some relatively large data directories in my source tree which tend
to be symlinked four different ways in the source tree to save disk space.
However, the source distribution tarball generated by
make package_source
is essentially 5 times
be worth trying CMake-2.8.12 as a first step whenever
annoying dependency issues are discovered for the ExternalProject
module for prior CMake versions.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria
use execute_process with COMMAND set to chmod for
Unix platforms that support chmod and permissions, but that is a bit
messy, and I would prefer a pure CMake approach for setting
permissions of configured files at cmake time if one is available.
Alan
__
Alan W. Irwin
,
then under bash on Linux or bash.exe on MSYS/Windows, the following
should work:
ncount=1000
for count in $(seq $ncount); do
echo executing ctest for count = $count out of $ncount
ctest
done
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics
701 - 800 of 1217 matches
Mail list logo