Re: [CMake] Installing FindCGAL.cmake

2008-11-14 Thread Fernando Cacciola
Hendrik Sattler wrote: Am Friday 14 November 2008 04:18:59 schrieb Fernando Cacciola: In preparing the cmake build system for CGAL I'm having this issue: Users can define CGAL_DIR explicitely when configuring their own programs in order to allow find_package(CGAL) to locate CGALConfig.cmake

Re: [CMake] Installing FindCGAL.cmake

2008-11-14 Thread Fernando Cacciola
Hendrik Sattler wrote: Fernando Cacciola schrieb: Nope... my users don't want to do that... (or rather I don't know which DESTDIR, if any, they'll use at all, so the solution cannot involve anything like it) They want to install CGAL in the correct place, whatever that is, but without

Re: [CMake] Installing FindCGAL.cmake

2008-11-14 Thread Fernando Cacciola
Hendrik Sattler wrote: Fernando Cacciola schrieb: and install the CGALConfig.cmake, only. It doesn't make sense to install both at the same time. Not really... FindCGAL.cmake basically locates and loads CGALConfig.cmake, which is better placed in the install tree since the binary folder

[CMake] Installing FindCGAL.cmake

2008-11-13 Thread Fernando Cacciola
, is there a way to create a normal user install target and a separate super user install target?? Something that would allow my users to do something like: make install sudo make root-install TIA Fernando Cacciola ___ CMake mailing list CMake@cmake.org http

Re: [CMake] link_libraries vs target_link_libraries

2008-11-12 Thread Fernando Cacciola
Hi Bill, Fernando Cacciola wrote: Ha I see... that is 2.6 specific right? There are still too many 2.4 versions shiped with Linux et al, and we don't want to ask our users to *manually* upgrade cmake when they already have one installed, so I'm keeping all compatible with at least 2.4.5

Re: [CMake] link_libraries vs target_link_libraries

2008-11-12 Thread Fernando Cacciola
Hendrik Sattler wrote: Bill Hoffman schrieb: OTOH, it could make sense to do the following: find_packge( CGAL REQUIRED components ) include( ${CGAL_USE_FILE} ) add_executable( program ... ) use_CGAL( program ) so it works now with 2.4, and eventually upgrade it to use target

Re: [CMake] link_libraries vs target_link_libraries

2008-11-12 Thread Fernando Cacciola
Hi Hendrik, But it is not backwards-compatible and will fail to link on the new version while it worked fine on the old version. Why?? Because if the ${FOO_USE_FILE} doesn't do what it always does (globally adding this stuff), you _have_ to insert the new macro call to make it compile again.

Re: [CMake] link_libraries vs target_link_libraries

2008-11-12 Thread Fernando Cacciola
Hi Colin, On Tue, 11 Nov 2008 16:13:43 -0200 Fernando Cacciola [EMAIL PROTECTED] wrote: Hi Andreas, On 11 Nov 2008 18:12:33 +0100, Andreas Pakulat wrote: In fact I don't understand why include_directories and add_definitions are not deprecated as well Which is precisely my point

Re: [CMake] link_libraries vs target_link_libraries

2008-11-12 Thread Fernando Cacciola
Hi Bill, So, I guess I will comment on this... :) :) Originally CMake was directory based. We are moving towards being target based. For directories, targets, and projects, there should be a way to set: - defines - includes - link libraries - compiler flags Hard to argue with that

Re: [CMake] IMPORTANT!! SET CACHE FORCE not wortking with UNINITIALIZED variables

2008-11-11 Thread Fernando Cacciola
Hi Bill, Eric NOULARD wrote: Le Tue, 11 Nov 2008 11:47:20 -0200, Fernando Cacciola [EMAIL PROTECTED] a écrit : Hi, Since my last post about this got unnoticed I'm reposting it, this time with additional information. Sorry, I did see your post, and I am busy... Understandable. So, you

Re: [CMake] link_libraries vs target_link_libraries

