[CMake] Fwd: Re: Need cmake help for MacOsX

2010-05-21 Thread Werner Smekal
[Didn't send to list, so I forward my reply to Jerome.] Original Message Subject: Re: [CMake] Need cmake help for MacOsX Date: Fri, 21 May 2010 22:02:42 +0200 From: Werner Smekal sme...@iap.tuwien.ac.at To: Jérôme VERNET vernet.jer...@wanadoo.fr Hi Jerome, On 5/21/10 4:42 PM

Re: [CMake] CPack Mac OSX bundle uninstall

2010-05-05 Thread Werner Smekal
the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Angewandte Physik Technische Universitaet Wien Wiedner Hauptstr 8-10/134 A-1040 Wien Austria DVR-Nr: 0005886 email

Re: [CMake] Configure Mac OS X for 32-bit

2010-05-02 Thread Werner Smekal
Hi Thomas, On 5/2/10 5:41 PM, Tron Thomas wrote: Before when I was using an earlier version of CMake, it would configure the project to build a 32-bit version of all the project target's regardless of which version of Mac OS X I was using. It would also build just the platform specific

Re: [CMake] OCaml support in CMake?

2010-03-10 Thread Werner Smekal
/plplot/trunk/cmake/modules/ocaml.cmake?revision=10858view=markup You might ask also on the plplot mailing list about details. Regards, Werner /M [1]: http://www.mail-archive.com/cmake@cmake.org/msg26809.html -- Dr. Werner Smekal Institut fuer Angewandte Physik Technische Universitaet

Re: [CMake] OS X, embedding Frameworks and generator problems

2010-03-05 Thread Werner Smekal
. Werner Smekal Institut fuer Angewandte Physik Technische Universitaet Wien Wiedner Hauptstr 8-10/134 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at (GPG: EDCAF4A79) web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469

Re: [CMake] OS X, embedding Frameworks and generator problems

2010-03-05 Thread Werner Smekal
the framework. It just does nothing. 2010/3/5 Michael Wild them...@gmail.com mailto:them...@gmail.com As Werner Smekal already mentioned (http://www.cmake.org/pipermail/cmake/2010-March/035636.html), for SDL it is apparently not necessary to use BundleUtilities. Have you

Re: [CMake] Include subdirectories

2010-02-25 Thread Werner Smekal
On 2/25/10 9:56 PM, Christian Werner wrote: Hello! I am sure this has been asked before, but somehow I don't find a place where I can easily browse the mailing list postings (I just found that link where you can browse isolated months). I usually use mail-archive:

Re: [CMake] OsX bundle including Qt framework

2010-02-24 Thread Werner Smekal
/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake - -- Dr. Werner Smekal Institut fuer Angewandte Physik Technische Universitaet Wien Wiedner

Re: [CMake] Precompiled headers for Mac OS X

2010-01-19 Thread Werner Smekal
/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Angewandte Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office

[CMake] SDL troubles on Mac OS X

2009-12-15 Thread Werner Smekal
Hi, I'm building an application on Mac OS X and link the SDL libraries into the app. Basically it all works fine (app runs, etc.), but if I want to use the BundleUtilities to fix/include the SDL framework into the app bundle I encounter errors. Problem is, that the references to the SDL

Re: [CMake] SDL troubles on Mac OS X

2009-12-15 Thread Werner Smekal
right now and this works perfectly. Also the default XCode project provided by the SDL people does the same - copying the framework directly into the bundle (without otooling and install_name_tooling around). HTH Definitely! Thanks, Werner Michael On 15. Dec, 2009, at 8:51 , Werner Smekal

Re: [CMake] Why drop -D from wxWidgets_DEFINITIONS ?

2009-10-27 Thread Werner Smekal
Hi Orion, On Oct 27, 2009, at 6:53 PM, Orion Poplawski wrote: On 10/26/2009 12:44 PM, Orion Poplawski wrote: in 2.8.0, FindwxWidgets.cmake strips -D from wxWidgets_DEFINITIONS. Why? Note that this is breaking previously working builds of plplot because of the missing -D. I don't see

Re: [CMake] Finding X11 fails under OS X...

2009-09-03 Thread Werner Smekal
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal

Re: [CMake] add_test and locating dependent DLL's on Windows

2009-05-14 Thread Werner Smekal
. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499

Re: [CMake] add_test and locating dependent DLL's on Windows

2009-05-12 Thread Werner Smekal
://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien

Re: [CMake] library usage

2009-05-12 Thread Werner Smekal
on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sme

Re: [CMake] Problem with recognising the MSYS environment

2009-04-17 Thread Werner Smekal
FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sme...@iap.tuwien.ac.at web: http

Re: [CMake] How to copy files to the directory of executable file.

2009-03-19 Thread Werner Smekal
open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer

Re: [CMake] Does CMake cannot handle directory name with space?

2009-03-19 Thread Werner Smekal
FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sme...@iap.tuwien.ac.at web: http

Re: [CMake] [CTest] DLLs, scripts, and build types

2009-03-01 Thread Werner Smekal
, -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43

Re: [CMake] DLL Question

2009-01-21 Thread Werner Smekal
mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463

Re: [CMake] install a demo program only if requestet

2009-01-04 Thread Werner Smekal
thanks for help regards W. Holzke ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR

Re: [CMake] pkg-config support

2008-12-27 Thread Werner Smekal
Hi, you just create one of your own with variables and let cmake configure the file. E.g. look at what the plplot library does: http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/pkgcfg/ Regards, Werner 0xd34df00d wrote: Hi there! Seems like the FindPkgConfig/UsePkgConfig are used to

Re: [CMake] pkg-config support

2008-12-27 Thread Werner Smekal
library not the flags for using you library. This may not be the same flags, or? Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at web: http

Re: [CMake] How can I add -gstabs to the compile item for Debug?

2008-12-19 Thread Werner Smekal
Hi, cmake -DCMAKE_CXX_FLAGS_DEBUG=-g CMAKE_INSTALL_PREFIX=/usr .. But the result is: This GDB was configured as i486-linux-gnu... (gdb) b main Breakpoint 1 at 0x80487b3 (gdb) r Starting program: /home/kermit/Project/FreeRecite/build/bin/ FreeRecite-core Breakpoint 1, 0x080487b3 in main ()

Re: [CMake] How can I write CMakeLists.txt to link a special library?

2008-12-15 Thread Werner Smekal
Hi, On 15.12.2008, at 16:39, Hendrik Sattler wrote: Michael Wild schrieb: if (NOT WIN32) # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls find_package( PkgConfig REQUIRED ) pkg_check_modules( _sigcxx2 REQUIRED sigc++-2.0 )

Re: [CMake] How can I write CMakeLists.txt to link a special library?

2008-12-13 Thread Werner Smekal
Hi, Kermit Mei wrote: Hello, all. I used sigc++ library in my program, so I must compile my main.cc like this: c++ -Wall main.cc -o main -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -lsigc-2.0 Then, how can I write the CMakeLists.txt? I worte it like this:

Re: [CMake] cmake and wxwidgets on windows

2008-11-22 Thread Werner Smekal
as a convenience and so it is not necessary to edit setup.h if you do define _UNICODE on the command line. So from that I would suggest, that UNICODE and _UNICODE is defined for unicode builds of wxWidgets for all Win32 compilers at the compiler command line. Regards, Werner -- Dr. Werner Smekal

Re: [CMake] cmake and wxwidgets on windows

2008-11-04 Thread Werner Smekal
. Best Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1

Re: [CMake] cmake and wxwidgets on windows

2008-11-04 Thread Werner Smekal
@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801

Re: [CMake] cmake and wxwidgets on windows

2008-11-03 Thread Werner Smekal
wxmsw28u_xrc_gcc_custom.dll ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED

Re: [CMake] cmake and wxwidgets on windows

2008-11-03 Thread Werner Smekal
add_definitions(-D_UNICODE) to your cmake test file. This is just a temporary fix, since if FindwxWidgets.cmake doesn't set that, this is a bug. Regards, Werner John wrote: Werner Smekal [EMAIL PROTECTED] writes: Hi John, now please run make VERBOSE=1 and send the output to the list

Re: [CMake] cmake and wxwidgets on windows

2008-10-31 Thread Werner Smekal
a lot of undefined reference to _Unwind_Resume errors now. See below error message for further information. Anybody got an idea why they could appear? Google hasn't brouhgt up, any useful suggestions so far. John -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien

Re: [CMake] Newbie question about CMake cache

2008-10-31 Thread Werner Smekal
://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469

Re: [CMake] cmake and wxwidgets on windows

2008-10-30 Thread Werner Smekal
___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at

Re: [CMake] How to link against a static lib under windows/minGW

2008-10-30 Thread Werner Smekal
/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499

Re: [CMake] Adding support for new languages to CMake

2008-10-16 Thread Werner Smekal
/msg16699.html Regards, Werner Eric. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria

Re: [CMake] [cmake] windows dll and TARGET_LINK_LIBRARIES

2008-10-10 Thread Werner Smekal
Hi Sören, for shared libraries use (module is for plugins not to be linked to executables) ADD_LIBRARY(MY_DLL SHARED ${ALL_SOURCES} ) and also use test instead of test.exe TARGET_LINK_LIBRARIES(test MY_DLL) Does this work? Werner On 10.10.2008, at 09:21, Sören Freudiger wrote: Hi How

Re: [CMake] How to clear variable.

2008-10-10 Thread Werner Smekal
a variable? The only thing i can work out is: SET( VAR VAR-NOT-FOUND CACHE INTERNAL ) Is that really the way?? Thanks, Klaas ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer

Re: [CMake] TARGET_LINK_LIBRARIES for library targets?

2008-10-10 Thread Werner Smekal
___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria

Re: [CMake] Disabling warnings in Visual Studio Express 2008

2008-10-06 Thread Werner Smekal
. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499

[CMake] unnecessary linker options when compiling executables with mingw/gcc

2008-10-02 Thread Werner Smekal
Hi, recently I found out (make VERBOSE=1) that when an executable is compiled with MinGW Makefiles some linker options are in the command line, which should be in my opinion only necessary for libraries: -Wl,--out-implib,libtest.dll.a -Wl,--major-image-version,0,--minor-image-version,0 I

Re: [CMake] Generating shared libraries on Visual 8.0

2008-09-30 Thread Werner Smekal
. Funny that it works in Linux though Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1

Re: [CMake] Building shared libs on visual

2008-09-24 Thread Werner Smekal
PROTECTED] ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner

Re: [CMake] executable output path vs executable runtime path

2008-09-24 Thread Werner Smekal
. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499

Re: [CMake] Building shared libs on visual

2008-09-24 Thread Werner Smekal
PLDLLIMPEXP #define PLDLLIMPEXP_DATA(type) type #endif #endif /* __PL_DLL_H */ HTH, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801

[CMake] MinGW and import libraries to system libraries, was Re: Finding MinGW compiler libraries?

2008-08-31 Thread Werner Smekal
- cmake will search there after HINTS paths but before PATHS paths. I hope this helps others you have this problem. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http

Re: [CMake] Finding MinGW compiler libraries?

2008-07-27 Thread Werner Smekal
Hi Hendrik, And what is the reason to find .dll files on Windows when searching for a library file, most likely to link to? Well, the MinGW compiler doesn't need a foo.a file to link against a foo.dll file - if foo.dll was created with MinGW itself. Therefore it makes sense. If the foo.dll

Re: [CMake] re-running cmake with different flags doesn't work

2008-07-25 Thread Werner Smekal
-- You'll be called to a post requiring ability in handling groups of people. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner

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

2008-07-08 Thread Werner Smekal
these names to NAME, or use another variable? I think any other windows compiler would name the library wxpng.lib. HTH, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http

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

2008-07-07 Thread Werner Smekal
over from scratch Did that. --Miguel ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email

Re: [CMake] FindwxWidgets update (for MinGW)

2008-06-17 Thread Werner Smekal
), since he doesn't use the capabilities of MSYS anyway. Thanks for the patch, Werner Thanks, --Miguel -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at

