encountered is mentioned. Please go back to the old (CVS) method where
(IIRC) a complete list of CMP0003 warnings was generated. It's a completely
self-explanatory warning message so users should not complain if they
encounter more than one of these messages.
Alan
message("list_example = ${list_example}")
the result is
list_example = 1;;;2;3;4
list_example = 1;;;2;3;4;5
list_example_length = 5
list_example1 = 2
CMake Error at CMakeLists.txt:21 (list):
list index: 5 out of range (-5, 4)
If you insert just after the end of the list, it
On 2008-04-18 10:35-0400 Bill Hoffman wrote:
Alan W. Irwin wrote:
(2) In CMP0003 OLD mode, the -pthread linker option triggers the warning.
That is obviously incorrect, and only a list of actual libraries
(specified
only by -l options?) should trigger the warning.
I will look at the
put list_example = 1;;;2;3;4;5
remove empty list_example = 1;2;3;4;5
input list_example = 1;;;2;3;4;5
insert 4 6 7 list_example = 1;2;3;4;6;7;5
input list_example = 1;;;2;3;4;5
CMake Error at CMakeLists.txt:65 (list):
list index: 5 out of range (-5, 4)
insert 5 6 7 list_examp
__
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
On 2008-04-18 15:14-0400 Bill Hoffman wrote:
Alan W. Irwin wrote:
Is this something new to 2.6, or is it the same as 2.4?
I have been concentrating fairly exclusively on issues I have been
noticing
during my 2.6 tests, but in response to your question I ran the above
CMakeLists.txt for
net/viewvc/plplot/trunk/
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); PLplo
IBRARY-NOTFOUND" which would screw up
"target_link_libraries" without the "if" protection.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programmin
dvised to use the LINK_FLAGS and/or LINK_FLAGS_
property set by SET_TARGET_PROPERTIES to pass the separated out (by e.g.,
wxWidgets_LDFLAGS_OTHER) -framework, -isysroot, -arch, -pthread options to
the linker.
Alan
__
Alan W. Irwin
Astronomical research affiliation with
nswer your question you should check what is done
with the complete working example I gave you.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations wit
On 2008-04-24 15:45+0200 Hendrik Sattler wrote:
Zitat von "Alan W. Irwin" <[EMAIL PROTECTED]>:
which is equivalent to the pkg-config --libs option, but unlike pkg-config
there doesn't appear to be any other linker flag options for wx-config.
However, I suggest you use
uch a script from the KDE project years ago for the PLplot
conversion, but it was fairly immature at that time. Thus, I hope it has
been improved or there is something better now.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astr
doesn't work, please let us know the exact "path" you have
specified. I think for INCLUDE it must be in internal CMake form (i.e., in
Unix form), but I am not sure since I only have Unix experience with
CMake.
Alan
__
Alan W. Irwin
Astronomical research aff
(such as "lib") and suffix (such as ".so").
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 i
so far. The
bootstrap build, ctest, and install of
http://www.cmake.org/files/v2.6/cmake-2.6.0.tar.gz works fine. So does the
build, install, ctest, and install-tree test of PLplot with CMake 2.6.0.
Thanks, guys, for all your hard work!
Alan
__
Alan W. Irwin
dying those (without any knowledge of the windows
registry) I cannot see what is wrong with the above, but maybe you will have
better luck spotting the problem given all the (presumably) working
examples.
Alan
__________
Alan W. Irwin
Astronomical research affiliation with Depar
On 2008-04-19 11:46-0700 Alan W. Irwin wrote:
On 2008-04-18 15:14-0400 Bill Hoffman wrote:
OK, so it is not a regression... Can you please create a bug entry for
this. Thanks.
Done, see http://public.kitware.com/Bug/view.php?id=6852.
This bug had been closed, but the fix is not quite
On 2008-05-07 09:12-0700 Alan W. Irwin wrote:
On 2008-04-19 11:46-0700 Alan W. Irwin wrote:
On 2008-04-18 15:14-0400 Bill Hoffman wrote:
OK, so it is not a regression... Can you please create a bug entry for
this. Thanks.
Done, see http://public.kitware.com/Bug/view.php?id=6852.
This
istently making this
signature unnecessary.
BTW, I have fixed the list(SORT to handle empty correctly.
Thanks!
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
P
se, at the same time the corresponding backwards
compatibility issue should be dealt with using the POLICY mechanism
(presumably with a new independent policy number rather than CMP0007).
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department of Physic
The first result removes the "1" elements correctly, but also incorrectly
drops the first empty elements (but not the others).
The second result seems to remove all empty elements correctly, but this
second result should be included in the test in case the fix for the error
in the firs
On 2008-05-07 15:18-0700 Alan W. Irwin wrote:
I used your FOREACH example in my post, but it is really this expansion
inconsistency in all contexts which bothers me. Your answer so far is
essentially "we have always done it that way". Perhaps there are excellent
practical reason
internationalization is
becoming more and more ubiquitous on all platforms.
So, Bill, is there some good alternative to parsing for the locale-dependent
"Lines executed" string or are you stuck with it?
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department of P
that extra printed out information
with this 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 implementation
f
(CMakeDetermineFortranCompiler)
if(NOT CMAKE_Fortran_COMPILER)
message(STATUS "WARNING: "
"fortran compiler not found. Disabling f77/f95 bindings"
)
etc...
Alan
__________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
Un
/plplotcapi.i (which defines our API for
swig), and CMakeLists.txt files and *.i files in bindings/python and
bindings/java.
Hope that working example helps you to figure out what is wrong for your own
attempt to build multiple bindings using swig and CMake.
Alan
__
Alan W. Irwin
This will create (or change create time) for
an empty output file with a fixed unique name of your choice that can be
used as a file dependency for a custom target.
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University o
d it might be worth your while to look further into figuring
out how you can 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 FreeEO
__
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
Is there a command for converting backslashes to regular slashes?
Yes. Look at FILE(TO_CMAKE_PATH...) in the documentation.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca
n the simple context, i.e., I had introduced some CMake
logic bug in the more complex context.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with th
files is given in the file
cmake-2.6.0/Modules/CMakeAddNewLanguage.txt.
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-
and I
can probably do the rest for the Ada case.
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 (freee
e cmake man page.
I would suggest putting your -D options first, then the path to your source
tree (absolute or relative) to see whether that solves your issue. I am
actually surprised the -D options were even recognized part of the time with
them being placed incorrectly after the path.
Alan
On 2008-05-21 18:25-0700 Alan W. Irwin wrote:
I am finally working again on the CMake language support for Ada (currently
implemented just for the gcc gnatmake compiler). One of the issues is the
gnatmake compiler not only produces *.o object files but also *.ali (Ada
library information
On 2008-05-23 07:07+0200 Maik Beckmann wrote:
Am Freitag 23 Mai 2008 01:08:46 schrieb Alan W. Irwin:
On 2008-05-21 18:25-0700 Alan W. Irwin wrote:
I am finally working again on the CMake language support for Ada
(currently implemented just for the gcc gnatmake compiler). One of the
issues is
ke clean" issue mentioned in
this thread, later.
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
endif(whatever0)
endif(whatever1)
?
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 inte
re might benefit from my answers to your remarks.
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
quired to upgrade FindPkgConfig.cmake in the
ways suggested.
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
here for you since I assume you
will follow up on this by reading the CMake documentation for
ADD_CUSTOM_TARGET, ADD_DEPENDENCIES, SET_SOURCE_FILES_PROPERTIES, etc. to
get the specifics for yourself.
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department o
's ways to
say /MT) at all. Did you set FFLAGS which contains this flag?
You might also be the victim of a wrong flag set by a previous (stale)
build. Make sure you do your build in an initially empty build directory
which is separate from your pristine (no generated files from prior
in-
#x27;s ways to
say /MT) at all. Did you set FFLAGS which contains this flag?
You (Kelly) might also be the victim of a wrong flag set by a previous (stale)
build. Make sure you do your build in an initially empty build directory
which is separate from your pristine (no generated files from prior
in-
opers should weigh in here on the
difficulties (which I suspect are large) of implementing this?
You might want to try FILE(GLOB ...) to assemble your list of source files,
but I suspect there are going to be build dependency issues for that case as
well.
Alan
__
Alan W.
set_target_properties, I believe
you will get the result you want.
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
stall(CODE ...) signatures of the cmake install command.
Anyhow, I am just trying to give you some ideas here, and you will have to
experiment a little to see what is right for your needs.
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department of Physics and
the GENERATED property, but I haven't tried
that.
HTH.
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 i
the executable and set up the target dependencies so
it is built before it is needed to process other files. We use this
approach, for example, when using an executable to build a header that is
needed to build our principal library.
Alan
__
Alan W. Irwin
Astronomical
with the linking, use "ldd -r" to list
all the shared (but not static) libraries being linked to by test and to
show any symbols which are not resolved by the link. You can also use
nm to look for unresolved symbols.
Alan
__
Alan W. Irwin
Astronomical research
st in linking
issues which is why I am curious as to why -Wl,-Bstatic -lpthread is not
doing the expected thing on your system.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
s of running "ldd -r" on the executable that is produced. (If
there is a linking error, you can run the linking command again by hand
using the --noinhibit-exec option to generate an executable regardless of
most errors.)
Alan
______
Alan W. Irwin
Astronomical resear
all" rather than "external" will work for
most/all other fortran compilers?
If so, I will put in the appropriate bug fix request for 2.6.1.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victo
source by cpack and run a special script afterward to generate the
windows source package? If special script, could that be made a CPack
option?
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria
ngs?
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
FindCLAPACK.cmake to find and test the C variant of the LAPACK library.
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
On 2008-06-25 16:32+0200 Bernd Schubert wrote:
On Wednesday 25 June 2008, Alan W. Irwin wrote:
On 2008-06-25 15:15+0200 Hauke Heibel wrote:
Hi there,
I started diving into the world of CMake and spend the last two days in
trying to convert a project of mine to be working with CMake.
We are
are somehow confusing FindBoost.cmake on that machine?
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
ot more about the many LAPACK and
BLAS possibilities than I do so if I got something wrong or forgot
an issue, please correct me.
Alan
__________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.c
were hoping for for your own project) will have to wait
until I have more time to fix the Ada 2.6.x issues unless someone else can
fix those issues first.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Vic
On 2008-06-27 11:09-0400 Bill Hoffman wrote:
Alan W. Irwin wrote:
On 2008-06-27 16:15+0200 [EMAIL PROTECTED] wrote:
Hi List,
Today I started to port my Ada project (Windows, MinGW, Ada cmake files
from plplot) from cmake 2.4.7 to cmake 2.6.
Now I have the problem that cmake doesn't wa
On 2008-06-27 11:25-0400 Brad King wrote:
Alan W. Irwin wrote:
On 2008-06-27 16:15+0200 [EMAIL PROTECTED] wrote:
Hi List,
Today I started to port my Ada project (Windows, MinGW, Ada cmake
files from plplot) from cmake 2.4.7 to cmake 2.6.
Now I have the problem that cmake doesn't want t
On 2008-06-27 16:11-0400 Brad King wrote:
Alan W. Irwin wrote:
The issue is that for 2.4.8, rpath is set appropriately for the Ada
executable
to find the Ada shared library that was built, but for 2.6.0, rpath is not
set at all. Note, I do nothing special with rpath for this simple test
On 2008-07-01 16:25-0400 Mike Jackson wrote:
Do I have to do a "make install" first? [to get cpack to work]?
No. In my experience "make package" uses the "make install" infrastructure,
but doesn't need make install to be done first.
Alan
_
t variables at "make" time.
Try putting C options in CC environment variable, like
export CC='gcc -g'
This used to be documented at
http://www.cmake.org/Wiki/CMake_Useful_Variables,
but somebody removed it in error.
Alan
__
Alan W. Irwin
Astronomical
riable documentation to the wiki so
long as I am not going to end up wasting my time fighting some CMake
developer who feels strongly it should be removed again.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of V
re the same or not.
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
SET_SOURCE_FILES_PROPERTIES or SET_TARGET_PROPERTIES.
Good luck with building your kernel extension, and let the list know how it
goes.
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.
=patch 0
HTH.
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
and the cmake-2.6 version that doesn't and
compare especially what rpath is being used for each when the library is
being built. Note, rpath in the build tree works fine for 2.6.0, but
normally only if you set up your library linking in the recommended way with
find_library results.
Alan
info
COMMAND grep \"Last Changed Rev:\"
COMMAND cut -d: -f2
should do what you want.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations
CPLUSPLUS ON )
SET( CMAKE_SWIG_FLAGS "-package ${PACKAGE_NAME}" )
Try dropping the quotes, i.e.,
SET(CMAKE_SWIG_FLAGS -package ${PACKAGE_NAME})
That form works for the PLplot project.
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department of P
______
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 s
ead library, I would wait for your revised version before
contacting him.
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 equa
e
find_library command. However, if users of your build system have a
non-standard install location for some library or group of libraries, I
think it is normally best to let that user set CMAKE_LIBRARY_PATH for
themselves rather than trying to force anything in the build system itself.
marks that
message as specifically addressed to me, and I can give that post much
higher priority then the usual CMake ML post where I may or may not have an
interest in the topic.
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
built by CMake.
I don't use XCODE (or Mac OS X for that matter), but I hope this help on the
fundamentals of Swig support in CMake gets rid of or at least reduces the
XCODE problems you are seeing.
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department
is it
processes things in a different order than add_subdirectory so will give
some undefined target surprises.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Progra
If you need more than originating and top-level target availability _for make_
you probably need to do a feature request.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
ake developers adopt that same
policy to supplement any other measures they may have in place to make
sure the downloadables are not changed after they are created.
Alan
__________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
Un
or not,
but if a list doesn't work as above, then I try quoting it, e.g.,
PATHS "${VAR}"
Hope that works for you.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca
There are probably other areas where 2.6 does much
better than 2.4, but Fortran was the key improvement from my perspective. I
have also seen no serious downsides to adopting 2.6 for all of my projects.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Departm
ng at what your distribution does
for similar files.
Once your installation conforms to the FHS, then all you have to do to make
it completely installable in a user account (with no root access needed) is
to change the -DCMAKE_INSTALL_PREFIX option for cmake.
Alan
______
Ala
nt of that installation
prefix, and you can install then just using an ordinary user account which
owns the installation prefix directory.
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.ph
it works.
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 scie
developers prefer to use ENABLE_LANGUAGE to enable certain languages
as a result of options set by the user.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming
ll non-zero exit codes as a failed test. Note, setting up ctest this
way works cross-platform because there are shells (e.g., bash) available for
windows (or so I am told by those PLplot developers who run ctest for PLplot
on windows).
Alan
__
Alan W. Irwin
Astronomi
to be used when ctest is invoked with
--extra-verbose?
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 implementatio
On 2008-08-14 10:41-0700 Alan W. Irwin wrote:
Assume that I have added a test with
add_test(testname myshell_script.sh arg1 arg2 ...)
Currently ctest with no --verbose or --extra-verbose options suppresses all
output from the script and ctest with either the --verbose or
--extra-verbose
that depends on the output file, e.g.,
add_custom_target(target_name ALL DEPENDS $(CMAKE_BUILD_DIR)/file.xmlt)
Alan
__________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming a
others that already exist for 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 inte
On 2008-08-20 14:07-0400 Brad King wrote:
Alan W. Irwin wrote:
if(FOO)
still gives different results depending on whether there has ever been a
set command executed for the variable.
Really? Can you provide example code demonstrating this?
OOPS. Sorry for that noise.
However, I would
__
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
_DESTDIR.) I haven't actually tried setting CPACK_SET_DESTDIR to ON
myself yet (haven't tried a binary release recently), but I am assured it
works.
For further information see
http://www.cmake.org/Wiki/CMake:Packaging_With_CPack
Alan
______
Alan W. Irwin
Astronom
x27;t work
either (cmake 2.6.1):
ADD_CUSTOM_TARGET(foo
COMMAND echo "foo"
COMMENT "Fooing ..")
ADD_CUSTOM_TARGET(bar
COMMAND echo "bar"
DEPENDS foo
COMMENT "Bar-tender ..")
ADD_DEPENDENCIES(bar foo)
You should get rid of that DEPENDS foo.
Alan
_
to the list when needed for our
various 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 imple
then update or
create that Platform file to make sure you have the compiler flags set the
way you want.
HTH
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affilia
is
not what you want.
I do know that the forms
make VERBOSE=1 -j2 all
or
make VERBOSE=0 -j2 all
do work.
Alan
______
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affil
name.cmake itself can include other files from cmake/modules so that helps
you to keep everything nicely organized.
Alan
__
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Progra
On 2008-09-18 08:04+0200 Jesper Eskilson wrote:
Alan W. Irwin wrote:
I doubt setting VERBOSE at the end like that after the "all" target will
work. For that order make probably assumes "VERBOSE=" is a target which is
not what you want.
I don't think so. [...]
I
On 2008-09-19 10:27-0500 kent williams wrote:
Never mind, I found it in the 'FILE' command...
Also, "cmake -E" has the make_directory subcommand. You can use that
both at cmake time and also at build time (as part of a custom command).
Alan
________
301 - 400 of 1123 matches
Mail list logo