2008-11-11 Thread Fernando Cacciola
Hi Andreas, On 11.11.08 14:12:39, Fernando Cacciola wrote: Hi Andreas, On 10.11.08 12:01:13, Fernando Cacciola wrote: The CGAL library (www.cgal.org) uses cmake as build system. Thus, our users do: find_package(CGAL REQUIRED) include( ${CGAL_USE_FILE} ) ... UseCGAL.cmake, as all

[CMake] IMPORTANT!! SET CACHE FORCE not wortking with UNINITIALIZED variables

2008-11-11 Thread Fernando Cacciola
. Shall I add this to the tracker or is this behaviour on purpose?? TIA Fernando Cacciola if ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] IMPORTANT!! SET CACHE FORCE not wortking with UNINITIALIZED variables

2008-11-11 Thread Fernando Cacciola
Eric NOULARD wrote: Le Tue, 11 Nov 2008 11:47:20 -0200, Fernando Cacciola [EMAIL PROTECTED] a écrit : Hi, Since my last post about this got unnoticed I'm reposting it, this time with additional information. [...] May be CMake devel are busy :-) Fair enough. The culprint

Re: [CMake] link_libraries vs target_link_libraries

2008-11-11 Thread Fernando Cacciola
Hi Andreas, On 10.11.08 12:01:13, Fernando Cacciola wrote: The CGAL library (www.cgal.org) uses cmake as build system. Thus, our users do: find_package(CGAL REQUIRED) include( ${CGAL_USE_FILE} ) ... UseCGAL.cmake, as all such files, call include_directories, add_definitions

[CMake] BUG in SET in 2.6.2 (and probably 2.6.*)

2008-11-10 Thread Fernando Cacciola
VAR or specifies the type correctly as in: -DVAR:STRING=whatever Shall I add this to the bug tracker? Is there any workaround which doesn't require users to specify the type? TIA Fernando Cacciola ___ CMake mailing list CMake@cmake.org http

[CMake] link_libraries vs target_link_libraries

2008-11-10 Thread Fernando Cacciola
missing something? TIA Fernando Cacciola ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] BUG in TRY_COMPILE with multiple includes

2008-09-08 Thread Fernando Cacciola
Fernando Cacciola ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] BUG in TRY_COMPILE with multiple includes

2008-09-08 Thread Fernando Cacciola
Fernando Cacciola wrote: try_compile( X_COMPILE_RES ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/X.cpp CMAKE_FLAGS -DINCLUDE_DIRECTORIES:STRING=${CMAKE_SOURCE_DIR}/includeA;${CMAKE_SOURCE_DIR}/includeB OK. By looking at the source code I realize that each flag

[CMake] Why is FindOpenGL in Mac looking for OpenGL/gl.h??

2008-08-28 Thread Fernando Cacciola
Fernando Cacciola ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Why is FindOpenGL in Mac looking for OpenGL/gl.h??

2008-08-28 Thread Fernando Cacciola
OpenGL instead of GL? Keep in mind that this is a working project which builds and run correctly via the old shell-based build system.. it is my cmake port wich fails. Best Fernando Cacciola ___ CMake mailing list CMake@cmake.org http

Re: [CMake] Why is FindOpenGL in Mac looking for OpenGL/gl.h??

2008-08-28 Thread Fernando Cacciola
Fernando Cacciola wrote: Mike Jackson wrote: The header is located in a framework called OpenGL.framework and the include style for frameworks is the name of the framework (minus the extension) and then the header file, so on OS X the proper include would be: #include OpenGL/gl.h Hmmm

Re: [CMake] Why is FindOpenGL in Mac looking for OpenGL/gl.h??

2008-08-28 Thread Fernando Cacciola
this.. Is that correct for your situation? Apparently, yes. My user reported that locate gl.h shows up precisely that path. I'm not sure what does that mean though. Should FindOpenGL.cmake search for both cases and define a compile flag telling which path prefix to use? TIA Fernando Cacciola

Re: [CMake] Why is FindOpenGL in Mac looking for OpenGL/gl.h??

2008-08-28 Thread Fernando Cacciola
Mike Jackson wrote: Which version of Qt are you using? Qt 4.x is only officially supported on the native window system (Quartz/Carbon) NOT X11. Qt 3.x _may_ run under X11 on OS X so I don't know. We still use Qt 3.x as a matter of fact. If some one new to OS X just did a locate on gl.h

Re: [CMake] Externally hooking a FindXYZ module

2008-08-26 Thread Fernando Cacciola
and do not call original one. And I also don't want to do that because my system is deployed on several users each having its own version of cmake, so I don't want to hard code a particular version of FindOpenGL.cmake by distributing it unless I really don't have any other choice. Best Fernando

Re: [CMake] unset() command

2008-08-25 Thread Fernando Cacciola
. This undocumented feature is in fact the way to get variables out of subdirs: root/CMakeLists.txt add_subdirectory(sub) set(result) message( STATUS result=${result} ) root/sub/CMakeLists.txt set(result I'm a subdir result! cache internal force ) HTH Fernando Cacciola

Re: [CMake] unset() command

2008-08-25 Thread Fernando Cacciola
), but this is undocumented and extremely none-obvous, so, can we have a fetch(var) as well? Should I formally suggest that via a bug report? TIA Fernando Cacciola ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Externally hooking a FindXYZ module

2008-08-25 Thread Fernando Cacciola
} ) endif() Is there a better way?? TIA Fernando Cacciola ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] CMAKE_CXX_COMPILER and the cache