Re: [CMake] FindwxWidgets update (for MinGW)

2008-06-17 Thread Werner Smekal
use that, but according to the installation instructions MSYS users must use configure and therefore we need the unix style find for this case. Thanks for the bug fix! Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien

Re: [CMake] different flags in debug and release

2008-06-16 Thread Werner Smekal
... and obviously this doesn't work. what shoul i do? thanks for help ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10

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

2008-06-16 Thread Werner Smekal
. WIN32=1. MINGW=1. 3. WIN32 is TRUE in both mingw and msys systems, right? Yes, see above. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at

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

2008-06-16 Thread Werner Smekal
. CYGWIN=1. HTH, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1

Re: [CMake] Import library not generated under Visual Studio

2008-06-05 Thread Werner Smekal
Hi, On 05.06.2008, at 10:18, Christian Ehrlicher wrote: Von: Martin Apel Hi all, I am trying to port a project using CMake 2.6 from Linux to Windows. The project build works without problems under Linux. However when trying to build the project inside Visual Studio 8 after having

Re: [CMake] How to set platform-specific compiler-options from within CMakeFiles

2008-06-05 Thread Werner Smekal
Hi, just use ADD_DEFINITION, e.g. # Disable warnings about deprecated functions (Visual C++ 2005) if(MSVC_VERSION GREATER 1399) ADD_DEFINITIONS(/D_CRT_SECURE_NO_DEPRECATE) endif(MSVC_VERSION GREATER 1399) You could just use if(WIN32) but than for all compilers on Windows this option would be

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-20 Thread Werner Smekal
shell as well, but at least there are no such troubles. HTH, Werner Mathieu Malaterre wrote: On Tue, May 20, 2008 at 3:02 AM, Bill Hoffman [EMAIL PROTECTED] wrote: Werner Smekal wrote: Hi Mathieu, first I would use the standard Windows CLI and not cygwin, if you intend to use VC++ and NMake. I

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-19 Thread Werner Smekal
extracting the path. Comments anyone ? -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469

