Martin Dobias wrote:
> I try to build executable in my project (using about 150 source files)
> with CMake and MinGW. When it comes to linking I get an error message
> from system saying:
>
> The input line is too long.
What version of CMake are you using? This has been fixed in CVS CMake
and wi
Alan W. Irwin wrote:
> Today I inadvertently formed an unwanted circular chain of library
> dependencies with the target_link_libraries command, and as a result CMake
> segfaulted.
[snip]
> [EMAIL PROTECTED]> cmake ../test_cmake
> -- Check for working C compiler: gcc
> -- Check for working C compil
Arjen Markus wrote:
> I am running into very similar problems with the Compaq Visual Fortran
> compiler on Windows:
>
> When CMake tests if this is an acceptable compiler, the
> generated makefile contains partly Windows-style paths (c:\...) and
> partly UNIX-style (c:/).
Are you saying tha
Jacob Foshee wrote:
> Howdy,
> I'm helping out with the CMake build for OpenSceneGraph. OSG follows
> the standard practice of using extensionless headers for common
> interfaces. We would like all headers to show up in the project files
> (e.g. vcproj). For the SOURCE_GROUP command to work, the
Tristan Carel wrote:
> Enscript highlightning system does not support CMake source files in
> the last version and Google told me anyone has written the required
> file `cmake.st'.
>
> So I made a very naive one
Cool!
> Maybe this could be added to the CMake wiki.
You're welcome to create a Wik
Anders Sundman wrote:
> Xcode and CMake works fine for me with one (minor) exception.
>
> When I build my Xcode project with CMake and then compile i get the
> following warning:
>
> Tool:0: warning -L: directory name (/usr/local/lib/Debug) does not exist
>
> It looks like CMake adds the entry:
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> 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_INS
Xavier Larrode wrote:
> Filipe Sousa a écrit :
>> On Friday 22 September 2006 08:15, Xavier Larrode wrote:
>>
>>> Hello all,
>>> Cmake is using by default /usr/bin/c++ to compile project.
>>> Is it a way to set it ton another compiler like g++, or gcc-color.
>>> Thanks
>>
>> CXX=g++ CC=gcc cmake
Enrico Scholz wrote:
> Hello,
>
> consider the following CMakeLists.txt
>
>
> file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/bar.c "void foo() { }\n")
> file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/foo.c "void bar() { }\n")
>
> add_library(foo SHARED ${CMAKE_CURRENT_BINARY_DIR}/foo.c)
> target_link_libra
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> Thanks Brad.
> Let's say for project Foo and project Bar, I've created
> a FooConfig.cmake and BarConfig.cmake. Project Foo uses Cmake
> but Bar doesn't. During the installation, where should Foo and Bar place
> the Config.cmake so
Martin Dobias wrote:
> On 9/21/06, Brad King <[EMAIL PROTECTED]> wrote:
>> Martin Dobias wrote:
>> > I try to build executable in my project (using about 150 source files)
>> > with CMake and MinGW. When it comes to linking I get an error message
>> > fr
Luigi Calori wrote:
> I' m trying to use CMake to compile OpenSceneGraph:
> at present I' m testing the MSYS generator: some questions:
> 1) I see that the file CMakeMSYSFindMake.cmake is rensponsible of
> finding the msys make: is it possible to specify the location inside the
> project?
> I would
David Cole wrote:
> CMake bug then...?
>
>
>
>
> Subject:
> Re: [vtkusers] Re: Fwd: Re: Compiling VTK-5.0.2 with Cygwin make
> From:
> Steve Robbins <[EMAIL PROTECTED]>
[snip]
> FIND_PATH(OPENGL_INCLUDE_DIR GL/gl.h
>
Jacob Foshee wrote:
Visual Studio has "Solution Folders" for grouping projects. Does CMake
support this yet? I suppose the appropriate command would be PROJECT_GROUP.
No, but it would be a great feature. Please submit a request here:
http://www.cmake.org/Bug
and send me the bug number.
Th
Lachlan Gunn wrote:
Hi,
I have been working on a project that makes use of CMake, and a
problem has come up during the course of development.
When I set a variable in a lower-level CMakeLists.txt file, it does
not propagate upwards into the parent CMakeLists.txt file. Example:
src/CMakeLists.
Martin Dobias wrote:
On 9/22/06, Brad King <[EMAIL PROTECTED]> wrote:
I'll assume you're using the MSYS Makefiles generator. Please let me
know if this is not the case.
No, I'm using MinGW Makefiles generator. Now I've tried alse MSYS
Makefiles generator and linking
Martin Dobias wrote:
Brandon J. Van Every wrote:
Martin Dobias wrote:
>
> Actually CMakeSetup from CVS crashes for me even with so trivial
> CMakeLists.txt like:
Now I've found the problem of the crash. I've been building CMake with
MSVC8 (Express edition), bootstrapping with CMake 2.4.3. Bui
Wojciech Jarosz wrote:
> I am writing a confidence test which needs to read some asset files. In
> order to tell the test where these files are located I do the following
> within the test's CMakeLists.txt:
> ADD_DEFINITIONS(-DRB_DATA_DIR=\"${CMAKE_CURRENT_SOURCE_DIR}/\")
>
> Within the test code
Joshua Blocher wrote:
> I'm having trouble with variables, anytime i use a variable with
> gtk+-2.0 (i.e. gtk+-2.0_CFLAGS comes up cmake chokes on it and splits
> out (see below) is this because i have non-alphanumeric characters in
> them.
[snip]
> syntax error, unexpected cal_SYMBOL, expecting }
Jeroen Janssen wrote:
> Hi,
>
> I have a question on the evaluation/creation of target properties in
> relation with dependencies.
>
> Example:
>
> TestDll directory with interface/ and src/
> TestExe directory with src/
>
> TestExe has a dependency to TestDll (with add_dependency)
>
Eduard Bloch wrote:
> Hello,
>
> I need to add a certain variable and a set of strings in a set of
> applications, beeing in different paths. This is required because a
> static library is compiled with different settings, therefore the set of
> additional libraries varies.
>
> To avoid code dupl
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> Got it. Thank You.
> Now, there is another thing that I can't seem to find.
> If I have a Foo library with CMakeLists.txt:
> ADD_LIBRARY(Foo foo.cpp)
> then I have FooConfig.cmake for it:
> SET(FOO_LIBRARY @LIBRARY_OUTPUT_PA
Littlejohn, Todd wrote:
> I am currently working on a project that auto-generating code based on a
> data model defined using XSD/XML. The code generator I have developed
> is using CMake to make the code generator. Next CMake is used to
> generate the C++ and Java data models. The problem I am
Arjen Markus wrote:
> Like I promised, here is the information I have on this bug:
[snip]
> As you can see, the source file is given with the native (Windows-style)
> path, but the object file is specified with forward slashes. This is what
> causes the compiler to complain.
Try adding this to you
Kai Sterker wrote:
> But cmake cannot find the headers, (or libraries in /usr/local/lib),
> because it does know nothing about the UNIX-like structure of MSYS.
>
> So the problem is not that there is something wrong when running cmake
> from a MSYS shell instead of a Windows command prompt. It beh
Mathieu MARACHE wrote:
> Hi,
> I've got a small bug trying to use configuration postfixes under windows
> with at least NMakes and VisualStudio C++ .NET 7.1 . I used the latest
> 2.4.3 release of CMake.
>
> The following command works for libraries and shared libraries but not
> for executables. F
Mathieu MARACHE wrote:
> BTW, we tried to buy the CMake book this summer but our supplier told us
> it was not edited anymore... Is this true ? And if yes will an updated
> version of the book be released ?
I don't know why they said that. Kitware has always been the publisher
and it is still upd
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> Thanks Brad.
> So for those two lines:
> SET(CMAKE_DEBUG_POSTFIX "Debug")
> GET_TARGET_PROPERTY(LIBNAME Foo LOCATION)
> Should I get?
> /lib/libfooDebug.a
> I am getting (no 'Debug'):
> /lib/libfoo.a
> but libfoo
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> That didn't do it. This is what I am doing:
> ADD_LIBRARY(Foo foo.cpp)
> SET_TARGET_PROPERTIIES(Foo PROPERTIES DEBUG_POSTFIX "Debug")
> GET_TARGET_PROPERTY(LIBNAME Foo LOCATION)
> I am still getting libfoo.a for the ${LIBNAME} but
Brad King wrote:
> Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
>> That didn't do it. This is what I am doing:
>> ADD_LIBRARY(Foo foo.cpp)
>> SET_TARGET_PROPERTIIES(Foo PROPERTIES DEBUG_POSTFIX "Debug")
>> GET_TARGET_PROPERTY(LIBNAME Foo LOC
Joshua Blocher wrote:
> After I have built my project and I update some of the project.
> it spits out a bunch of lines with the percents even if the file has
> been already compiled. Is there anyway to make its progress
> updated on one line unless it has to re-compile something.
It used to be to
James Mansion wrote:
>> Are you trying to link object files compiled without -fPIC into a shared
>> library? That would never work; -fPIC is required for all objects in shared
>> libraries.
>
> I'm guessing so - I want to do it too! Or rather, be able
> to make a static library containing objec
Alan W. Irwin wrote:
> I have noticed tests like
>
> IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
>
> in, e.g., CheckFunctionExists.cmake where VARIABLE is a macro argument.
> From
> the context I assume it is a test for whether the actual variable used in
> the macro call has been assigned a non-nu
Filipe Sousa wrote:
> I don't understand how COMPONENT works. From the INSTALL manual the
> "COMPONENT argument specifies an installation component name with which
> the install rule is associated, such as "runtime" or "development".
> During component-specific installation only install rules assoc
Arjen Markus wrote:
>> SET(CMAKE_WINDOWS_OBJECT_PATH 1)
> While it worked with my small test project (single file, single language),
> it fails with PLplot: the setting gets in the way of the detailed tests on
> the capacities of the C compiler. I get error messages about the incorrect
> use of G
Peter Kahn wrote:
> What is the right pattern to use in cmake to create a custom rule for
> converting a bunch of files?
>
>
> In make I can define a custome rule for file types.
> What is the right way to do this in cmake?
>
> I can create a macro, but I'm unsure how to properly conne
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> 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.
There is n
Andrew Maclean wrote:
> In Linux, is it possible to relink libraries before installation?
> For instance if I have built with shared libraries on and
> CMAKE_SKIP_RPATH OFF then I have runtime paths in the shared libraries.
> When I finally decide to install a version for system-wide use (not
> dev
James Mansion wrote:
> http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_lib
> raries.3F
>
> The FAQ is misleading - they DO make sense for (all) non-UNIX linkers. What
> non-UNIX linkers do not have an equivalence to an archive?
>
> There is no reason why I cannot compile
Hugo Costelha wrote:
> I need to copy all files that match a certain patter during compilation time.
> I am currenlty using the following in CMakeLists.txt:
>
> FILE(GLOB luts "lut*")
> FOREACH(file ${luts})
> GET_FILENAME_COMPONENT(basename ${file} NAME)
> ADD_CUSTOM_TARGET( luts ALL
>
frederic heem wrote:
> Hi,
> Here is the problem, pkgconfig is used to get the include path, for dbus, its
> value is "-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include" and the
> variable name is DBUS_INCLUDE_DIR_SYSTEM. The following FIND_PATH fails to
> find the include files:
> FIND_PATH(D
Hugo Costelha wrote:
> On Tuesday 03 October 2006 16:07, you wrote:
>> You can add a custom target that runs
>>
>> cmake -P myscript.cmake
>>
>> and then put the glob/copy code in the script. In the script use
>> EXECUTE_PROCESS to call cmake -E copy in a FOREACH on the result of the
>> glob.
>
>
Arjen Markus wrote:
> for reasons I do not understand (*) the error messages I reported
> earlier after setting CMAKE_WINDOWS_OBJECT_PATH to 1 have vanished.
> The project's makefiles can now be generated by CMake.
>
> In fact make begins to build the C libraries and the FORTRAN 77 libraries,
> bu
Pablo Odorico wrote:
> How can I use cmake to copy the library headers in a portable way?
> (eg: /usr/include/pgl/*.h in linux)
>
> Is there a way to run ldconfig after "make install" so the library can be
> used
> right away? Will that affect the install in a non-unix OS?
Look at the INSTALL
Warren Turkal wrote:
> On Monday 02 October 2006 08:38, Brad King wrote:
>> http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_li
>
> There are some references to 2.2 being the current release and having to use
> the current development for some features
Patrick J. Franz -- ML wrote:
>
> I'm a fairly new CMake user, so I apologize in advance if this question
> is answered trivially elsewhere. I searched through the docs and Google
> already to no avail.
>
> In a project I am working on, I need to build our Win32 libraries in
> both cdecl and stdc
James Bigler wrote:
> I'm using CMake 2.4.3 on Linux. When I do:
>
> OPTION(TEEM_BUILD_SHARED_LIBS "Build Teem with shared libraries." OFF)
> OPTION(BUILD_SHARED_LIBS ${TEEM_BUILD_SHARED_LIBS})
>
> or
>
> OPTION(BUILD_SHARED_LIBS "Build package with shared libraries." OFF)
BUILD_SHARED_LIBS do
Peter Kahn wrote:
> What is the standard way of having cmake access libaries built on the
> same subdir level?
>
> I have a project with two subdirs: Util and App. Util builds a
> library called 'utillib'. Ap builds a
> library and an exe (aplib, and ap.exe).
> Main\
>CMakeLists.tst
>Ut
Xavier Delannoy wrote:
> SET(CMAKE_INSTALL_PREFIX "$ENV{DESTDIRPREFIX}")
> MESSAGE(STATUS "CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}")
> INSTALL(TARGETS nbase_shared DESTINATION /usr/Firewall/lib)
[snip]
> /home/xavierd/tempbuild/firmware/lib/libnbase/shared/cmake_install.cmake:30:
> FILE cannot
Gregor Berginc wrote:
> Dear all,
>
> yesterday I faced wierd behaviour of the newest cmake. Before, I was
> using cmake version 2.4-patch 2 and the following command executed
> successfully:
> =
> ADD_CUSTOM_COMMAND(
> OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${cpp_class}.h
> COMMAND ${JAVAH_RU
Alexander Neundorf wrote:
> Original-Nachricht
> Datum: Thu, 5 Oct 2006 09:53:37 +0200
> Von: "Gregor Berginc" <[EMAIL PROTECTED]>
>> What has changed since patch 2 version? Is this a bug or just my bad
>> interpretation of ADD_CUSTOM_COMMAND and cmake variables?
>
> You need to
Pablo Odorico wrote:
> Hi,
>
> FIND_PACKAGE(SDL REQUIRED) was not working in my system [1], nor a friend's
> system [2], so I started messing around with FindSDL*.cmake to make them
> complain with
> http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view=markup
> ... as muc
James Mansion wrote:
> I think you need a dependency declaration too don't you?
>
> I've seen VStudio 2k3 build out of order without.
>
>> # App/CMakeLists.txt
>> ADD_EXECUTABLE(myexe ...)
>> TARGET_LINK_LIBRARIES(myexe mylib)
>
> It seems actually a little more complicated in practice
> because
Richard Fuchs wrote:
> Is there a way to be able to select if the build will be debug or
> optimized at make time instead of during cmake time?
>
> So, I can SET(CMAKE_BUILD_TYPE Debug) or SET(CMAKE_BUILD_TYPE Release)
> for debug or optimized code respectively, then when I run make, the
> corresp
frederic heem wrote:
> Hi,
> In some FindXXX.cmake, pkgconfig is used to locate include directories
> libraries, definitions etc. I would like to set the environment variable
> PKG_CONFIG_PATH to $MYLIBDIR:$PKG_CONFIG_PATH, hence pkg-config will look
> first for $MYLIBDIR/mylib.pc
> EXECUTE_PRO
Bill Tonkin wrote:
> The short story is that the CMake generated makefiles try to build a target
> that seems to exist, but with a slightly different name.
>
> make[2]: *** No rule to make target
> `../../libraries/my_a/CMakeFiles/my_a.di
> r/build'.
[snip]
> The content of CMakeLists.txt [1]
Mike Jackson wrote:
> I just tried to have CMake generate a "debug" build of my project but when
> cmake ran it gave me the warning that Cmake was forcing my build type to
> Release since that is what VTK was built with. I _understand_ the error. What
> I need to know is if there is a way to act
frederic heem wrote:
> It seems that it's not possible to add dependencies to implicit target such
> as
> clean and package_source. The user defined target FsmCompilerClean must be
> called whenever the target clean is used.
[snip]
> # fails here
> ADD_DEPENDENCIES(clean FsmCompilerClean)
The "
Bill Tonkin wrote:
> I will give the CVS sources a try and report back. Thank you for your help.
It turns out this was not fixed in CVS, but it is now. I've also added
a test for out-of-source/out-of-binary subdirectories like your case.
/cvsroot/CMake/CMake/Source/cmMakefileTargetGenerator.cxx
Toni Cebrian wrote:
>I have a Sparc machine with Solaris 8 installed. I have locally
> installed GCC (/usr/local/bin) and mounted with NFS a disk with the
> compiler tools of Sun (/opt/studio11/SUNWspro/bin). The problem I have
> is that when I run ccmake I try to select the compiler of Sun
> (
frederic heem wrote:
> The output of pkgconfig has to be parsed to make it compatible with cmake.
> pkgconfig adds the end of line for each results.
> Is there a portable way to remove the end of line ?
Look at STRING(REGEX)
-Brad
___
CMake mailing list
Helio Chissini de Castro wrote:
> Hi everyone
>
> Is there an easy way to make a different install prefix durong the install
> phase, most directed for RPM construction ( like the old DESTDIR on
> auto*tools ) ?
> I have a code that during build parse and substitute de real install prefix,
> an
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> 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
Mike Jackson wrote:
> I am attempting to set the "install_name" on OS X for Shared Libraries but
> the solution that I _thought_ would work does not because somewhere in cmake
> the linker flag "-install_name" is _already_ defined and so adding another
> one just confuses the linker.
> Is there s
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> Is this part of CMake 2.4.3?
> I get this error:
> INSTALL called with unknown mode DIRECTORY
It is in CVS CMake. It will be in 2.4.4.
-Brad
___
CMake mailing list
CMake@cmake.org
http
Mike Jackson wrote:
> On 10/10/06 4:08 PM, "Brad King" <[EMAIL PROTECTED]> wrote:
>> cmake --help-command SET_TARGET_PROPERTIES
>
> OK.. Reading all the output from that command there seems to be some
> mutually exclusive settings. Also, the output has settin
Axel Roebel wrote:
> I frequently struggle with the problem to set
> global linker flags. Global here means these flags should be used
> whenever the linker is used. The main example where I need that
> is the -mno-cygwin flag of the cygwin compiler.
> This flag creates objects that will not make
Pecevski Dejan wrote:
> Hi,
>
> As part of our build process which uses cmake, we want to generate
> wrapper c++ files from existing sources, for python interfacing (using
> Py++ and boost.python).
> The dependency we want to achieve is :
>A1.cpp A2.cpp A3.cpp A1.h A2.h A3.h ... <- Ab
Axel Roebel wrote:
> The problem is that to my knowledge the only way to communicate the
> deployment target to gcc is via environment variables. I admit this is a
> really strange way (probably its save to say silly) to select compiler
> options, but as far as I know, this is the way it is done
Mike Jackson wrote:
>
>
> On 10/10/06 4:56 PM, "Brad King" <[EMAIL PROTECTED]> wrote:
>
>> Mike Jackson wrote:
>>> On 10/10/06 4:08 PM, "Brad King" <[EMAIL PROTECTED]> wrote:
>>>> cmake --help-command SET_TARGET_PROPERTIES
&
Mike Jackson wrote:
> On 10/10/06 4:56 PM, "Brad King" <[EMAIL PROTECTED]> wrote:
>> SET_TARGET_PROPERTIES (DislocationIO
>> PROPERTIES BUILD_WITH_INSTALL_RPATH 1
>> INSTALL_NAME_DIR "@executable_path/../PlugIns"
>> )
Okay
Pablo Odorico wrote:
> Some questions now:
> - Can't QUIET be used with components?
The entire find is either quiet or not.
> - _all_ components have to be REQUIRED?
The component syntax is just a list of components that are requested.
You can interpret it however you wish in the Find module
Mike Jackson wrote:
> Thanks for the fix. I look forward to the next release of Cmake. BTW, when
> is the next release?
When it's ready.
-Brad
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Andreas Schneider wrote:
> if I install my project with "sudo make install" why changes the owner
> of CMakeFiles/Progress and its contents to root?
>
> The next time I recompile as a user I have no progress status, cause the
> user isn't able to write to counts.txt.
>
> Is this a bug? :)
Yes, d
Eran Guendelman wrote:
> Looking at cmTarget::GetDirectory, my instinct for "fixing" this is to
> change
>
> default:
> return 0;
>
> to
>
> default:
> this->Directory = "";
>
> so that the subsequent check of if(this->Directory.empty()) will take
> care of this case. But then again, I don't r
Matthew Campbell wrote:
We’ve been converting our build system to cmake and are finding it
pretty darn good. However, I am currently working on a target that has
.inl files as we use them instead of putting code directly in the header
files. For some reason, when generating visual studio 2005
Eric Noulard wrote:
> What is the good way to change the default value of CMAKE_INSTALL_PREFIX
> besides the usual:
This question has come up several times and I've been deferring a fix
until a project-specified initial cache feature is implemented. That
feature has been delayed because it is tri
Luigi Calori wrote:
> I have the following problem:
> a master cmake project that wants to configure and build a series of
> slave cmake projects
> I' ve tried several hacking but not found an elegant solution.
> I' ve read from the list that the
>
> ctest --build-and-test
>
>
> could be used fo
Wojciech Jarosz wrote:
> I saw a couple questions regarding this in the archives from a few
> years, but no answers.
>
> I am using CMake for my project, and would now like to write a matlab
> mex function which would use my C/C++ code base. I'd like to have the
> CMake infrastructure figure out t
Alexander Neundorf wrote:
> Original-Nachricht
> Datum: Mon, 16 Oct 2006 14:02:28 -0400
> Von: Brad King <[EMAIL PROTECTED]>
> An: Eric Noulard <[EMAIL PROTECTED]>
> Betreff: Re: [CMake] How to check/set CMAKE_INSTALL_PREFIX
>
>> Eric Noular
Matthieu Brucher wrote:
> Hi,
>
> I'm trying to use Boost in my applications. On Windows, no problem, it
> can now find the good headers and libraries thank to FindBoost.cmake.
> On Linux, on FC5 or on Debian testing, I have cmake 2.4-patch3, with the
> FindBoost.cmake file, but when I launch cmak
Helio Chissini de Castro wrote:
> Hi
>
> I got a code similar like this:
>
> #--
>
> INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/providers.xml
> DESTINATION /opt/fdo )
>
> INSTALL( CODE "MAKE_DIRECTORY\( /opt/fdo/Repositories/Library/DataFiles\)" )
>
> #-
>
> If i inst
Brad King wrote:
> Helio Chissini de Castro wrote:
>> INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/providers.xml
>> DESTINATION /opt/fdo )
>>
>> INSTALL( CODE "MAKE_DIRECTORY\( /opt/fdo/Repositories/Library/DataFiles\)" )
[snip]
> MAKE_DIRECTORY is j
Jacob Foshee wrote:
> I am working on updating the FindDCMTK.cmake module.
> It includes a lot of commands like the following:
> FIND_LIBRARY( DCMTK_dcmimgle_LIBRARY dcmimgle
> ${DCMTK_DIR}/dcmimgle/libsrc
> ${DCMTK_DIR}/dcmimgle/libsrc/Release
> ${DCMTK_DIR}/dcmimgle/libsrc/Debug
> )
>
> Shoul
Matthew Campbell wrote:
> I was wondering if there was any way to instruct cmake to generate the
> same guid’s for Microsoft projects and solution files? We would like to
> have the option of putting the solutions and projects in source control
> but this poses a problem since the guids are regene
Alan W. Irwin wrote:
> Are FALSE
> variable values such as "SWIG_DIR-NOTFOUND" allowed to be overwritten by
> FIND_PATH even though they are cached from a previous FIND_PATH call? Is
> there a general rule I can use to always predict the results of trying
> to overwrite variables that have been ca
Alan W. Irwin wrote:
> I suggest this important additional caching rule concerning the FIND_xxx
> commands should be stated prominently in the principal documentation
> that is
> obtained by running the "cmake --help-full" command. To be fair, somewhere
> in the Wiki (I have lost the exact referen
Andreas Schneider wrote:
> I have created a much better FindBoost.cmake module. It isn't tested on
> all plattforms yet, but it should work just fine under Linux and Mac. As
> soon as it is tested, I'll try to get it upstream.
>
> You can find it here:
>
> http://dev.openwengo.com/trac/openwengo/
Sylvain Benner wrote:
> I don't know if this is possible but you can set your variable to an
> empty string.
>
> SET( SOME_OPTION "")
>
>> Is it possible to remove variables from the cache ? For example:
>>
>> OPTION( BUILD_X "Descr" OFF )
>>
>> IF ( BUILD_X )
>>SET( SOME_OPTION "Hello world"
Benjamin THYREAU wrote:
> Does someone know of a way to execute some cmake code contained in a string
> variable ? Something like INCLUDE, but working from a string instead of a
> file.
There is no language feature for this. You could try using
CONFIGURE_FILE to write the string to a file and t
Prakash Punnoor wrote:
> Hi,
>
> if I use Windows cmake 2.4.x (x in 0 to 3) in MSYS/MinGW with MSYS (in
> Windows
> XP SP2 Ger) it segfaults with my custom Module for ASM compiler integration
> (perhaps you remember...). It starts segfaulting at generation time as soon
> as I add a file with a
Steven Boyd wrote:
> Can CMake be used on a VMS operating system? Does anybody have any
> experience with this? What would be involved with trying to get it
> working? Any tips on preventing a futile experiment would be welcomed!
To my knowledge no one has attempted this before. I'm not too fa
Prename Surname wrote:
> Hello all.
> How do i create a visual studio 8 project with dll output?
> What command must i use ?
Write a CMakeLists.txt file containing
ADD_LIBRARY(mylib SHARED mylib.c)
Run CMakeSetup, and choose the "Visual Studio 8 2005" generator.
See http://www.cmake.org/HTML/Do
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> 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[...]
I've just committed changes to support building CMake against a
system-installed curl. See thi
Peter Soetens wrote:
> Quoting Brad King <[EMAIL PROTECTED]>:
>>
>> If BUILD_X is on and SOME_OPTION is set by the user, then BUILD_X is
>> turned off, and then back on the user may expect SOME_OPTION to have
>> retained its value. You can convert it to an INTERN
Peter Soetens wrote:
> The following happened to me (cmake version 2.4-patch 2) :
>
> $ mkdir build
> $ cd build
> $ cmake .. -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=gcc
> -- Check for working C compiler: gcc
> -- Check for working C compiler: gcc -- works
> -- Check size of void*
> -- Check
Alexander Neundorf wrote:
> #16: the line is parsed and a vector containing the arguments is created,
> which is handed the cmSetCommand. This turns the vector into a string.
> #17: the line is parsed, ${srcs} is expanded to the string in srcs and parsed
> again into a vector.
> #08: it evaluates
Alexander Neundorf wrote:
> Original-Nachricht
> Datum: Fri, 20 Oct 2006 18:05:09 +0200
> Von: frederic heem <[EMAIL PROTECTED]>
> An: cmake
> Betreff: [CMake] 64bit format
>
>> Hi,
>> While trying to convert ethereal build system from autotool to cmake, I
>> came
>> across a p
Reggie Burnett wrote:
> What’s the best approach to disabling optimizations for a particular
> project? We still want to use release settings just with optimizations
> turned off and then just for that single project.
Unfortunately there is no good approach for this right now. You can try
removi
Abe Stephens wrote:
> I have a CMake build for a project. The project contains several
> directories (included with the SUBDIRS command). One of these
> directories has the same name as a library that I search for using
> FIND_LIBRARY. For some reason, cmake returns the path to this
> subdirectory
601 - 700 of 1635 matches
Mail list logo