2008-07-15 Thread Fernando Cacciola
this: cmake -DCMAKE_CXX_COMPILER=${USER_CXX_COMPILER} it won't work when the intention is NOT to specify that (the usual case), unless a value of NOTFOUND or is interpreted as such. TIA Fernando Cacciola ___ CMake mailing list CMake@cmake.org http

Re: [CMake] FindBoost.cmake from 2.6

2008-07-03 Thread Fernando Cacciola
(the one we are discussing) Best -- Fernando Cacciola SciSoft http://scisoft-consulting.com http://fcacciola.50webs.com http://groups.google.com/group/cppba ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FindBoost.cmake from 2.6

2008-07-03 Thread Fernando Cacciola
Hi Andreas, On 03.07.08 12:23:11, Doug Gregor wrote: On Tue, Jul 1, 2008 at 1:24 PM, Fernando Cacciola [EMAIL PROTECTED] wrote: (7) I couldn't understand the dicotomy between the cached and non-cached versions of the include dirs: Boost_INCLUDE_DIRS vs Boost_INCLUDE_DIR What's the choice

Re: [CMake] FindBoost.cmake from 2.6

2008-07-03 Thread Fernando Cacciola
Doug Gregor wrote: On Thu, Jul 3, 2008 at 12:23 PM, Doug Gregor [EMAIL PROTECTED] wrote: Anyway, I'm working on a bunch of issues with FindBoost, and will ping the list when I think I have it right. There's a much-improved FindBoost module now in CMake CVS. Hopefully it will get merge in to

[CMake] FindBoost.cmake from 2.6

2008-07-01 Thread Fernando Cacciola
to install CMake 2.6 which is usually not just a simple apt-get/rmp call in many linuxes) Best regards -- Fernando Cacciola SciSoft http://scisoft-consulting.com http://fcacciola.50webs.com http://groups.google.com/group/cppba ___ CMake mailing list

[CMake] PGI's pgCC compiler?

2008-06-12 Thread Fernando Cacciola
Hi, It seems that pgCC is not supported even in 2.6. In that case it is just a matter of adding a pgcc.cmake file with the appropiate settings right? or would the CMake binary itself need some patch? And btw, has anybody out there such a pgcc.cmake? :) TIA -- Fernando Cacciola SciSoft

[CMake] Status of Buf #3980 in CMake 2.6?

2008-06-11 Thread Fernando Cacciola
Hi, I just got a report from a user saying that cmake doe not recognize his Sun Studio CC compiler. I found on the list archives that this has been reported mid 2006. Is the problem fixed in CMake 2.6? He is using 2.4-8 TIA -- Fernando Cacciola SciSoft http://scisoft-consulting.com http

[CMake] Hiding a variable from the GUI

2008-03-31 Thread Fernando Cacciola
-- Fernando Cacciola SciSoft http://fcacciola.50webs.com http://groups.google.com/group/cppba ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Windows CMake under cygwin