Re: [CMake] MinGW and cmake issues...

2008-05-18 Thread Werner Smekal
was deleted. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469

Re: [CMake] Executable extension (MSVC)

2008-05-15 Thread Werner Smekal
://www.cmake.org/HTML/cmake-2.6.html#command:add_executable Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1

[CMake] FindwxWidgets.cmake Debug flag missing

2008-05-09 Thread Werner Smekal
? Thanks, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801

Re: [CMake] wxWidgets, cmake and parallels msys is confused

2008-05-09 Thread Werner Smekal
___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http

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

2008-04-25 Thread Werner Smekal
is wrong, since MINGW needs the WIN32_STYLE_FIND way to the unix way, only CYGWIN and MSYS need UNIX_STYLE_FIND 1 on WIN32. I already have a bug report file for that. Is there any chance that the fix gets into the 2.6.0 version of CMake? Best Regards, Werner -- Dr. Werner Smekal Institut

Re: [CMake] derivative language module

2008-03-28 Thread Werner Smekal
://aur.archlinux.org/packages.php?K=selmanSeB=m ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria

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

2008-03-11 Thread Werner Smekal
at the cmake configuration stage if you don't have standard build of wxwidgets - which is quite logically, since how should it find out automatically how I set up wxWidgets. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10

Re: [CMake] generating GNU makefiles for MSVC

