[CMake] Re: wxWidgets Find + Packages macros

2007-02-11 Thread Jan Woetzel
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

Re: [CMake] setting a default build type

2006-09-07 Thread Jan Woetzel
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+

Re: [CMake] setting a default build type

2006-09-07 Thread Jan Woetzel
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

[CMake] Find template

2006-08-31 Thread Jan Woetzel
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

Re: [CMake] Getting file and line in message

2006-08-29 Thread Jan Woetzel
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

Re: [CMake] getting rid of additional quotes in generated vcproj PreprocessorDefines

2006-08-26 Thread 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

Re: [CMake] doxygen

2006-08-24 Thread Jan Woetzel
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

Re: [CMake] doxygen

2006-08-24 Thread Jan Woetzel
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

Re: [CMake] cleaning out cmake intermediate files

2006-08-23 Thread Jan Woetzel
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

[CMake] ADDITIONAL_MAKE_CLEAN_FILES --> FILE(REMOVE ..)

2006-08-23 Thread Jan Woetzel
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 --

Re: [CMake] getting rid of *~

2006-08-23 Thread 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

Re: [CMake] Changing an External MSProject configuration to build DLLs (Dynamic Libraries)

2006-08-10 Thread Jan Woetzel
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. --

Re: [CMake] C# news?

2006-08-08 Thread Jan Woetzel
-- 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

Re: [CMake] Different behaviour of LIBRARY_OUTPUT_PATH?

2006-08-08 Thread Jan Woetzel
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

[CMake] C# news?

2006-08-05 Thread Jan Woetzel
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

Re: [CMake] Re: cmake -E create_symlink for Windows

2006-08-03 Thread Jan Woetzel
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

Re: [CMake] CHECK_FUNCTION_EXISTS() issue

2006-08-03 Thread Jan Woetzel
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

Re: [CMake] Problem with custom build rule / vcproj & cmake 2.4.3

2006-08-02 Thread Jan Woetzel
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. --

Re: [CMake] msvc postfix conventions

2006-08-01 Thread Jan Woetzel
"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

[CMake] Re: CMake 2.4.3 - bug: .hh files compiled on MSVS 7.1 generator

2006-08-01 Thread Jan Woetzel
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

[CMake] Re: CMake 2.4.3 - LINK_DIRECTORIES/LIBPATH

2006-07-31 Thread 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

Re: [CMake] ADD_SUBDIRECTORY error

2006-07-28 Thread Jan Woetzel
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

Re: [CMake] color makefile ?

2006-07-19 Thread Jan Woetzel
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

Re: [CMake] color makefile ?

2006-07-19 Thread Jan Woetzel
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

Re: [CMake] color makefile ?

2006-07-19 Thread Jan Woetzel
e.o Building CXX object MathAlgo/CMakeFiles/BIASMathAlgo.dir/UnscentedTransform.o Building 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] color makefile ?

2006-07-19 Thread Jan Woetzel
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

Re: [CMake] CFLAGS on CMAKE

2006-07-19 Thread Jan Woetzel
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

Re: [CMake] CFLAGS on CMAKE

2006-07-19 Thread Jan Woetzel
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

Re: AW: [CMake] Selecting runtime library on Visual Studio projects

2006-07-19 Thread Jan Woetzel
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

Re: [CMake] Am I stupid or what?

2006-07-17 Thread Jan Woetzel
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

Re: [CMake] small VS 2005 problem

2006-07-16 Thread Jan Woetzel
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

Re: [CMake] FindBoost.cmake

2006-07-13 Thread Jan Woetzel
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

[CMake] FindBoost.cmake

2006-07-13 Thread Jan Woetzel
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

Re: [CMake] Problem with including resource files for visual studio .NET when using 2.4.2

2006-07-13 Thread Jan Woetzel
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

Re: [CMake] Selecting runtime library on Visual Studio projects