2008-03-27 Thread Fernando Cacciola
, that transformation turns /usr/local into C:/cygwin/usr/local, which I found to be needed by the windows cmake binary as it uses low-level FILE( INSTALL ) commands to do the actual installation when nmake install is executed. Best -- Fernando Cacciola SciSoft http://fcacciola.50webs.com http

Re: [CMake] Windows CMake under cygwin

2008-03-27 Thread Fernando Cacciola
Hi Bill, Fernando Cacciola wrote: Hi People, Due to some project specific constrains, I need to use cmake within cygwin but to compile using Visual C++ via nmake. Since the cygwin cmake doesn't support nmake I must use the windows cmake binary, but naturally knowing that I am running under

Re: [CMake] Lua in a nutshell

2008-03-04 Thread Fernando Cacciola
Hi Brandon, On Mon, Mar 3, 2008 at 5:11 PM, Fernando Cacciola [EMAIL PROTECTED] wrote: Brandon wrote: I am starting to wonder if the whole Lua thing is indeed a red herring, and what CMake really needs is the best possible website to document, tutorialize, and market CMake. In other

[CMake] Re: VMWare on SCons' future

2008-03-03 Thread Fernando Cacciola
on the wrong tail) Best -- Fernando Cacciola SciSoft http://fcacciola.50webs.com http://groups.google.com/group/cppba ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] CMAKE_INSTALL_PREFIX and DESTDIR

2008-02-22 Thread Fernando Cacciola
} DESTDIRLEN ) if ( ${DESTDIRLEN} GREATER 0 ) message( STATUS DESTDIR specified ($ENV{DESTDIR}). Overriding CMAKE_INSTALL_PREFIX (${CMAKE_INSTALL_PREFIX}) ) set( CMAKE_INSTALL_PREFIX CACHE PATH Use DESTDIR *instead* of CMAKE_INSTALL_PREFIX FORCE ) endif() TIA -- Fernando Cacciola SciSoft http

[CMake] IF( ${VAR} ) behaviour

2008-02-22 Thread Fernando Cacciola
?? The documentation of IF() doesn't match this behaviour AFAICS. TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com http://groups.google.com/group/cppba ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Re: Re: IF( ${VAR} ) behaviour

2008-02-22 Thread Fernando Cacciola
as argument (like the IF of any other language I ever came across), but a variable. Best -- Fernando Cacciola SciSoft http://fcacciola.50webs.com http://groups.google.com/group/cppba ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman

[CMake] Re: CMAKE_INSTALL_PREFIX and DESTDIR