2008-03-06 Thread Werner Smekal
other very useful tools like grep, sed, etc. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43

Re: [CMake] generating GNU makefiles for MSVC

2008-03-05 Thread Werner Smekal
Hi Randal, you could use wgcc a cross-compiler tool http://interix-wgcc.sourceforge.net/features.html which should allow to use the msvc compiler in cygwin. But, I have no experience with the Cygwin/MSVC/wgcc combination though. Regards, Werner On 06.03.2008, at 00:00, Randal Walser

[CMake] Bug in FindwxWidgets.cmake regarding MinGW

2008-02-28 Thread Werner Smekal
report if necessary. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469

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

2008-02-28 Thread Werner Smekal
Sorry, IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN32) IF(UNIX OR MSYS) SET(UNIX_STYLE_FIND 1) ENDIF(UNIX OR MSYS) would be the correct (?) code. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria

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

2008-02-28 Thread Werner Smekal
Hi Miguel, no problem about the time delay, I filed the bug report here: http://www.cmake.org/Bug/view.php?id=6478 Thanks, Werner On 28.02.2008, at 20:45, Miguel A. Figueroa-Villanueva wrote: On Thu, Feb 28, 2008 at 10:26 AM, Werner Smekal wrote: IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF

Re: [CMake] Cygwin cmake generating MSVC projects