2006-07-13 Thread Jan Woetzel
(... 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

Re: [CMake] Redistributed files

2006-07-12 Thread Jan Woetzel
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

Re: [CMake] Add a compiler switch to a a specific configuration

2006-07-11 Thread Jan Woetzel
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

Re: [CMake] a dependency nag/bug

2006-07-11 Thread Jan Woetzel
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

Re: [CMake] Cross platform Multi-threading switches

2006-07-10 Thread Jan Woetzel
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

Re: [CMake] FIND_PACKAGE list of components (...REQUIRED components)

2006-07-08 Thread Jan Woetzel
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

[CMake] FIND_PACKAGE list of components (...REQUIRED components)

2006-07-07 Thread Jan Woetzel
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

Re: [CMake] CPack ignore parameter

2006-07-06 Thread Jan Woetzel
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

Re: [CMake] CPack parameters

2006-07-06 Thread Jan Woetzel
obbing *.xml "/CVS/" "/.svn/" ".swp$" ".#" "/#" ) And cpack -V jhelps. Jan. -- Dipl.-Ing. Jan Woetzel -- University of Kiel Institute of Computer Science and Appli

Re: [CMake] CPack parameters

2006-07-06 Thread Jan Woetzel
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

Re: [CMake] Name of output file

2006-07-05 Thread Jan Woetzel
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

Re: [CMake] Per-target compiler flags?

2006-07-05 Thread 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

[CMake] WXDialog using UNICODE wx build again and unicode in CMake?

2006-07-05 Thread Jan Woetzel
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 [

[CMake] compiling headers in subdirs with MSVS 7.1 bug

2006-07-04 Thread Jan Woetzel
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

Re: [CMake] doesnt FIND_PACKAGE set to 1 _FOUND when successfull?

2006-07-03 Thread 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

Re: [CMake] subdirectories INSTALL(FILES "subdir/foo.h" ...)

2006-06-30 Thread Jan Woetzel
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

Re: [CMake] subdirectories INSTALL(FILES "subdir/foo.h" ...)

2006-06-30 Thread Jan Woetzel
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

Re: [CMake] Installing CMake for multiple platforms

2006-06-30 Thread Jan Woetzel
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

fixed - Re: [CMake] Forcing C++: What Causes VC Warning D4025 : overriding /TP with /TC

2006-06-29 Thread Jan Woetzel
), 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

Re: [CMake] new FindwxWidgets.cmake + UsewxWidgets.cmake

2006-06-27 Thread Jan Woetzel
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

[CMake] Bug Tracker version

2006-06-26 Thread Jan Woetzel
.. 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

Re: [CMake] Re: File globbing with relative path

2006-06-26 Thread Jan Woetzel
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

Re: [CMake] File globbing with relative path

2006-06-26 Thread Jan Woetzel
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

Re: [CMake] new FindwxWidgets.cmake + UsewxWidgets.cmake

2006-06-26 Thread Jan Woetzel
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

[CMake] new FindwxWidgets.cmake + UsewxWidgets.cmake

2006-06-26 Thread Jan Woetzel
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

Re: [CMake] Making a library with no *.cpp files.

2006-06-25 Thread Jan Woetzel
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

Re: [CMake] ${CTEST_CONFIGURATION_TYPE} expanded to an empty string while running ctest

2006-06-21 Thread 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

Re: [CMake] ${CTEST_CONFIGURATION_TYPE} expanded to an empty string while running ctest

2006-06-21 Thread Jan Woetzel
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

