your changes in detail due to writing my
doctoral thesis.
Volunteers to the front, please!
Best,
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Ge
will help
with teh default setting.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
--
Tel+
parameters (/build /project
/projetconfig etc.).
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
instead of FOO_ ): case of Filename and variables
must match.
Best,
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
Luigi Calori wrote:
Is there a way to get into a message line which file the message line
is in and which line number?
CMAKE_CURRENT_LIST_LINE etc..
See
http://www.cmake.org/Wiki/CMake_Useful_Variables
Jan-.
--
Dipl.-Ing. Jan Woetzel
Brad King wrote:
[EMAIL PROTECTED] wrote:
...get rid of the additional "
ADD_DEFINITIONS(-DSN_TARGET_PS3)
This is related to my existing bug report:
http://www.cmake.org/Bug/bug.php?op=show&bugid=3354
Jan.
--
Dipl.-Ing. Ja
Jan Woetzel wrote:
See the attached file.
.. And you need this one, too:
http://www.mip.informatik.uni-kiel.de/~jw/cmake/CMakeModules/doxy.config.in
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and
Stephen Adler wrote:
Can someone give me sample CMakeLists.txt entry for doxygen
documentation generation?
Currently I'm only generating html output.
we use INCLUDE("${CMAKE_MODULE_PATH}/TargetDoc.cmake" OPTIONAL)
See the attached file.
Jan.
--
Dipl.-I
I agree that out of source build is the cleanest and easiest way - we
use in 95%.
However, it's not always possible.
We solved the issue configuring the CVS server to ignore more patterns like
CMakeFiles
CMakeTmp
*.dir
Jan.
--
Dipl.-I
uot;
"*~"
)
which does not use the wildcards.
I think ADDITIONAL_MAKE_CLEAN_FILES worked here when I converted to
CMake - long ago.
(1) Can anyone confirm this is a bug to be filed as bug report ?
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Stephen Adler wrote:
SET_DIRECTORY_PROPERTIES(PROPERTY ADDITIONAL_MAKE_CLEAN_FILES *~)
Add quotes, e.g.
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES
"core*;*~;gmon.out;DartTestfile.txt")
Jan.
--
Dipl.-Ing. J
k out of the
box if you specify the appropriate wxWidgtes_LIB_DIR
See the logic of the FindwsWidgets.cmake
(3) Or do you want to see the wx project files (.vcproj) inside your own
projects IDE (.sln) ?
--> INCLUDE_EXTERNAL_MSPROJECT
Best,
Jan.
--
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--
Phone +49-431-880-4477
Fax +49-431-880
Christian Ehrlicher wrote:
So no chance to get it in another directory than the config dir with
.vcproj?
I wouldn't try it as multiple configurations inside one build tree need
these "IntDir" subdirectories.
See CMAKE_CONFIGURATION_TYPES
Jan.
--
Dipl.-I
VS IDE would be
nice
Best,
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
--
Tel+49-431
Brandon J. Van Every wrote:
Are the notions of "shortcut" and "symlink" sufficiently similar,
that it's reasonable to include this capability for Windows in general?
With native Windows only XP with NTFS has "real" links - and only hard
links, not soft
Crni Gorac wrote:
SET(
OPENMP_FLAGS
"-fopenmp" # gcc
"-openmp" # icc
"-mp" # SGI & PGI
"-xopenmp" # Sun
"-omp" # Tru64
"-qsmp=omp" # AIX
)
For completeness:
flag "/openmp" works gr
7; and because of this VS tries
to compile myproject.jisp...
It works fine with 2.4.2 and 2.4.3 + NMake Makefiles. It also works fine when I
rename myproject.jisp to myproject_.jisp (any name other than one of the real
sourcefiles)
The problem is possibly related to bug report #3565.
Jan.
--
"optimized" and "debug"
I see only the advantage of one single "lib" dir.
We decided to go with the "IntDir" subdirectories and it works quite
well, here.
The libs are put into i.e. lib/debug, lib/release
Found the real problem:
CMake 2.4.3 with MSVS 7.2 generator compiles
.hh files
on ADD_EXECUTABLE and ADD_LIBRARY
Everything worked fine in 2.42.
See my bug report #3565
For clarification: The relative LIBPATH is OK and not the problem .
Jan.
--
Dipl.-Ing. Jan Woetzel
2.42.
(1) Is there an option to completely disable using relative paths ?
I prefer absolute path anyway because of much easier debugging.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematic
Xavier Larrode wrote:
But i can do a macro to move them on PATH_FOR_LIB...
see
LIBRARY_OUTPUT_PATH
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room
Jan Woetzel wrote:
(1) I think XEmacs is using an xterm but doing his own extar coloring
to mark e.g. errors in red. Is that the problem?
for the records:
This is a workaround for the color problems:
Use compile-command
make -C | tee
tee removes all the undesired escape sequences
Jan Woetzel wrote:
CMAKE_COLOR_MAKEFILE OFF
(1) I think XEmacs is using an xterm but doing his own extar coloring
to mark e.g. errors in red. Is that the problem?
OK,
an xterm running inside (X-)Emacs can be determined via EMACS
environment variable
printenv inside Emacs contains
EMACS
e.o
[0m[32mBuilding CXX object
MathAlgo/CMakeFiles/BIASMathAlgo.dir/UnscentedTransform.o
[0m[32mBuilding CXX object MathAlgo/CMakeFiles/BIASMathAlgo.dir/GaussHelmert.o
...
<<<
The problem occurs only with XEmacs on Linux.
XEmacs on Windows is fine (no colored output).
cmake 2.4.2 "binary release" on PC Linux with gnu makefile
generator.
CMakeCache.txt contains:
CMAKE_COLOR_MAKEFILE:BOOL=OFF
as expected.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mat
Xavier Larrode wrote:
Is it a way when it's write Building CXX objet to see all the command
line ?
SET(CMAKE_VERBOSE_MAKEFILE 1)
or
make VERBOSE=1
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Ap
Xavier Larrode wrote:
SET(CMAKE_CXX_FLAGS "${OSG_CFLAGS}")
I think you need FORCE here.
However,
the attached find script may help you.
Works here with Linux and Windows.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
In
our force.
We use a "DefineFlags.cmake" to (re-)initialize the CMake flags once
based on setting+querying a variable.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Her
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
--
Tel+49-431-880-4477
Fax+49-431-880-4054
P
Christian Ehrlicher wrote:
/TP is overwritten by /TC.
That bug is already fixed in CVS.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
Brad King wrote:
It will be added to CMake soon.
Great news - saving my resources!
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel
Hi,
has anybody a geneal purpose FindBoost.cmake?
I started with the one from Andrew Maclean, see
http://public.kitware.com/pipermail/cmake/2005-October/007324.html
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer
you don't need the IF on VISUAL_IDE for headers
anymore.
CMake 2.4.2 is automatically ignoring .h and .hh files in makefile
generators, now.
However, you may need the IF for .rc files.
Best,
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of
(... CACHE
..FORCE ...) command.
E.g.
SET(CMAKE_CXX_FLAGS_DEBUG
"${CMAKE_CXX_FLAGS_DEBUG} /wd4100 /wd4127 /wd4189 /wd4512 /wd4702"
CACHE STRING "Debug builds CMAKE CXX flags " FORCE )
My suggestion is (1).
Jan.
--
Di
Modules/InstallRequiredSystemLibraries.cmake
(2) Deetect additional dlls with depends.exe
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
BUG )
ENDIF (CMAKE_BUILD_TYPE MATCHES ".*[rR][eE][lL].*")
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewa
t it is related to the order of follwoing
the dependencies.
It would be great to first build the object files of a lib and later
(before linking) the other dependant libs.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Compu
tch ? I saw the FindThreads command,
SET(CMAKE_CXX_FLAGS ...
or
SET_SOURCE_FILES_PROPERTIES( ... PROPERTIES OMPILE_FLAGSĀ
...
should help you.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathe
Filipe Sousa wrote:
Jan Woetzel wrote:
...retrieve list with all components listed after REQUIRED, e.g.
FIND_PACKAGE(Foo REQUIRED component1 component2 ... )
-->
component1; component2 ?
No
OK.
I implemented this feature.
See bug report #3494
The patch inclu
not - the REQUIRED settings are
mandatory to set correct _FOUND flags - thus a bug, right?
See
cmFindPackageCommand.cxx:75 ff
Jan
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [R
Start playing with
".*.kdev"
See
http://www.cmake.org/Wiki/CMake_FAQ#Which_regular_expressions_are_supported_by_cmake.3F
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathemati
obbing *.xml
"/CVS/"
"/.svn/"
".swp$"
".#"
"/#"
)
And cpack -V jhelps.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Appli
o.xml:
SET(CPACK_IGNORE_FILES "foo\\.xml;/CVS/;/\\.svn/;;\\.swp$;\\.#;/#")
You know you need to use regular expression instead of globbing, right?
E.g.
/\.kdev/
does not drop *.kdev
CPack -V may help you debugging the lists of expressions.
Jan.
--
Di
Filipe Sousa wrote:
two alternatives: 1) rename your hand-written makefile to something else
and use make -f 2) replace you makefile with CMakeLists.txt and use cmake.
or
(3) use out-of source builds.
Jan.
--
Dipl.-Ing. Jan Woetzel
Then use SET_SOURCE_FILES_PROPERTIES with different PROPERTIES
COMPILE_FLAGS for each file.
Work great, here.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3
with Unicode builds
which seem to be default at least on Linux, now.
Best,
Jan
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [
Header files in subdirectories are compiled with CMake 2.4.2 (and CVS
from today),
E.g.
ADD_LIBRARY(bar
sub0/foo0.cpp sub0/foo0.hh
)
will not work with VS 7.1 generator
See my bug report #3481
Jan.
--
Dipl.-Ing. Jan Woetzel
Luca Cappa wrote:
FIND_PACKAGE(wxWindows)
MESSAGE ("${wxWindows_FOUND}")
The variabel names are case sensituv.
WXWINDOWS_FOUND
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied M
ot;)
# extract directoy for DESTINATION subdir tree until
INSTALL(DIRECTORY exists)
GET_FILENAME_COMPONENT(DIR ${VAR} PATH)
INSTALL(FILES ${BIAS_HEADER} DESTINATION include/BIAS/${DIR} )
ENDIF(${VAR} MATCHES ".*Example.*|.*\\.in")
ENDFOREACH(VA
this with GET_FILENAME_COMPONENT(...
PATH) to do the job.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Ki
William A. Hoffman wrote:
The directory stucture in your email has font issues or something.
Reading it in character encoding "Uncode" (instead of western works here.
Jan.
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinf
), too.
Will already fixed it in CVS.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
lease match.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
--
Tel+49-431-880-4477
Fax+4
.. and the bug tracker is also stuck at version 2.4.0
Jan.
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
jbd wrote:
... i tried :
FILE (GLOB SRC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} Test*.cpp)
but it doesn't work.
This works here with CMake 2.4.2:
FILE(GLOB FOO RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.c*)
MESSAGE("DBG FOO=${FOO}")
Jan.
___
C
jbd wrote:
I'd like to retrieve the relative path of a list of files. For example :
FILE (GLOB SRC_FILES Test*.cxx Test*.cpp Test*.c)
See the RELATIVE option
FILE(GLOB variable [RELATIVE path] [globbing expressions]...)
Jan.
--
Dipl.-Ing. Jan Wo
Brad King wrote:
.. Please submit the files in a feature request on the bug tracker:
Done - #3443.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room
IES, LINK_DIRECTORIES and ADD_DEFINITIONS
# are called.
#
# USAGE
# Include this file inside your CMakeLists.txt:
# SET(WXWIDGETS_USE_GL 1) # optionally set this is you need wxgl
# INCLUDE(${CMAKE_MODULE_PATH}/UsewxWidgsts.cmake)
#
# AUTHOR
# Jan Woetzel
# debug message and logging.
# uncomment these
Andrew Maclean wrote:
Is there another way to tell CMake that the library should be linked
as C++? I am wondering if there is a SET_SOURCE_FILES_PROPERTIES() or
something like that I can use.
See
SET_TARGET_PROPERTIES
LINKER_LANGUAGE
Jan.
--
Dipl.-Ing. Jan Woetzel
Jan Woetzel wrote:
CTEST_CONFIGURATION_TYPE
CMAKE_CONFIGURATION_TYPES
Sorry, did not read carefully enough.
Jan.
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
zeRel;RelWithDebInfo
Checking
- _DEBUG #define in code,
CMAKE_BUILD_TYPE
or configuring a file may be useful.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3
_FIND_REQUIRED and _FIND_QUIETLY is useful only to
module authors so it is in the readme. Someone using FIND_PACKAGE to
find a package does not care.
OK, It took me >70 find scripts to figure this out...
Thanks for clarification,
Jan.
--
Dipl.-Ing. Jan Woet
: 156:
void CWnd::SetDlgItemText(int nID, LPCTSTR lpszString)
{
ASSERT(::IsWindow(m_hWnd));
Can you provide a smaller example
that has this problem? I mean a cmakelist file with:
MESSAGE(STATUS "hello")
Yes, see the attached file.
Jan.
--
Dipl.-Ing. J
Jan Woetzel wrote:
The REQUIRED flag checking in
FIND_PACKAGE(Foo REQUIRED)
is not checking the result of FOO_FOUND anymore.
(1) Each Find script has to handle _REQUIRED and _QUIT handling itself
with 2.4.x, right?
E.g.:
IF(NOT Foo_FIND_QUIETLY)
IF(Foo_FIND_REQUIRED)
MESSAGE
Jan Woetzel wrote:
(1) Is there an easy way to add CPACK_PACKAGE_INSTALL_DIRECTORY/bin to
PATH instead (e.g. C:\Programs\Foo\BIN)
Ok, found it:
Modules/NSIS.is the place to start.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f
add CPACK_PACKAGE_INSTALL_DIRECTORY/bin to
PATH instead (e.g. C:\Programs\Foo\BIN)
Can you give me a pointer?
A short look at CPackConfig.cmake.in/CPackConfig.cmake did not help me.
For the records: I followed the CMake installer example and it worked
out of the box.
Jan.
--
Dipl.-Ing. Jan
. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--
Phone +49-431-880-4477
Fax +49-431-880-4054
Mob
(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE "2")
SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE "2")
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
n Linux with makefile generator
- submitting to a "dart1" server
(1) Is there an option to increase the size of submitted/generated ctest output with dart1 +cmake 2.42 ?
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute o
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--
Phone +49-431-880-4477
Fax +49-43
Brad King wrote:
GET_TARGET_PROPERTY.
This should work in CMake 2.4 as long as both projects are under the
same top-level source directory and that the property is set before it
is read.
I had similar problems,
see bug report 3353.
Jan.
--
Dipl.-Ing. Jan Woetzel
The REQUIRED flag checking in
FIND_PACKAGE(Foo REQUIRED)
is not checking the result of FOO_FOUND anymore.
See bug report 3379:
http://www.cmake.org/Bug/bug.php?op=show&bugid=3379
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of
ind script.
Please have a look at this *working* example and run it:
http://www.mip.informatik.uni-kiel.de/~jw/cmake/hellomagick.zip
Just tested with 2.4.2
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science a
[EMAIL PROTECTED] wrote:
I do have FIND_PACKAGE(IMAGEMAGICK) in the CMakeLists.txt.
The (file) names are case sensitive!
Try FIND_PACKAGE(ImageMagickLib)
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science
(2) then you may try try not to copy it to Modules dir but set your own
CMAKE_MODULE_PATH to teh dir containing the Find script to cut the the
problem
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and
. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--
Phone +49-431-880-4477
Fax +49-431-880-4054
Mob
MAKE_CXX_FLAGS_DEBUG "-wd4996 -wd4800")
I think that does not work with different flags for each subdirectory -
but I will try.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathema
Jan Woetzel wrote:
SET_SOURCE_FILES_PROPERTIES( ${FN2} PROPERTIES COMPILE_FLAGS
By the way,
ADD_DEFINTIONS has another bug in Visual Studio 7.1 generator,
see my bug report 3354
Example:
ADD_DEFINTIONS( -foo )
adds
/D "-foo"
instead of
-foo
Still talking about cmake 2.4.2 on Wi
Jan Woetzel wrote:
see bug report 3353.
SET_SOURCE_FILES_PROPERTIES( ${FN2} PROPERTIES COMPILE_FLAGS
"-DSomeFlags_DBG_FOO2" ) # FIXME
(1) Is there a workaround ?
Setting CMAKE_CXX_FLAGS directly is a global workaround.
However, I need set set defintions and flags per
GE("VAL2 for ${FN2} is : ${VAL2}")
(1) Is there a workaround ?
Jan
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--
Jan Woetzel wrote:
Setting PROPERTIES of files in subdirectories does not work,
...
SET( FN2 "sub/foo2.cpp" )
SET_SOURCE_FILES_PROPERTIES( ${FN2} PROPERTIES COMPILE_FLAGS
"-DSomeFlags_DBG_FOO2" ) # FIXME
(1) Is there a workaround ?
Forgot to mention: I'm tal
Brad King wrote:
Jan Woetzel wrote:
In particular when nothing has changed the "nothing to do" build now
takes >> 60 seconds.
With 2.06 it took < 5 seconds as expected to build when everything
was up to date.
I found the problem:, it was:
INSTALL_TARGETS
INSTALL_FILE
ation times. Look for a file with a date in the future in the
source tree.
NMake is not affected, only Visual Studio .net 2003.
I will dig deeper tomorrow...
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Prakt
S_CMAKE_MODULE_PATH_OK)
Extending cmake would be much easier and more "open"
with an easy way to extend teh search path for FIND_PACKAGE.
What do you think?
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f.
I need some special
SET_SOURCE_FILES_PROPERTIES similar to LINKER_LANGUAGE
or is it simply a bug in cmake ?
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [ro
orm independantly
- can be set by installers/scripts easily.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
ime.
I am actually testing on Windows with Visual Studio .net 2003.
(Linux will follows in the next days...)
(1) Any ideas what may be going wrong?
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Her
Jan Woetzel wrote:
ADD_DEPENDENCIES(libs lib1 lib2)
This works, great!
For completeness:
This works with cmake 2.4.2.
With Cmake 2.0.6 the dependencies to teh sourcve files are not generated
correctly.
Everything is fine, now with 2.4.2.
Jan.
--
Dipl.-Ing. Jan Woetzel
with
ADD_CUSTOM_TARGET(lib DEPENDS lib1 lib2 )
which did *not* work with cmake 2.0.6. But
ADD_TARGET(lib)
ADD_DEPENDENCIES(lib lib1 lib2)
works as expected.
Thanks a lot,
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathe
Mike Talbot wrote:
Why not try
ADD_SUBDIRECTORY(Examples EXCLUDE_FROM_ALL)
Because the binaries for the ADD_TEST targets required by ctest will not
be built, too.
Jan
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und
compilersa and platforms (e.g. make, nmake, Visual
Studio).
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--
xamples in subdirectories and linking them takes
a lot of time...
Jan
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Ki
ine, here.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
--
Tel+49-431-880-4477
Fax+
cript of Jorgen/Jerry/Klaas in detail.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--
ps: look for gtk in
strace -eopen
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--
Phone +49-431-880-4477
Fax
Jan Woetzel wrote:
ADD_EXECUTABLE(dummy dummy.cpp
"${CMAKE_CURRENT_BINARY_DIR}/Doc/index.html")
Sidenote:
I think you have to take care that they are added only to VS IDE
generator builds,
in particular NOT to makefiles.
Thus we are using something like this:
IF(CMAKE_
l files to libraries/executable or using a dummy target e.g:
ADD_EXECUTABLE(dummy dummy.cpp
"${CMAKE_CURRENT_BINARY_DIR}/Doc/index.html")
SOURCE_GROUP command may be useful, too.
Jan.
--
Dipl.-Ing. Jan Woetzel
--
University of Kiel
I
so it
is never generated? I want to do it globally, not by having to change
every CMakeList.txt file.
We are using a global "DefineCommon.cmake" in our CMakeModules dir to
override several CMake defaults like build type, flags etc.
Best,
Jan.
--
Di
1 - 100 of 110 matches
Mail list logo