2008-02-22 Thread Fernando Cacciola
Fernando Cacciola wrote: string( LENGTH $ENV{DESTDIR} DESTDIRLEN ) if ( ${DESTDIRLEN} GREATER 0 ) message( STATUS DESTDIR specified ($ENV{DESTDIR}). Overriding CMAKE_INSTALL_PREFIX (${CMAKE_INSTALL_PREFIX}) ) set( CMAKE_INSTALL_PREFIX CACHE PATH Use DESTDIR *instead* of CMAKE_INSTALL_PREFIX

[CMake] Re: IF( ${VAR} ) behaviour

2008-02-22 Thread Fernando Cacciola
Sylvain Benner wrote: Hi, You should use IF(VAR) instead. !! Of course !! I got confused because what I really tried at first, but didn't work, was this: if ( $ENV{SOME_ENV_VAR} ) so I figured I needed to load the enviroment variable into a cmake variable first, for which I added:

[CMake] Re: CMAKE_INSTALL_PREFIX and DESTDIR

2008-02-22 Thread Fernando Cacciola
Hi Mike, I don't understand. If the user wants to have a destination other than the default provided by CMake, why don't they just run ccmake/ cmakesetup and set the CMAKE_INSTALL_PREFIX to what they want? CMake generated project files/makefiles can only be used on the system they were

[CMake] Re: FindXXX, XXXConfig and UseXXX

2008-02-19 Thread Fernando Cacciola
Brandon Van Every wrote: On Feb 18, 2008 3:34 PM, Fernando Cacciola [EMAIL PROTECTED] wrote: XXXConfig.cmake should ... FindXXX.cmake shoud ... UseXXX.cmake should set include directories, libraries, compiler and linker flags, etc, based on the settings defined in a XXXConfig.cmake

[CMake] XXX_DIR

2008-02-19 Thread Fernando Cacciola
that if it is a an enviroment variable it is stored in the cache, but not if set in the command line? Can it be stored in the cache if passed in the command line? TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com http://groups.google.com/group/cppba

[CMake] Re: XXX_DIR

2008-02-19 Thread Fernando Cacciola
Hi Alexander, On Tuesday 19 February 2008, Fernando Cacciola wrote: Hi people, According to my experiments in 2.4.7, XXX_DIR seems rather special. Consider a CMakeLists.txt containing just find_package(XYZ) Run cmake . You'll see the error: CMake Error: XYZ_DIR is not set. It must be set

[CMake] FindXXX, XXXConfig and UseXXX

2008-02-18 Thread Fernando Cacciola
copy them doesn't work in Vista because of the access restrictions to ProgramFiles. Putting them in the binary folder works, but doesn't seem right (only XXXConfig.cmake should go there). Any other ideas? Best -- Fernando Cacciola SciSoft http://fcacciola.50webs.com http://groups.google.com/group

[CMake] Custom cache

2008-02-06 Thread Fernando Cacciola
, are there any tools to a handle a second custom cache? TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com http://groups.google.com/group/cppba ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Re: Re: FindQt4 in 2.4.8 bug

2008-02-01 Thread Fernando Cacciola
be a FORCE_IF_NULL option, because it makes no sense at all to keep a NOTFOUND value for an INCLUDE_DIR when the right path is available. Best -- Fernando Cacciola SciSoft http://fcacciola.50webs.com http://groups.google.com/group/cppba ___ CMake

[CMake] Re: Re: Re: FindQt4 in 2.4.8 bug

2008-02-01 Thread Fernando Cacciola
Hi Bill, behaviour. Don't break that as you can always use if (NOT DEFINED VAR) set (VAR foo CACHE .. FORCE) But: find_library(FOO_VAR foo) This will set FOO_VAR (in the cache) if it is not set or if the value has -NOTFOUND in it. I just tried it and find_path (didn't try

[CMake] Re: Re: Re: FindQt4 in 2.4.8 bug

2008-02-01 Thread Fernando Cacciola
Hi Hendrik, So you want to give NOTFOUND an even more special status than all the other negative variable values? Don't get me started on the existence of all these negative values, or on the fact that there is just a string type, or the fact that not even that is actually true as there is a

[CMake] Re: Re: Re: Re: FindQt4 in 2.4.8 bug

2008-02-01 Thread Fernando Cacciola
Bill Hoffman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Fernando Cacciola wrote: *you* as in *me* in any *new* script? Sure I can, but I found this problem in FindQt4, a standard cmake module. The -NOTFOUND value can never end up in that variable with the current FindQt4

[CMake] FindQt4 in 2.4.8 bug

2008-01-25 Thread Fernando Cacciola
in 2.4.7? ) A bug in 2.4.8 ( DOCSTRING should not be needed? ) A feature in 2.4.8 ? (is needed just now? ) TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Re: FindQt4 in 2.4.8 bug

2008-01-25 Thread Fernando Cacciola
[EMAIL PROTECTED] wrote: On Friday 25 January 2008 10:58:19 am Fernando Cacciola wrote: Hi, I've been using 2.4.7 until this morning when I saw the 2.4.8 announcement and jumped right away to install it (silly me). I have some script that finds Qt4 but stopped working on 2.4.8. Tracing

[CMake] Re: FindQt4 in 2.4.8 bug

2008-01-25 Thread Fernando Cacciola
Fernando Cacciola wrote: Hi, I've been using 2.4.7 until this morning when I saw the 2.4.8 announcement and jumped right away to install it (silly me). I have some script that finds Qt4 but stopped working on 2.4.8. Tracing the problem in FindQt4.cmake I found this... There is one (at least

[CMake] Problem with find_path

