[CMake] FindZLIB.cmake

2007-10-01 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Could somebody modify FindZLIB.cmake to search "/Program Files/zlib" directory for zlib include and lib directories? This is the default location that CPack generated NSIS installer uses. FIND_PATH(ZLIB_INCLUDE_DIR zlib.h /usr/local/include /usr/include "/Program Files/

[CMake] Changing default cpack installation path

2007-10-01 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, Is there a way to change the default installation path in cpack? This is for NSIS installer on Windows. I tried changing CPACK_PACKAGE_INSTALL_DIRECTORY but no matter what I set it to, "Program Files" always gets added. Anyway to get around it? We use CPack to package

RE: [CMake] ctest question

2007-09-27 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
I've ran into similar problem. Instead of keeping the original files as golden results, I wanted to keep MD5 checksums of these files. There are two reasons for it: disk space constraints and different file format support. The generated files can take up a lot of disk space. If a

[CMake] CTest and SVNUpdateOptions

2007-06-13 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, I am using SVNUpdateOptions to update my files to a specific revision. However, it doesn't always work. When I run ctest -D Continuous --overwrite SVNUpdateOptions="-r5000" it works; files get updated to revision 5000. However, this doesn't work: ctest -D Nightly --overwrite

RE: [CMake] ctest -DContinuousBuild doesn't build

2007-05-03 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Yes, it works with passing all of the arguments at once. I'll use that. Thank You. -- Artur Kedzierski -Original Message- From: David Cole [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 9:22 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Ma

[CMake] ctest -DContinuousBuild doesn't build

2007-05-02 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, I run the following sequence of commands: ctest -DContinuousStart ctest -DContinuousConfigure ctest -DContinuousUpdate --overwrite SVNUpdateOptions="-r1" ctest -DContinuousBuild The last command will not do anything. It just exits silently even though they were up

[CMake] ctest and update to revision?

2007-04-02 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, Is there anyway to tell ctest to update to specific revision? My Subversion hook scripts queue builds on each commit. So when five commits go through, the first one is compiled and tested and the remaining four wait for it to finish. I would like to use ctest -D ContinousUpdate

[CMake] Placing debug and release version of the same library in single installer?

2007-03-12 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, I am creating a package (using CPack) of one of our libraries. On Window side, I would like to be able to place Debug and Release versions of that library in the single installer. Any idea on how to do that? Thank You. -- Artur Kedzierski smime.p7s Description: S/MIM

[CMake] Telling whether MSVC is in Debug or Release configuration

2007-01-24 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, I would like to obtain library name through: GET_TARGET_PROPERTY(library_name MyLibraryProject ${CMAKE_ BUILD_TYPE}_LOCATION) This works on Linux. However, ${CMAKE_ BUILD_TYPE} doesn't get set in MSVC. How can I tell whether MSVC is in Debug or Release mode so that I

RE: [CMake] cont. build results not appearing in dart2

2007-01-03 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
We had similar problem. It turned out that it takes a long time for it to appear on the website (up to 10 minutes). You can change this behavior by changing Project.xml file inside of your Dart2 project directory. Search for "Process queued task every 10 minutes" and change the value.

RE: [CMake] FooConfig.cmake with Foo_DIR issue

2006-12-19 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Great! That did it. Thank You. -- Artur Kedzierski -Original Message- From: Tristan Carel [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 15:10 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing List Subject: Re: [CMake] FooConfig.cmake with

[CMake] FooConfig.cmake with Foo_DIR issue

2006-12-19 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, For a package Foo, I have FooConfig.cmake that contains . Foo_LIBRARIES "${Foo_DIR}/lib/@Foo_LIBRARY_NAME@" . That works fine on Linux. However, on Windows, I get Foo_LIBRARIES to be something like: "c:\Program Files\Foo\/lib/foo.lib". Is there anyway to tell CMake to s

[CMake] Macro for FIND_PACKAGE?

2006-12-13 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Is there a macro or command that would shorten the process of incorporating 3rd party packages in my project? For example, I find myself doing this in various projects: ADD_LIBRARY(MyLib) FIND_PACKAGE(foo) IF(foo_FOUND) INCLUDE_DIRECTORIES(${foo_INCLUDE_DIRS}) LINK_DIRECT

[CMake] LINK_DIRECTORIES problem

2006-12-13 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, I've noticed that when I pass a directory through LINK_DIRECTORIES after ADD_LIBRARY, the directory is not added to the library search path. However, INCLUDE_DIRECTORIES does not suffer such problem. This causes a problem when I try to use Boost package. For example: ADD_LIB

[CMake] CMAKE_MODULE_PATH not for FooConfig.cmake?

2006-11-09 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, When I use FIND_PACKAGE(Foo), and set variable CMAKE_MODULE_PATH to my module directory, FooConfig.cmake doesn't get found. However, if I name it FindFoo.cmake, it gets found. Is CMAKE_MODULE_PATH for Find.cmake but not for Config.cmake? or am I not setting something correctl

RE: [CMake] Telling CMake to use zlibConfig.cmake instead of the Findzlib.cmake

2006-10-27 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
s. There was no other way around it. --Artur Kedzierski From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug HenrySent: Friday, October 27, 2006 5:34To: Alan W. IrwinCc: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA; Brad King; CMake Mailing ListSubject: Re: [CMake] Telling

RE: [CMake] Telling CMake to use zlibConfig.cmake instead of the Findzlib.cmake

2006-10-26 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
he Findzlib.cmake and use zlibConfig.cmake. -- Artur Kedzierski -Original Message- From: Alan W. Irwin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 13:52 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: Brad King; CMake Mailing List Subject: RE: [CMake] Telling CMake to use zlibCo

RE: [CMake] Telling CMake to use zlibConfig.cmake instead of the Findzlib.cmake

2006-10-26 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
EMAIL PROTECTED] Sent: Thursday, October 26, 2006 8:42 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing List Subject: Re: [CMake] Telling CMake to use zlibConfig.cmake instead of the Findzlib.cmake Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote: > On Windows side, I buil

[CMake] Telling CMake to use zlibConfig.cmake instead of the Findzlib.cmake

2006-10-25 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, On Windows side, I built a zlib library and created a zlibConfig.cmake to go with it. The zlibConfig.cmake contains the zlib_DEFINITIONS, zlib_LIBRARIES, zlib_INCLUDE_DIRS so I don't have to worry Now, in another project that uses zlib, FIND_PACKAGE(zlib) uses Findzlib.cmake t

RE: [CMake] ctest with SSL?

2006-10-19 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Thank You Brad. I'll try that. -- Artur Kedzierski -Original Message- From: Brad King [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 13:00 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing List Subject: Re: [CMake] ctest with SSL? Kedzi

[CMake] ctest with SSL?

2006-10-16 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Is there a way to enable SSL in CTest? When I use 'https' URL, I get curl_easy_perform() says: libcurl was built with SSL disabled[...] Thank You. -- Artur Kedzierski smime.p7s Description: S/MIME cryptographic signature ___ CMake mai

RE: [CMake] Preserving directory structure with INSTALL(...)

2006-10-10 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
List Subject: Re: [CMake] Preserving directory structure with INSTALL(...) Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote: > Lets say I have this dir structure: > include/a/a1.h > include/a/a2.h > include/b/b1.h > include/c/c1/c1.h > When I do this: &

[CMake] INCLUDE_DIR or INCLUDE_DIRS?

2006-10-10 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, I am looking at the readme.txt file in CMake's modules directory. It says: Please use the following consistent variable names for general use. XXX_INCLUDE_DIRS ... You do not have to provide all of the above variables. You should provide [...] XXX_INCLUDE_DIR [...]

RE: [CMake] end of line

2006-10-10 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
There is UsePkgConfig.cmake in CMake distribution that can parse the pkgconfig for you. However, I don't know if it removes the end of line characters. -- Artur Kedzierski -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of frederic heem Sent: Tuesday

[CMake] Preserving directory structure with INSTALL(...)

2006-10-10 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Lets say I have this dir structure: include/a/a1.h include/a/a2.h include/b/b1.h include/c/c1/c1.h When I do this: FILE(GLOB_RECURSE INSTALL_HEADERS RELATIVE "${CMAKE_SOURCE_DIR}" "$(CMAKE_SOURCE_DIR}/include/*.h") INSTALL(FILES ${INSTALL_HEADERS} DESTINATION include) I get

RE: [CMake] FindCppUnit

2006-10-05 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
ton Deguet [mailto:[EMAIL PROTECTED] Sent: Thursday, October 05, 2006 8:54 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing List Subject: Re: [CMake] FindCppUnit I have the following which works on Unix systems but requires manual input on Windows: # # Find the CppUnit includes a

[CMake] FindCppUnit

2006-10-04 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
With CppUnit being popular for unit testing, does anybody have a FindCppUnit.cmake that would locate it? -- Artur Kedzierski smime.p7s Description: S/MIME cryptographic signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailm

[CMake] CPack with WinZip

2006-10-03 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, When I use CPack on Windows with WinZip installed, I get this error: CPack Error: Cannot find a suitable ZIP program Does CPack require different ZIP program? -- Artur Kedzierski smime.p7s Description: S/MIME cryptographic signature __

[CMake] CMakeDetermineSystem.cmake

2006-10-02 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, Is there a module like CMakeDetermineSystem.cmake that would tell the specific Linux distribution and architecture that compilation is running on? I would like to use it to attach it to package name generated by CPack. Thank You for all the support. -- Artur Kedziers

RE: [CMake] 3rd party modules

2006-10-02 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
ibcurl was built with SSL disabled'. How do I build cmake with ssl enabled in curl? Thank You. -- Artur Kedzierski -Original Message- From: Brad King [mailto:[EMAIL PROTECTED] Sent: Friday, September 29, 2006 13:45 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing

RE: [CMake] 3rd party modules

2006-09-29 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
ssing something? -- Artur Kedzierski -Original Message- From: Brad King [mailto:[EMAIL PROTECTED] Sent: Friday, September 29, 2006 8:46 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing List Subject: Re: [CMake] 3rd party modules Kedzierski, Artur CIV NAVSURFWARCEND

RE: [CMake] 3rd party modules

2006-09-29 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
ski, JF33 Voice (951) 273-5069, DSN 933-5069, Fax (951) 273-5201 -Original Message- From: Brad King [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 7:24 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing List Subject: Re: [CMake] 3rd party modules K

RE: [CMake] 3rd party modules

2006-09-25 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
ing [mailto:[EMAIL PROTECTED] Sent: Friday, September 22, 2006 6:17 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing List Subject: Re: [CMake] 3rd party modules Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote: > Thanks Brad. > Let's say for

[CMake] Escaping $

2006-09-21 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, I am trying to create FooConfig.cmake by having FooConfig.cmake.in and running CONFIGURE_FILE(FooConfig.cmake.in FooConfig.cmake) on it. In FooConfig.cmake.in, I have something like: SET(MY_LOCAL ${CMAKE_INSTALL_PREFIX}/include/foo) IF (WIN32) SET(MY_LOCAL \$(M

RE: [CMake] 3rd party modules

2006-09-21 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing List Subject: Re: [CMake] 3rd party modules Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote: > Some packages provide modules/programs that > provide information where they were installed. For > example, "FooL

RE: [CMake] Portable "treat warnings as errors"?

2006-09-19 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
r the code snippet. I don't have to look up the right variables. -- Artur Kedzierski -Original Message- From: Sylvain Benner [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 19, 2006 3:52 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA; CMake Mailing List Subject: Re: [CMake]

[CMake] Portable "treat warnings as errors"?

2006-09-19 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Yet another question... I cannot find an answer in the documentations. Is there something like CMAKE_CXX_WARNING_AS_ERRORS variable that if set, would get translated to \WX on Windows and -Werror on GCC compilers? I appreciate your help. -- Artur Kedzierski smime.p7s Des

RE: [CMake] How to specify default build dir in CMakeLists.txt?

2006-09-18 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
e- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandon J. Van Every Sent: Monday, September 18, 2006 22:24 To: cmake Subject: Re: [CMake] How to specify default build dir in CMakeLists.txt? Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote: > The goal is to have an out-of

[CMake] Using CPACK to generate RPM

2006-09-18 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, I am sorry to bomb the mailing list with all my questions. However, CMake is pretty exciting and my group is very likely to migrate to it. I found a link that mentions that CPACK can generate an RPM: http://wiki.na-mic.org/Wiki/index.php/2006_Annual_Scientific_

RE: [CMake] How to specify default build dir in CMakeLists.txt?

2006-09-18 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
ow to specify default build dir in CMakeLists.txt? Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote: > Hi, > > I am pretty new to CMake. Is there a way to specify a > default build dir in CMakeLists.txt? What are you really trying to prevent from happening? Are you ju

[CMake] 3rd party modules

2006-09-18 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, Some packages provide modules/programs that provide information where they were installed. For example, "FooLibrary" may provide FooLibrary.m4 for auto-tools, FooLibrary.pc for pkg-confing, or Foo-config for anything else. As an author of a library, should I start prov

[CMake] How to specify default build dir in CMakeLists.txt?

2006-09-18 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, I am pretty new to CMake. Is there a way to specify a default build dir in CMakeLists.txt? Something like: CMAKE_BUILD_DIR(./build) or CMAKE_BUILD_DIR($SRC_DIR/build) which would be equivalent to: mkdir build ../ccmake That should be portable as well. For exam