2008-01-10 Thread Werner Smekal
, cygwin paths would be incomprehensible to MS tools. -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040

Re: [CMake] using cl.exe with GNU make

2007-04-05 Thread Werner Smekal
Hi, you might be interested in this project http://interix-wgcc.sourceforge.net/ regards, Werner Jesper Eskilson wrote: What is the easiest way of using cl.exe with one of the GNU make based generators? I've tried cmake -G MinGW Makefiles -DCMAKE_C_COMPILER=cl.exe ... but could never

Re: [CMake] FindModules vs EXEC_PROGRAM

2007-03-25 Thread Werner Smekal
/cmake -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1

Re: [CMake] Problem with ADD_DEFINITIONS

2007-03-23 Thread Werner Smekal
Hi, I would say the third and correct option is to use SET_SOURCE_FILES_PROPERTIES together with the COMPILE_FLAGS property. Regards, Werner Kishore, Jonnalagadda (IE10) wrote: I have problems with ADD_DEFINITIONS : I have two target in my CMakeLists which I'd like to have different -D

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-13 Thread Werner Smekal
://www.cmake.org/mailman/listinfo/cmake -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-13 Thread Werner Smekal
Hi Pierre, okay, I looked at FindSDL.cmake more carefully. First I think you should make sure that SDL is actually found. You should have something like this in you cmakeLists.txt: find_package(SDL) if( NOT SDL_FOUND ) message( Warning: SDL not found ) endif( NOT SDL_FOUND ) or since you

Re: [CMake] Ada and CMake

2007-02-27 Thread Werner Smekal
). If there is none, you can't execute it. Werner -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1

Re: [CMake] foreach and find_library

2007-02-22 Thread Werner Smekal
Hi, try to unset/clear FOUND_LIB with SET(FOUND_LIB) before the find_library call - if this variable is set, find_library just returns (at least I think so). Werner [EMAIL PROTECTED] wrote: Hi, I'm trying to construct a list of external libraries. This list needs to include the full

Re: [CMake] MSYS + MINGW + wx-config.sh

2007-02-14 Thread Werner Smekal
OUTPUT_VARIABLE wxWidgets_SELECTED_CONFIG RESULT_VARIABLE wxWidgets_WANTED_AVAILABLE ) Thanks for any advice, Klaas ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dipl. Ing. Werner

Re: [CMake] CMAKE_CXX_COMPILE_OBJECT for compiler with no -o support

2007-02-14 Thread Werner Smekal
. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http

Re: [CMake] ./bootstrap problem

2007-01-21 Thread Werner Smekal
Hi, the bootstrap script doesn't have execute permission (at least I think so). Either set the appropriate flags, chmod a+x bootstrap.sh or run the script with sh sh bootstrap.sh both in the cmake source directory. HTH, Werner Nasser Kashou wrote: Hello, I'm moving from using CMake in

Re: [CMake] Mixing c and c++ with MinGW

2006-12-29 Thread Werner Smekal
Hi Bill, thanks a lot, that is what I needed. Regards, Werner Bill Hoffman wrote: Werner Smekal wrote: Hi, it is normally possible to mix c and c++ in a project with the GNU compiler. Normally you compile c files with gcc and c++ files with g++ and than link all together with g

[CMake] Why does find_library prefer xxx.dll

2006-12-29 Thread Werner Smekal
to tell find_library() to return the correct filename? Thanks, Werner -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463

[CMake] Mixing c and c++ with MinGW

2006-12-28 Thread Werner Smekal
? Thanks, Werner -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax

Re: [CMake] Bug+Fix in FindwxWidgets.cmake

2006-12-05 Thread Werner Smekal
Hi Alex, How about something like: IF (WIN32) ... handle all win variants here ELSE (WIN32) ... and all non-win variants here ENDIF (WIN32) This won't work, the reason is: there are two ways to compile wxWidgets - either via configure (which produces wx-config) or via provided makefiles