2008-01-25 Thread Fernando Cacciola
, it is the folder what is found, not the file, and as a consequence the resulting path is one level wrong. Is this a bug in find_path (in 2.4.7)? TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com ___ CMake mailing list CMake@cmake.org

[CMake] Re: MSVC turn off RelWithDebInfo and MinSizeRel

2007-12-20 Thread Fernando Cacciola
David Cole wrote: How about this in the CMakeLists.txt file instead? (Force it into the cache rather than using a simple set.) SET(CMAKE_CONFIGURATION_TYPES Debug;Release CACHE STRING limited configs FORCE) The generator rejects it. -- Fernando Cacciola SciSoft http://fcacciola

[CMake] Getting configuration information

2007-12-20 Thread Fernando Cacciola
.. and possibly others What the best way to extract that for the current generator (other than hard coding it)? P.S: Yes, this is directly related to boost-style autolinking in case you wonder (but for a different project which just borrows that from boost) TIA -- Fernando Cacciola SciSoft http

[CMake] Re: Re: MSVC turn off RelWithDebInfo and MinSizeRel

2007-12-20 Thread Fernando Cacciola
you run it again, you get the same error (the generator still gets the old cached value instead of the new one) you need to run it again to get it right. -- Fernando Cacciola SciSoft http://fcacciola.50webs.com ___ CMake mailing list CMake

[CMake] single source cross-compilation

2007-12-19 Thread Fernando Cacciola
Is it possible to support different compilers and options from the same source tree? If so, how? TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Re: single source cross-compilation

2007-12-19 Thread Fernando Cacciola
Alexander Neundorf wrote: On Wednesday 19 December 2007, Alberto Luaces wrote: El Wednesday 19 December 2007 15:36:49 Fernando Cacciola escribió: Is it possible to support different compilers and options from the same source tree? If so, how? This behaviour is present by default, I think

[CMake] Re: Controling OutputDirectory in the vcprojs

2007-12-13 Thread Fernando Cacciola
POST_BUILD COMMAND copy $(TargetPath) $(ProjectDir) ) Best -- Fernando Cacciola SciSoft http://fcacciola.50webs.com ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Controling OutputDirectory in the vcprojs

2007-12-12 Thread Fernando Cacciola
in the end even for in-source builds) TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Mangled library names

2007-12-10 Thread Fernando Cacciola
What's the best way to produce mangled library names (encoding in the target name some configuration properties)? Examples of mangled library names are here, in Boost: http://www.boost.org/more/getting_started/windows.html#library-naming TIA -- Fernando Cacciola SciSoft http://fcacciola

[CMake] Multiple configurations in a single target?

2007-12-10 Thread Fernando Cacciola
Hi A single VS .vcproj file can have both debug and release configurations. How can I produce that sort of project file with CMake? Would calling CMake twice, setting CMAKE_BUILD_TYPE differently each time, do the magic? TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com

[CMake] Re: Multiple configurations in a single target?

2007-12-10 Thread Fernando Cacciola
produce only one configuration depending on that. Well, the real question now then: to have each configuration has its own properties, like target name, definitions and dependecies, I just need to switch on CMAKE_BUILD_TYPE? TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com

[CMake] Re: Re: Re: Re: Hyperlinked indexed reference?

2007-10-22 Thread Fernando Cacciola
Bill Hoffman wrote: Ken just checked in his changes, so if you create a patch, use CVS CMake. Cool. Is there a dev-list (here?) or at least someone I can forward the diff to look at before I commit? I don't think you can commit. Just create a patch and send it to me. OK. Best Fernando

[CMake] Re: Re: Re: Re: Hyperlinked indexed reference?

2007-10-22 Thread Fernando Cacciola
-Name.c_str()); - os /code/b: ; + os /code/b/a: ; } this-PrintHTMLEscapes(os, op-Brief.c_str()); if(op-Full.size()) I compiled and tested it locally and it works AFAICT. Best -- Fernando Cacciola SciSoft http://fcacciola.50webs.com

[CMake] Hyperlinked indexed reference?

2007-10-19 Thread Fernando Cacciola
Is there any hyperlinked (and preferably indexed) command reference? TIA Fernando Cacciola ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake