[cmake-developers] How to fix a commit to next?

2010-08-30 Thread Miguel A. Figueroa-Villanueva
Hello. I recently made a commit to update the FindwxWidgets module (6bbf2a0e8e983b193e48ad1b227c46cf6ea9a85b) However, after merging to next and pushing to cmake.git, I realized that I had missed a few things. In this case I checked out the commit were I left off, applied the changes, and

Re: [CMake] Cmake with wxWidgets ribbons

2010-08-30 Thread Miguel A. Figueroa-Villanueva
On Mon, Aug 30, 2010 at 9:46 AM, Eric Noulard wrote: 2010/8/30 assume_R: Hello.  First post to the mailing list.  Just thought I'd share a bug I found and fixed. The new version of wxWidgets (= 2.9) contains a ribbons library, which emulates the ribbon UI of MS Office and newer Windows 7

[Cmake-commits] CMake branch, next, updated. v2.8.2-592-g846c1ec

2010-08-29 Thread Miguel A . Figueroa-Villanueva
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=846c1ecad32f96dd76dd3eafc6946b4ce3137624 commit 846c1ecad32f96dd76dd3eafc6946b4ce3137624 Merge: e6381e8 6bbf2a0 Author: Miguel A. Figueroa-Villanueva migu...@ieee.org

Re: [CMake] CMake 2.8.0 RC 3 ready for testing!

2009-10-24 Thread Miguel A. Figueroa-Villanueva
On Fri, Oct 9, 2009 at 9:13 PM, Bill Hoffman wrote: CMake 2.8.0 RC 3 is now ready for people to try. You can find the source and binaries here: http://www.cmake.org/files/v2.8/. I just downloaded the CMake 2.8rc3 and had a problem with ctest. For some reason when I run make test it can't find

Re: [CMake] Eclipse CDT 5.x and cmake 2.6.x

2009-08-04 Thread Miguel A. Figueroa-Villanueva
On Mon, Aug 3, 2009 at 2:30 AM, Dim wrote: Hi group! I'm using cmake 2.6.x. I understand that it supports Eclipse CDT 4.x. Does it implicitly supports CDT 5.x or CDT 6.x? Thanks Dima When I worked in the CDT generator I wasn't (and still am not) familiar with the release cycle or the

Re: [CMake] Eclipse generator - basic macros

2009-07-14 Thread Miguel A. Figueroa-Villanueva
On Tue, Jul 14, 2009 at 11:40 AM, Benjamin Schindler wrote: Miguel A. Figueroa-Villanueva wrote: On Mon, Jul 13, 2009 at 10:31 AM, Benjamin Schindler wrote: I'm working on a project which builds both on linux and windows. I generated an eclipse project out of it which works basically fine

Re: [CMake] Eclipse generator - basic macros

2009-07-14 Thread Miguel A. Figueroa-Villanueva
On Tue, Jul 14, 2009 at 2:39 PM, Michael Jackson wrote: Using the form I sent earlier I do not have any of these problems. All my source files are parsed and indexed correctly. Am I missing something or doing something wrong? Mike Jackson Hello Mike, Well, I see it as a viable workaround,

Re: [CMake] Eclipse generator - basic macros

2009-07-14 Thread Miguel A. Figueroa-Villanueva
On Tue, Jul 14, 2009 at 3:26 PM, Mike Jackson wrote: On Tue, Jul 14, 2009 at 3:18 PM, Michael Jackson wrote: On Jul 14, 2009, at 3:10 PM, Miguel A. Figueroa-Villanueva wrote: Well, I see it as a viable workaround, but only if you use eclipse only with gcc. In the case where you might use

Re: [CMake] Eclipse generator - basic macros

2009-07-14 Thread Miguel A. Figueroa-Villanueva
On Tue, Jul 14, 2009 at 6:55 PM, Benjamin Schindler wrote: Hi That workaround works - I've done it when I sent the initial mail. But I can imagine various situation when this can become an issue as well (like when writing compiler or platform specific code), so I posted it here anyway to

Re: [CMake] Eclipse generator - basic macros

2009-07-14 Thread Miguel A. Figueroa-Villanueva
On Tue, Jul 14, 2009 at 7:46 PM, Benjamin Schindler wrote: Miguel A. Figueroa-Villanueva wrote: Just to be clear... If you have compiler dependent code: #if defined(_MSC_VER) ... #elif defined(__GNUC__) ... #else ... #endif Then you could do something like the following

Re: [CMake] project() and SLN files

