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/
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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:
&
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 [...]
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
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
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
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
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
__
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
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
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
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
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
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
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
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]
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
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
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_
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
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
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
42 matches
Mail list logo