Re: [CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-20 Thread Jan Woetzel
_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

Re: [CMake] bug: CMakeSetup.exe crash in MESSAGE command in 2.4.2+cvs

2006-06-20 Thread Jan Woetzel
: 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

[CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-19 Thread Jan Woetzel
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

Re: [CMake] cpack rocks + PATH

2006-06-19 Thread Jan Woetzel
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

[CMake] cpack rocks + PATH

2006-06-19 Thread Jan Woetzel
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

Re: [CMake] 1024 BYte submission limit with cmake 2.42 +dart1

2006-06-15 Thread Jan Woetzel
. 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

Re: [CMake] 1024 BYte submission limit with cmake 2.42 +dart1

2006-06-15 Thread Jan Woetzel
(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]

[CMake] 1024 BYte submission limit with cmake 2.42 +dart1

2006-06-15 Thread Jan Woetzel
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

Re: [CMake] WIN32 definition gone in cmake 2.4.2

2006-06-14 Thread Jan Woetzel
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

Re: [CMake] Understanding SET- and GET_TARGET_PROPERTY

2006-06-13 Thread Jan Woetzel
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

[CMake] FIND_PACKAGE REQUIRED bug

2006-06-12 Thread 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

Re: [CMake] how to write cmake file for ImageMagick package?

2006-06-12 Thread Jan Woetzel
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

Re: [CMake] how to write cmake file for ImageMagick package?

2006-06-12 Thread Jan Woetzel
[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

Re: [CMake] how to write cmake file for ImageMagick package?

2006-06-12 Thread Jan Woetzel
(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

Re: [CMake] how to write cmake file for ImageMagick package?

2006-06-11 Thread Jan Woetzel
. 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

Re: [CMake] Re: bug ADD_DEFINITIONS

2006-06-09 Thread Jan Woetzel
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

[CMake] Re: bug ADD_DEFINITIONS

2006-06-08 Thread Jan Woetzel
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

Re: [CMake] bug SET_SOURCE_FILES_PROPERTIES with files in subdirectory

2006-06-08 Thread Jan Woetzel
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

[CMake] bug SET_SOURCE_FILES_PROPERTIES with files in subdirectory

2006-06-08 Thread Jan Woetzel
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 --

[CMake] Re: bug SET_SOURCE_FILES_PROPERTIES with files in subdirectory

2006-06-08 Thread Jan Woetzel
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

Re: [CMake] build time / unneccessary configure for library targets on switch from 2.0.6 to 2.4.2

2006-06-06 Thread Jan Woetzel
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

[CMake] Re: unneccessary configure for library targets

2006-06-05 Thread Jan Woetzel
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

Re: [CMake] 3rd party cmake files

2006-06-05 Thread Jan Woetzel
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.

[CMake] C/CXX compilation conflict ( /TC /TP )

2006-06-05 Thread Jan Woetzel
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

Re: [CMake] 3rd party cmake files

2006-06-05 Thread Jan Woetzel
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

[CMake] build time / unneccessary configure for library targets on switch from 2.0.6 to 2.4.2

2006-06-05 Thread Jan Woetzel
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

[CMake] Re: libs only target - works with 2.42

2006-06-05 Thread Jan Woetzel
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

Re: [CMake] libs only target

2006-06-04 Thread 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

Re: [CMake] libs only target

2006-06-04 Thread Jan Woetzel
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

Re: [CMake] libs only target

2006-06-02 Thread Jan Woetzel
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 --

[CMake] libs only target

2006-06-01 Thread Jan Woetzel
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

Re: [CMake] Re: a ./configure shell script stub

2006-05-30 Thread Jan Woetzel
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+

Re: [CMake] CMake with wxWidgets on Linux

2006-05-29 Thread Jan Woetzel
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 --

Re: [CMake] CMake with wxWidgets on Linux

2006-05-29 Thread Jan Woetzel
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

Re: [CMake] CMake with wxWidgets on Linux

2006-05-29 Thread Jan Woetzel
. 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

Re: [CMake] Add non-build files to a project?

2006-05-24 Thread Jan Woetzel
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_

Re: [CMake] Add non-build files to a project?

2006-05-24 Thread Jan Woetzel
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

Re: [CMake] How can I permanently get rid of project configurations for VS.Net 2003?

2006-05-18 Thread Jan Woetzel
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   2   >