2009-07-03 Thread Miguel A. Figueroa-Villanueva
On Fri, Jul 3, 2009 at 4:33 PM, Robert Dailey wrote: On Fri, Jul 3, 2009 at 3:31 PM, Robert Dailey wrote: On Fri, Jul 3, 2009 at 2:54 PM, James Bigler wrote: On Wed, Jul 1, 2009 at 4:34 PM, Robert Dailey wrote: [...] Interesting, this seems to work: project( foo ) add_library( foo1 STATIC

Re: [CMake] FindxxWidgets.cmake: wrong wxWidgets_INCLUDE_DIRS on UNIX

2009-07-01 Thread Miguel A. Figueroa-Villanueva
On Wed, Jul 1, 2009 at 2:02 PM, Tyler Roscoe wrote: On Wed, Jul 01, 2009 at 07:23:27PM +0200, Florent Teichteil wrote: // BEGINNING OF CMakeLists.txt set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}) find_package(wxWidgets COMPONENTS base core REQUIRED)

Re: [CMake] a bug in FindwxWidgets.cmake, linked with too many libraries by default under win32 platform

2009-06-17 Thread Miguel A. Figueroa-Villanueva
On Mon, Jun 15, 2009 at 10:42 PM, chen bin wrote: If I link my program with my own jpeg-6b and wxwidgets lib(use FindwxWidgets.cmake) under win32, the conflict of jpeg lib happens. It is because the line SET(wxWidgets_COMMON_LIBRARIES png tiff jpeg zlib regex expat) in FindwxWidgets.cmake I

Re: [CMake] Eclipse CDT link location

2009-05-21 Thread Miguel A. Figueroa-Villanueva
On Tue, May 19, 2009 at 2:54 PM, Javier Sanz wrote: [...] linkedResources     link     nameMYPROJECT/name     type2/type location/home/jsanz/repositories/cprojects_trunk/images/myproject/build/location     /link The location

Re: [CMake] Bug with wxWidgets_CXX_FLAGS

2009-05-21 Thread Miguel A. Figueroa-Villanueva
On Thu, May 21, 2009 at 6:04 PM, Andrew Sayman wrote: I came across a problem when porting to another Unix platform today with wxWidgets_CXX_FLAGS. There's a bug in how it parses and removes definitions from wx-config's cxxflags output. I suspect this class of bug applies to all pkg-config

Re: [CMake] eclipse generator and code completion

2009-05-04 Thread Miguel A. Figueroa-Villanueva
On Mon, May 4, 2009 at 12:03 PM, Antoine DUCHAMPS: Le lundi 04 mai 2009 à 08:24 -0400, Miguel A. Figueroa-Villanueva: [...] Which version of eclipse CDT do you have? Perhaps I should update eclipse, but I'm using the default version in debian 5.0 ... I have tested with CDT4.0 and CDT5.0

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Miguel A. Figueroa-Villanueva
On Mon, May 4, 2009 at 2:46 PM, Eric Noulard wrote: 2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org: On Mon, May 4, 2009 at 4:36 AM, Eric Noulard wrote: 2009/5/4 Antoine DUCHAMPS: [...] However, the code completion does not work. My application is linked to an external library (ITK

Re: [CMake] How to configure project to use wxWidgets stc module

2009-05-01 Thread Miguel A. Figueroa-Villanueva
On Wed, Apr 29, 2009 at 7:14 PM, Trent Lillehaugen wrote: I have a project that uses wxWidgets and in particular the stc module (in the contrib folder).  How do I specify the stc module for wxWidgets?  I tried the following the line in my CMakeLists.txt: find_package(wxWidgets REQUIRED stc

Re: [CMake] eclipse generator and sibling folders

2009-04-30 Thread Miguel A. Figueroa-Villanueva
On Thu, Apr 30, 2009 at 7:54 AM, Antoine DUCHAMPS wrote: [...] sugest to create source and build folders as siblings. From this I understand that I have to folders like /home/user/project-src /home/user/project-bin So, how can be the source inside the project? I assume that I have to call

Re: [CMake] cmakelists.txt for GraphicsMagick or ImageMagick

2009-04-24 Thread Miguel A. Figueroa-Villanueva
On Fri, Apr 24, 2009 at 6:14 AM, Boudewijn Rempt wrote: Has anyone by any chance already done a CMakeLists.txt file for GraphicsMagick or ImageMagick? I'd like to integrate either in the build of our application, instead of relying on installed packages, but I'd hate to do duplicate work...

Re: [CMake] Question regarding out-of-tree builds and Eclipse CDT4 project generation

2009-04-21 Thread Miguel A. Figueroa-Villanueva
On Mon, Apr 20, 2009 at 6:18 PM, Allen Gooch wrote: I am trying to get an out-of-tree build Eclipse CDT4 project setup in a Linux host environment using CMake-2.7 prerelease built from CVS a couple of weeks ago.  Following the instructions at http://www.vtk.org/Wiki/Eclipse_CDT4_Generator I do

[CMake] Blender list debating about build systems

2009-04-13 Thread Miguel A. Figueroa-Villanueva
Hello, I thought someone here might be interested in this discussion in the Blender developer mailing list: http://lists.blender.org/pipermail/bf-committers/2009-April/023084.html It's titled Removing Build Systems and they are discussing whether it would be appropriate to drop a couple of

Re: [CMake] Problem with FindwxWidgets.cmake

2009-01-27 Thread Miguel A. Figueroa-Villanueva
On Mon, Jan 26, 2009 at 8:49 PM, Robert Dailey wrote: Hi, I'm currently using CMake 2.6.2 and the FindwxWidgets.cmake module that comes pre-packaged with the installation doesn't seem to properly work on windows. I set CMAKE_PREFIX_PATH so that it would be able to find the wxWidgets in a

Re: [CMake] Behavior of include_directories()

2009-01-17 Thread Miguel A. Figueroa-Villanueva
On Sat, Jan 17, 2009 at 12:22 PM, Robert Dailey wrote: On Fri, Jan 16, 2009 at 5:51 PM, Robert Dailey wrote: I'm reading the documentation about include directories (located here) and I do not see any mention of include directories being specific to the target or more of a global thing.

Re: [CMake] Confusion on how find_package works.

2009-01-15 Thread Miguel A. Figueroa-Villanueva
On Wed, Jan 14, 2009 at 11:51 PM, Robert Dailey wrote: On Wed, Jan 14, 2009 at 4:20 PM, Miguel A. Figueroa-Villanueva wrote: On Wed, Jan 14, 2009 at 5:54 PM, Andreas Pakulat wrote: On 14.01.09 15:45:53, Robert Dailey wrote: On Wed, Jan 14, 2009 at 1:20 PM, Andreas Pakulat wrote: If you

Re: [CMake] Confusion on how find_package works.

2009-01-15 Thread Miguel A. Figueroa-Villanueva
On Thu, Jan 15, 2009 at 12:15 AM, Philip Lowman wrote: On Wed, Jan 14, 2009 at 10:54 PM, Robert Dailey wrote: snip It's not the only one. There are many modules that lack _LIBRARIES. Somebody needs to fix them all but there is some confusion over how _LIBRARIES works that needs explaining

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Miguel A. Figueroa-Villanueva
On Wed, Jan 14, 2009 at 5:54 PM, Andreas Pakulat wrote: On 14.01.09 15:45:53, Robert Dailey wrote: On Wed, Jan 14, 2009 at 1:20 PM, Andreas Pakulat wrote: If you look at the cmake docs, then you'll find out that nothing in there states that wildcards are allowed. Hence I'd assume that

[CMake] No Warning when QtDialog isn't installed on Windows

2009-01-13 Thread Miguel A. Figueroa-Villanueva
Hello, The following excerpt is taken from Source/QtDialog/CMakeLists.txt: # if qt is not static and we are on windows then skip the install # I don't want to distribute qt dlls IF(CMAKE_PACKAGE_QTGUI) INSTALL(TARGETS cmake-gui RUNTIME DESTINATION bin

Re: [CMake] Proper way to write a FIND_PACKAGE

2009-01-07 Thread Miguel A. Figueroa-Villanueva
On Tue, Jan 6, 2009 at 8:39 AM, George Neill wrote: All, Is this the recommended recipe to write FIND_PACKAGE() cmake scripts? http://vtk.org/Wiki/CMake:How_To_Find_Libraries#Writing_find_modules Well, it seems like good documentation, but make sure to follow the instructions in:

[CMake] PATCH: Eclipse CDT4 Generator (bugs 8205 and 8212)

2008-12-30 Thread Miguel A. Figueroa-Villanueva
Hello, I have generated a patch that will EscapeForXML the corresponding entities in the Eclipse CDT4 generator. Basically, it provides a function that will replace the ,,\, values in a string for the corresponding escape values. Note that the apostrophe (i.e., single quote) is not escaped since

[CMake] PATCH: Eclipse CDT4 Generator

2008-12-24 Thread Miguel A. Figueroa-Villanueva
Hello, I have a patch for correctly handling the executable_ouput_path/CMAKE_RUNTIME_OUTPUT_DIRECTORY variables as well as the library_output_path in the Eclipse CDT4 Generator. Could someone inspect and apply this patch? I also have a patch for the following bug for your consideration:

Re: [CMake] Tests on FindwxWidgets.cmake (Win32) with patch

2008-12-13 Thread Miguel A. Figueroa-Villanueva
On Sat, Dec 13, 2008 at 5:47 PM, Werner Smekal wrote: Hi Miguel and list, there are two bugs on Win32 (MinGW/CLI and Visual C++) in FindwxWidgets.cmake which should if possible fixed for cmake 2.6.3: 1) For Unicode builds of wxWidgets (MinGW, Visual C++) linking will fail 2) For Debug build

Re: [CMake] my FindDevIL.cmake module

2008-11-10 Thread Miguel A. Figueroa-Villanueva
On Mon, Nov 10, 2008 at 8:51 AM, Bill Hoffman wrote: Miguel A. Figueroa-Villanueva wrote: Thanks for the valuable input. I've slimmed down my file a bit and used the find_package_handle_standard_arg macro. It's attached to this message. Again feel free to include it in cmake or give more

Re: [CMake] What does `cross-platform' mean?

2008-11-10 Thread Miguel A. Figueroa-Villanueva
On Mon, Nov 10, 2008 at 10:09 AM, Bill Hoffman wrote: Jed Brown wrote: Thanks Bill. I'm very encouraged by the response this thread has generated and optimistic that the Find* modules will become more robust without undue effort by module writers. Well, it is not going to happen over night,

Re: [CMake] my FindDevIL.cmake module

2008-11-10 Thread Miguel A. Figueroa-Villanueva
On Fri, Nov 7, 2008 at 2:12 PM, Christopher Harvey wrote: Alexander Neundorf wrote: On Friday 07 November 2008, Christopher Harvey wrote: Hi list, I wrote this library finding module. If it's good enough for cmake please include it. If not let me know what's wrong with it so I can fix it

Re: [CMake] Eclipse CDT and CMake

2008-11-07 Thread Miguel A. Figueroa-Villanueva
On Fri, Nov 7, 2008 at 4:11 PM, Neal Meyer wrote: On Friday 07 November 2008, Neal Meyer wrote: I've tried the existing generator in cmake on the Mac on my existing project but it generated a crazy MakeFile project that builds, but is really unorganized and doesn't really help any. I tried

Re: [CMake] Eclipse CDT and CMake

2008-11-07 Thread Miguel A. Figueroa-Villanueva
On Fri, Nov 7, 2008 at 6:34 PM, Neal Meyer wrote: On Fri, Nov 7, 2008 at 12:31 PM, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED] wrote: On Fri, Nov 7, 2008 at 4:11 PM, Neal Meyer wrote: On Friday 07 November 2008, Neal Meyer wrote: I've tried the existing generator in cmake on the Mac

Re: [CMake] cmake and wxwidgets on windows

2008-11-04 Thread Miguel A. Figueroa-Villanueva
On Tue, Nov 4, 2008 at 4:44 AM, Werner Smekal wrote: Hi John, setting the option add_definitions(-D_UNICODE) in my CMakeLists.txt I can compile the minimals sample. executing the minimal.exe I got an error message that the wxbase28u_gcc_custom.dll was not found. after adding the directory

Re: [CMake] cmake and wxwidgets on windows

2008-11-04 Thread Miguel A. Figueroa-Villanueva
On Tue, Nov 4, 2008 at 12:32 PM, Werner Smekal wrote: Hi Miguel, Thanks Werner. However, I'm not sure what the correct solution is... I googled a bit and can't find any documentation indicating that _UNICODE needs to be defined. From the following link:

Re: [CMake] cmake and wxwidgets on windows

2008-10-31 Thread Miguel A. Figueroa-Villanueva
On Fri, Oct 31, 2008 at 4:17 AM, Werner Smekal wrote: Hi John, hi Miguel, seems that I resolved the problem with CMake not finding wxWidgets. There must have been a problem while building wxWidgets on my machine. As I installed wxPack now, CMake finds wxWidgets. A 400mb download is just

Re: [CMake] cmake and wxwidgets on windows

2008-10-30 Thread Miguel A. Figueroa-Villanueva
On Wed, Oct 29, 2008 at 1:08 PM, John [EMAIL PROTECTED] wrote: hi, I'm trying to compile my code on windows with cmake. I use wxwidgets 2.8.9. which works on linux without any problem. However on windows cmake does not find the wxwidgets packages. What can be wrong? I set the environment

Re: [CMake] cmake and wxwidgets on windows

2008-10-30 Thread Miguel A. Figueroa-Villanueva
On Thu, Oct 30, 2008 at 4:59 PM, John wrote: Hi Werner I uncommented the lines you mentioned, which gives me the output posted below. I use mingw. Maybe you see what the problem is. I'll have a look at FindwxWidgets.cmake and try to resolve the problem. From the output, I presume that you

Re: [CMake] wxWidgets: 2.8.9

2008-10-03 Thread Miguel A. Figueroa-Villanueva
] Is it possible to add wxWidgets 2.8.9 to the list? It has been released as stable. Thanks, Steven -- Miguel A. Figueroa Villanueva +1 787 832-4040 x.3205 Department of Electrical and Computer Engineering University of Puerto Rico - Mayagüez Campus ___ CMake

Re: [CMake] FindwxWidgets doesn't work (properly)

2008-08-06 Thread Miguel A. Figueroa-Villanueva
-- Miguel A. Figueroa Villanueva +1 787 832-4040 x.3205 Department of Electrical and Computer Engineering University of Puerto Rico - Mayagüez Campus ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FindwxWidgets doesn't work (properly)

2008-08-06 Thread Miguel A. Figueroa-Villanueva
ok, thanks for the report... I'll check in a solution later. --Miguel On Wed, Aug 6, 2008 at 3:55 PM, Steven Van Ingelgem [EMAIL PROTECTED] wrote: Yeah, I did that and that worked ;-) 2008/8/6 Miguel A. Figueroa-Villanueva [EMAIL PROTECTED] Change the line to the following and let me know

Re: [CMake] FindImageMagick Updated in CVS

2008-07-29 Thread Miguel A. Figueroa-Villanueva
On Tue, Jul 29, 2008 at 5:51 AM, Philip Lowman wrote: On Wed, Jul 23, 2008 at 3:06 AM, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED] wrote: On Sat, Jul 19, 2008 at 12:29 AM, Philip Lowman wrote: On Sat, Jul 19, 2008 at 1:18 AM, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED] wrote

Re: [CMake] Finding MinGW compiler libraries?

2008-07-27 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 26, 2008 at 9:58 PM, Bill Hoffman wrote: Bob Paddock wrote: On Saturday 26 July 2008 03:28:59 pm Miguel A. Figueroa-Villanueva wrote: My project needs to link against C:\MinGW\lib\libuuid.a, amoung others, but it is not being found. I tried this: find_library( MinGW_Libraries

Re: [CMake] Finding MinGW compiler libraries?

2008-07-27 Thread Miguel A. Figueroa-Villanueva
On Sun, Jul 27, 2008 at 8:28 AM, Bob Paddock wrote: Something like this: if(MINGW) target_link_libraries(foo uuid ole32 shell32) endif(MINGW) Bob, If the above worked, if( MINGW ) TARGET_LINK_LIBRARIES( part_description_aggregator ${wxWidgets_LIBRARIES} TinyXPath uuid ole32

Re: [CMake] Finding MinGW compiler libraries?

2008-07-27 Thread Miguel A. Figueroa-Villanueva
On Sun, Jul 27, 2008 at 11:58 AM, Bob Paddock wrote: Make sure you build the no debug version of wxWidgets I built all four versions. debug/release unicode/ansi. Fatal Error: Mismatch between the program and library build versions detected. The library used 2.8 (debug,ANSI,compiler with

Re: [CMake] Finding MinGW compiler libraries?

2008-07-26 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 26, 2008 at 11:28 AM, Bob Paddock wrote: What is the correct way to find MinGW compiler libraries, when not using MSYS? My project needs to link against C:\MinGW\lib\libuuid.a, amoung others, but it is not being found. I tried this: find_library( MinGW_Libraries uuid )

[CMake] FindImageMagick Updated in CVS

2008-07-23 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 19, 2008 at 12:29 AM, Philip Lowman wrote: On Sat, Jul 19, 2008 at 1:18 AM, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 11:06 PM, Philip Lowman wrote: I'd like to seek approval to have the following CMake find modules added to CMake. Both

Re: [CMake] [New Module] FindCxxTest FindMagick

2008-07-18 Thread Miguel A. Figueroa-Villanueva
On Fri, Jul 18, 2008 at 11:06 PM, Philip Lowman wrote: I'd like to seek approval to have the following CMake find modules added to CMake. Both are to work with popular pieces of software and I happily volunteer myself to maintain the modules. Magick (ImageMagick libraries)

Re: [CMake] Fwd: Re: Survey: Are you using the Eclipse CDT Generator?

2008-07-16 Thread Miguel A. Figueroa-Villanueva
On Wed, Jul 16, 2008 at 9:48 AM, Mehdi Rabah wrote: On Wed, Jul 16, 2008 at 11:52 AM, Mike Arthur wrote: On Tuesday 15 July 2008 02:52:44 Miguel A. Figueroa-Villanueva wrote: This is just a simple survey to get an idea if there are many people successfully using the Eclipse CDT generator

[CMake] Survey: Are you using the Eclipse CDT Generator?

2008-07-14 Thread Miguel A. Figueroa-Villanueva
Hello, This is just a simple survey to get an idea if there are many people successfully using the Eclipse CDT generator that has been out there for a while. Not many bugs appear to be surfacing, so either it's in pretty good shape or nobody is using it... ;) Please, reply directly to me to.

Re: [CMake] Patch: Add NO_CACHE option to find_xxx commands

2008-07-07 Thread Miguel A. Figueroa-Villanueva
On Mon, Jul 7, 2008 at 2:39 AM, Timenkov Yuri wrote: On Monday 07 July 2008 10:26:49 Miguel A. Figueroa-Villanueva wrote: Hello, I would like to propose the addition of a NO_CACHE keyword to the find_xxx commands that would treat VAR as a non-cached variable. I have posted this as a feature

Re: [CMake] Patch: Add NO_CACHE option to find_xxx commands

2008-07-07 Thread Miguel A. Figueroa-Villanueva
On Mon, Jul 7, 2008 at 2:04 AM, Enrico Scholz wrote: Miguel A. Figueroa-Villanueva writes: I would like to propose the addition of a NO_CACHE keyword to the find_xxx commands that would treat VAR as a non-cached variable. Better wolution would be the equivalent of autoconf's './config.status

Re: [CMake] Patch: Add NO_CACHE option to find_xxx commands

2008-07-07 Thread Miguel A. Figueroa-Villanueva
On Mon, Jul 7, 2008 at 8:41 AM, Bill Hoffman wrote: Miguel A. Figueroa-Villanueva wrote: On Mon, Jul 7, 2008 at 2:04 AM, Enrico Scholz wrote: Miguel A. Figueroa-Villanueva writes: I would like to propose the addition of a NO_CACHE keyword to the find_xxx commands that would treat VAR

Re: [CMake] Patch: Add NO_CACHE option to find_xxx commands

2008-07-07 Thread Miguel A. Figueroa-Villanueva
On Mon, Jul 7, 2008 at 1:04 PM, Enrico Scholz wrote: Miguel A. Figueroa-Villanueva writes: I would like to propose the addition of a NO_CACHE keyword to the find_xxx commands that would treat VAR as a non-cached variable. Better wolution would be the equivalent of autoconf's './config.status

Re: [CMake] Patch: Add NO_CACHE option to find_xxx commands

2008-07-07 Thread Miguel A. Figueroa-Villanueva
On Mon, Jul 7, 2008 at 6:25 PM, Alexander Neundorf wrote: On Monday 07 July 2008, Timenkov Yuri wrote: On Monday 07 July 2008 10:26:49 Miguel A. Figueroa-Villanueva wrote: Hello, I would like to propose the addition of a NO_CACHE keyword to the find_xxx commands that would treat VAR

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-06 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 5, 2008 at 9:17 PM, Bob Paddock wrote: Ok, the problem is that you are finding wxWidgets Unix Style... I started with a CMakeLists.txt file from Linux, where it works fine. Is that bad? I'm trying to build with Mingw32-gcc. This part of what I have: # Find package for

Re: [CMake] find_package REQUIRED

2008-07-05 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 5, 2008 at 6:17 AM, Alexander Bubnov wrote: Hello, Miguel! Many thanks for clarification. No problem; glad to help. And thank you very much for you job and cmake product. Well, I contribute a few very small pieces to cmake, but I'm not part of the Kitware folks who are

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-05 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 5, 2008 at 6:58 PM, Bob Paddock wrote: The FindwxWidgets module just finds the already built wxWidgets libs to use in your app. That said, I need to add the wxWidgets-2.8.8 prefix to the search locations. I don't use the installer, Normally I don't either. I only did it because

Re: [CMake] find_package REQUIRED

2008-07-04 Thread Miguel A. Figueroa-Villanueva
On Fri, Jul 4, 2008 at 10:17 AM, Alexander Bubnov wrote: Hello! I am exploring cmake features. Now I have stopped at find_package, REQUIRED parameter. As I can see from manual: The REQUIRED option stops processing with an error message if the package cannot be found. (cmake 2.6-patch

[CMake] CMake 2.7 continues to display EXECUTABLE_OUTPUT_PATH / LIBRARY_OUTPUT_PATH

2008-07-02 Thread Miguel A. Figueroa-Villanueva
Hello, Since EXECUTABLE_OUTPUT_PATH / LIBRARY_OUTPUT_PATH have been replaced with the CMAKE_RUNTIME_OUTPUT_DIRECTORY / CMAKE_LIBRARY_OUTPUT_DIRECTORY they shouldn't appear in the GUI (CMakeSetup, QtDialog). That gives the impression that they are not deprecated as suggested by the documentation.

[CMake] Problem with Boost-CMake Install Rule

2008-06-30 Thread Miguel A. Figueroa-Villanueva
Hello, The following snippet from the Boost-CMake build CMakeLists.txt file is not working for me. Particularly, the REGEX .svn is causing the rule to create the ${BOOST_HEADER_DIR}, but doesn't copy all the files and subdirectories. It doesn't report any errors, it is just excluding everything I

Re: [CMake] [Boost-cmake] Problem with Boost-CMake Install Rule

2008-06-30 Thread Miguel A. Figueroa-Villanueva
On Mon, Jun 30, 2008 at 7:04 PM, troy d. straszheim wrote: Miguel A. Figueroa-Villanueva wrote: Hello, The following snippet from the Boost-CMake build CMakeLists.txt file is not working for me. Particularly, the REGEX .svn is causing the rule to create the ${BOOST_HEADER_DIR}, but doesn't

[CMake] CTest doesn't pick up values from DartConfig.cmake

2008-06-26 Thread Miguel A. Figueroa-Villanueva
Hello, I'm not sure if I should direct this to the vxl mailing list, but I think this is a ctest issue... I have a CTest Script that I'm using to build and submit to the vxl dashboard. It can be viewed at: http://www.cdash.org/CDash/viewNotes.php?buildid=109301 The problem is that the vxl

Re: [CMake] GCC version variable

2008-06-19 Thread Miguel A. Figueroa-Villanueva
On Thu, Jun 19, 2008 at 5:28 AM, Martin Apel wrote: Mike Jackson wrote: This is taken from a FindBoost.cmake file I had laying around. Adjust for your needs: EXEC_PROGRAM(${CMAKE_CXX_COMPILER} ARGS --version OUTPUT_VARIABLE

Re: [CMake] eclipse nmake include folders

2008-06-18 Thread Miguel A. Figueroa-Villanueva
On Wed, Jun 18, 2008 at 8:10 AM, Mehdi Rabah wrote: On Wed, Jun 18, 2008 at 10:43 AM, Christian Ehrlicher wrote: Von: Mehdi Rabah On Tue, Jun 17, 2008 at 9:24 PM, Christian Ehrlicher wrote: Bill Hoffman schrieb: Alexander Neundorf wrote: On Tuesday 17 June 2008, Christian

Re: [CMake] FindwxWidgets update (for MinGW)

2008-06-17 Thread Miguel A. Figueroa-Villanueva
On Tue, Jun 17, 2008 at 3:16 AM, Werner Smekal wrote: This makes Windows (non-cygwin) and MinGW choose the windows style search and Unix (including cygwin and apple osx) to choose the unix style search (based on wx-config). MSYS will choose the windows style search also. Now, wxWidgets and

Re: [CMake] eclipse nmake include folders

2008-06-17 Thread Miguel A. Figueroa-Villanueva
On Tue, Jun 17, 2008 at 10:18 AM, Mehdi Rabah wrote: Hi CMake folks, As always, I'm very impressed with the work you've done since the last version. I got my project working in Eclipse with the microsoft compiler in no time. About the Eclipse NMake generator : I suppose cmake have some

[CMake] FindwxWidgets update (for MinGW)

2008-06-16 Thread Miguel A. Figueroa-Villanueva
)? If it can go either way, then I will add a mechanism with a default choice, but which can be overridden by the user. Thanks, --Miguel -- Miguel A. Figueroa Villanueva +1 787 832-4040 x.3610-4006 Department of Electrical and Computer Engineering University of Puerto Rico - Mayagüez Campus

[CMake] When are these set: APPLE, etc *AND* documentation ERROR

2008-06-14 Thread Miguel A. Figueroa-Villanueva
Hello, I'm reviewing a few CMake variables used to determine the platform we are in. I'm looking at the cmake --help-variable output and at the wiki (http://www.cmake.org/Wiki/CMake_Useful_Variables). I found a discrepancy, which should be fixed. In the help output for APPLE it returns: True if

Re: [CMake] When are these set: APPLE, etc *AND* documentation ERROR

2008-06-14 Thread Miguel A. Figueroa-Villanueva
Hello Alex, On Sat, Jun 14, 2008 at 1:49 PM, Alexander Neundorf wrote: On Saturday 14 June 2008, Miguel A. Figueroa-Villanueva wrote: I'm reviewing a few CMake variables used to determine the platform we are in. I'm looking at the cmake --help-variable output and at the wiki (http

Re: [CMake] cmake 2.6.0 - eclipse CDT - lib project

2008-06-09 Thread Miguel A. Figueroa-Villanueva
On Fri, Jun 6, 2008 at 6:14 PM, Olivier Tournaire wrote: Hi all, I am currently tring to import a cmake generated project in eclipse. This project is a lib, and eclipse does not seem to be able to load it. Everything works fine when importing an executable project (FileImportGeneralExisting

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-25 Thread Miguel A. Figueroa-Villanueva
On Sat, May 24, 2008 at 10:52 AM, Bill Hoffman wrote: Bill Hoffman wrote: Mathieu Malaterre wrote: Hum... I tried again today and I cannot reproduce it. So to properly find wxWidgets on my machine I need to get rid of all entries in the PATH_SUFFIXES section. I would love to get rid it of

Re: [CMake] FindwxWidgets.cmake Debug flag missing

2008-05-10 Thread Miguel A. Figueroa-Villanueva
On Fri, May 9, 2008 at 11:03 AM, Werner Smekal wrote: Hi, I'm using cmake (2.4.8) with the MinGW toolkit (on Windows CLI, not msys) and use the FindwxWidgets.cmake module in order to find my wxMSW 2.8.7 build. If I tell FindwxWidgets.cmake to use the debug configuration of wxMSW

Re: [CMake] CMake 2.4 (8) WxWidgets + RichText Pt 2

2008-04-25 Thread Miguel A. Figueroa-Villanueva
On Fri, Apr 25, 2008 at 5:11 AM, Werner Smekal wrote: Hi Miguel, The use of the windows or unix way is based solely on the following: IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN32) IF(MINGW) SET(WIN32_STYLE_FIND 0) SET(UNIX_STYLE_FIND 1) ENDIF(MINGW) IF(UNIX)

Re: [CMake] Some minor issues for 2.6.0-RC-8

2008-04-24 Thread Miguel A. Figueroa-Villanueva
On Wed, Apr 23, 2008 at 12:29 PM, Alan W. Irwin wrote: On 2008-04-23 09:28-0400 Miguel A. Figueroa-Villanueva wrote: Actually, the Module should be fixed instead to do the documented thing. Like pkg-config, the wx-config output should be properly post-processed. HS I guess

Re: [CMake] Some minor issues for 2.6.0-RC-8

2008-04-22 Thread Miguel A. Figueroa-Villanueva
On Fri, Apr 18, 2008 at 10:35 AM, Bill Hoffman wrote: Alan W. Irwin wrote: (1) In FindwxWidgets.cmake, wxWidgets_LIBRARIES is documented as Path to the wxWidgets libraries. From the above result (before my macro transformed it) this documentation should be changed to something like List

Re: [CMake] CMake 2.4 (8) WxWidgets + RichText Pt 2

2008-04-21 Thread Miguel A. Figueroa-Villanueva
On Mon, Apr 21, 2008 at 10:55 AM, Eric Torstenson wrote: Alan W. Irwin wrote: To see what is going on, check the FindwxWidgets.cmake file. For example, on my Debian testing system with CMake 2.4.8, that file is located at /usr/share/cmake-2.4/Modules/FindwxWidgets.cmake. There is a list

Re: [CMake] CMake 2.4 (8) WxWidgets + RichText Pt 2

2008-04-21 Thread Miguel A. Figueroa-Villanueva
On Mon, Apr 21, 2008 at 1:36 PM, Eric Torstenson wrote: On Mon, Apr 21, 2008 at 12:27 PM, Miguel A. Figueroa-Villanueva wrote: Hello Eric, I'm glad to here this worked. Now, I would like to understand the problem, so that I can fix the FindwxWidgets module. Can you post exactly what

Re: [CMake] CMake 2.4 (8) WxWidgets + RichText Pt 2

2008-04-19 Thread Miguel A. Figueroa-Villanueva
On Fri, Apr 18, 2008 at 5:50 PM, Eric Torstenson wrote: I managed to find the ultimate cause of manual assignment using wx-config and CMAKE_CXX_FLAGS. This is what I was trying to do originally, but never had a successful link. This is directly calling wx-config myself, and then attempting to

Re: [CMake] PLplot issues with the cvs version of CMake (wxwidgets)

2008-03-23 Thread Miguel A. Figueroa-Villanueva
On Sun, Mar 23, 2008 at 3:46 PM, Alan W. Irwin wrote: On 2008-03-20 15:04-0700 Alan W. Irwin wrote: Thanks for pointing out that empty -I. I will track down why the cvs version of CMake does that (while 2.4.8 does not) and get back to you. In any case, it sounds like this PLplot/CMake

Re: [CMake] Somehow making life easier with wxWidgets ...

2008-03-12 Thread Miguel A. Figueroa-Villanueva
On Wed, Mar 12, 2008 at 5:02 AM, Jorgen Bodde wrote: I have succesfully converted my source to use the latest find script. I have to say, GOD JOB! I wasn't expecting this level of flexibilityof the script. I didn't have to add anything whiel configuring. Simply configure and go! I'm glad

Re: [CMake] Somehow making life easier with wxWidgets ...

2008-03-11 Thread Miguel A. Figueroa-Villanueva
On Tue, Mar 11, 2008 at 7:49 AM, Jorgen Bodde wrote: After a (long) while I wanted to attend to my wxWidgets projects again which I generate from a CMake project. I generated, and found out the libs that were expected were still of the 2.6 version of wxWidgets, while they are at 2.8

Re: [CMake] Somehow making life easier with wxWidgets ...

2008-03-11 Thread Miguel A. Figueroa-Villanueva
On Tue, Mar 11, 2008 at 9:10 AM, Jorgen Bodde wrote: Hi Miquel, I am not here to critisize your work, on the contrary, your work is probably based on Jerry fath's work, which is based upon my work ;-) I did contribute to CMake too once a long while ago ;-) Don't worry, no offense taken. I

Re: [CMake] Somehow making life easier with wxWidgets ...

2008-03-11 Thread Miguel A. Figueroa-Villanueva
On Tue, Mar 11, 2008 at 9:18 AM, Bill Hoffman wrote: Jorgen Bodde wrote: Who knows the wx guys will evantually switch to Cmake after all. They arlready made a huge switch to Doxygen after sticking to LaTEX documentation for ages. If you look at an example bakefile for any potential

Re: [CMake] cmake community site

2008-03-05 Thread Miguel A. Figueroa-Villanueva
On Wed, Mar 5, 2008 at 12:55 AM, Philip Lowman wrote: On Tue, Mar 4, 2008 at 12:39 PM, Sebastien BARRE wrote: At 3/3/2008 03:34 PM, Matt Williams wrote: I'm looking to see what you guys on this list think about me starting up a 'cmake community' site, possibly featuring the following:

Re: [CMake] Re: CMake and Lua

2008-03-01 Thread Miguel A. Figueroa-Villanueva
On Fri, Feb 29, 2008 at 11:09 AM, Bill Hoffman wrote: Rodolfo Schulz de Lima wrote: The main issue with CMake script isn't when writing a build script, but when writing auxiliary stuff, like a more elaborate Find*.cmake. Just look at FindwxWidgets.cmake to see what I mean...

Re: [CMake] Bug in FindwxWidgets.cmake regarding MinGW

2008-02-28 Thread Miguel A. Figueroa-Villanueva
On Thu, Feb 28, 2008 at 10:26 AM, Werner Smekal wrote: IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN32) IF(UNIX OR MSYS) SET(UNIX_STYLE_FIND 1) ENDIF(UNIX OR MSYS) I could file a bug report if necessary. This all makes sense... However, I'm busy and since it might be a few days

[CMake] CMake Error: Unable to link function recv

2008-01-27 Thread Miguel A. Figueroa-Villanueva
Hello, I recently updated my cmake installation from cvs and now I can't get it to configure for 'Unix Makefiles'. I am now getting this error: ... Performing Test curl_cv_recv Performing Test curl_cv_recv - Failed CMake Error: Unable to link function recv ... I'm using the same cvs download,

Re: [CMake] FindBoost.cmake: please test

2008-01-20 Thread Miguel A. Figueroa-Villanueva
On Jan 19, 2008 7:14 PM, Andreas Schneider wrote: Andreas Pakulat wrote: apparently the FindBoost.cmake I attached to http://www.cmake.org/Bug/view.php?id=6257 isn't quite perfect - actually not even close. The last few days I've worked with Andreas Schneider to make it work on his and

Re: [CMake] FindBoost.cmake: please test

2008-01-20 Thread Miguel A. Figueroa-Villanueva
On Jan 20, 2008 2:17 PM, Andreas Pakulat wrote: On 20.01.08 14:02:32, Miguel A. Figueroa-Villanueva wrote: I guess there has been some difficulties with the boost version number. My suggestion would be to use a directory that includes the version number and extract it from there (e.g

Re: [CMake] function and raise_scope commands

2008-01-18 Thread Miguel A. Figueroa-Villanueva
On Dec 28, 2007 12:52 PM, Miguel A. Figueroa-Villanueva wrote: On Dec 28, 2007 11:36 AM, Ken Martin wrote: 1. CMake crashes if I use the same variable name as the argument and raise the scope later. That is, for the following function: snip Specifically Variable value

[CMake] cmake failing with The executable file format is Unknown

2008-01-15 Thread Miguel A. Figueroa-Villanueva
Hello, I'm getting the following error when using CMakeSetup or QtDialog to create Unix Makefiles for cygwin: The executable file format is Unknown ... CMake Error: Unable to link function recv Below is the complete output of the configuration process. I'm using a cvs build (from Today). Built

Re: [CMake] Find*.cmake variable naming

2008-01-14 Thread Miguel A. Figueroa-Villanueva
On Jan 14, 2008 2:01 PM, Rodolfo Schulz de Lima wrote: Hi, I'd like to comment on the Find*.cmake variable naming procedure adopted by cmake. Right now I have to look at some Find*.cmake files to see what are the output variables they create. Some packages create a *_LIBRARY, others

Re: [CMake] running FIND_PROGRAM twice

2008-01-14 Thread Miguel A. Figueroa-Villanueva
On Jan 14, 2008 7:18 PM, Brandon Van Every wrote: I just filed bug http://cmake.org/Bug/view.php?id=6241 , FindPerlLibs should use FindPerl. My assumption is that if FIND_PROGRAM is run twice with the same output variable (in this case PERL_EXECUTABLE), the 2nd invocation will wipe out the

[CMake] FindwxWidgets and Cross-compiling

2008-01-05 Thread Miguel A. Figueroa-Villanueva
Hello Everyone, I have been assigned a bug (http://www.cmake.org/Bug/view.php?id=6187) to fix the FindwxWidgets for cross-compiling, but since I don't cross-compile I'm not sure what is the correct approach. Rodolfo submitted a patch that adds the following code around the FIND_PROGRAM call:

Re: [CMake] Re: FindwxWidgets and Cross-compiling

2008-01-05 Thread Miguel A. Figueroa-Villanueva
On Jan 5, 2008 9:38 PM, Rodolfo Lima wrote: Miguel A. Figueroa-Villanueva escreveu: # Resource file compiler. FIND_PROGRAM(wxWidgets_wxrc_EXECUTABLE wxrc ${wxWidgets_ROOT_DIR}/utils/wxrc/vc_msw ) I guess not, since in this case any resource compiler that is found should do

  1   2   >