Re: [CMake] How to specify library dependencies?

2008-11-25 Thread Michael Jackson
On Nov 25, 2008, at 5:09 PM, Robert Dailey wrote: On Mon, Nov 24, 2008 at 4:39 PM, Michael Jackson <[EMAIL PROTECTED] > wrote: One of the better sources to look at is FindBoost.cmake: Here are some CMake Predefined variables that you will find useful: APPLE CYGWIN MSVC UNIX WIN32 Y

Re: [CMake] Default parameters in macros

2008-11-25 Thread Michael Jackson
On Nov 25, 2008, at 11:40 AM, Robert Dailey wrote: Hi, Are all macro parameters optional by default? If not, how can I make them optional? I have a couple of required parameters and a few optional ones. Thanks. Here is some code from Boosts CMake files: == START BOOST CMAKE COD

Re: [CMake] uninstall target & libraries

2008-11-25 Thread Michael Jackson
add_library (libname-shared SHARED ${SOURCES}) add_library (libname-static STATIC ${SOURCES}) The target names need to be different. On Nov 25, 2008, at 10:02 AM, Micha Renner wrote: Me second question is: I create libraries in the following way: ADD_LIBRARY(libname SHARED ${SOURCES}) I wa

Re: [CMake] How to specify library dependencies?

2008-11-24 Thread Michael Jackson
On Nov 24, 2008, at 5:08 PM, Robert Dailey wrote: On Mon, Nov 24, 2008 at 4:02 PM, Michael Jackson <[EMAIL PROTECTED] > wrote: On Nov 24, 2008, at 4:29 PM, Robert Dailey wrote: On Mon, Nov 24, 2008 at 2:41 PM, Michael Jackson <[EMAIL PROTECTED] > wrote: typically you do: ad

Re: [CMake] How to specify library dependencies?

2008-11-24 Thread Michael Jackson
On Nov 24, 2008, at 4:29 PM, Robert Dailey wrote: On Mon, Nov 24, 2008 at 2:41 PM, Michael Jackson <[EMAIL PROTECTED] > wrote: typically you do: add_executable(main main.cpp) target_link_libraries(main a) and CMake _usually_ picks the correct library for the given platform (a.lib

Re: [CMake] How to specify library dependencies?

2008-11-24 Thread Michael Jackson
On Nov 24, 2008, at 3:10 PM, Robert Dailey wrote: Hi, I need to be able to specify directories that the linker will search to be able to find libraries it is to link against. For this, the solution I've found is LINK_DIRECTORIES(). Next, I need to be able to specify library files that th

Re: [CMake] Complaint about if..endif

2008-11-23 Thread Michael Jackson
On Nov 23, 2008, at 11:43 AM, cyril_wobow wrote: Robert Dailey a écrit : On Sun, Nov 23, 2008 at 4:20 AM, cyril_wobow <[EMAIL PROTECTED] > wrote: Like a ... python front end ? Seriously, cmake is really, really, really verbose and terribly unreadable as a

Re: [CMake] Visual Studio Warning Level

2008-11-22 Thread Michael Jackson
On Nov 22, 2008, at 1:13 PM, Robert Dailey wrote: So it seems that this issue has come up before and it is an obvious feature to implement. In the meantime, can someone offer me the code for a macro I can use to easily and portably set warning levels? Thanks pseudo code macro(set_warni

Re: [CMake] Visual Studio Warning Level

2008-11-22 Thread Michael Jackson
On Nov 22, 2008, at 8:01 AM, Vladimir Prus wrote: Bill Hoffman wrote: Robert Dailey wrote: Hi, I've done some googling on how to set warning levels for visual studio projects generated with CMake and I can't say I really enjoy the proposed solutions I've found. Literally this should be a

[CMake] CMakeEditor Eclipse Plugin Update

2008-11-20 Thread Michael Jackson
I have created an updated package for the Eclipse CMake Editor Plugin. You can download it from the following location: http://sourceforge.net/project/showfiles.php?group_id=193949&package_id=228545 This is the CMakeEd_1.1.0_RC1.zip release. Please do try it out and send feedback or bug repo

[CMake] Documentation for find_file and find_path

2008-11-20 Thread Michael Jackson
The two commands seem to have the exact same documentation. Are they the same command in reality? In the generated CMake.docbook there is this xml: find_filesect2> Find the full path to a file. find_path( name1 [path1 path2 ...]) Notice that the "usage" section refers to fi

Re: [CMake] List of 'Reserved Words'

2008-11-20 Thread Michael Jackson
On Nov 19, 2008, at 9:27 PM, Matthew Woehlke wrote: Matthew Woehlke wrote: Michael Jackson wrote: On Nov 19, 2008, at 12:24 PM, Matthew Woehlke wrote: Should I post the whole script? Sure. You can post the script on the CMake Wiki or post it here and I'll get it up on the Wiki r

Re: [CMake] List of 'Reserved Words'

2008-11-19 Thread Michael Jackson
On Nov 19, 2008, at 12:24 PM, Matthew Woehlke wrote: Michael Jackson wrote: I am parsing the $CMAKE_BUILD/Docs/cmake.docbook file. There is just enough information with the tags to parse out all the commands, variables and properties. What _is not_ in that file are the "reserved

Re: [CMake] List of 'Reserved Words'

2008-11-18 Thread Michael Jackson
On Nov 18, 2008, at 6:48 PM, Matthew Woehlke wrote: Michael Jackson wrote: Thanks. But how exactly are you "adding" those? By Hand or do you have some sort of script that parses CMake or .. ? It would be great if we could "sync up" the kate and some of the other edito

Re: [CMake] List of 'Reserved Words'

2008-11-18 Thread Michael Jackson
On Nov 18, 2008, at 4:10 PM, Alexander Neundorf wrote: On Tuesday 18 November 2008, Michael Jackson wrote: On Nov 18, 2008, at 3:49 PM, Alexander Neundorf wrote: On Tuesday 18 November 2008, Michael Jackson wrote: On Nov 18, 2008, at 2:59 PM, Alexander Neundorf wrote: On Tuesday 18

Re: [CMake] [Fwd: CMake and qmake.conf?]

2008-11-18 Thread Michael Jackson
On Nov 18, 2008, at 3:54 PM, Eric (Brad) Lemings wrote: From: Gordon Schumacher <[EMAIL PROTECTED]> Date: November 18, 2008 2:28:03 PM EST To: Qt-Interest <[EMAIL PROTECTED]> Cc: Brad Lemings <[EMAIL PROTECTED]> Subject: CMake and qmake.conf? We've started working some with CMake here, and

Re: [CMake] List of 'Reserved Words'

2008-11-18 Thread Michael Jackson
On Nov 18, 2008, at 3:49 PM, Alexander Neundorf wrote: On Tuesday 18 November 2008, Michael Jackson wrote: On Nov 18, 2008, at 2:59 PM, Alexander Neundorf wrote: On Tuesday 18 November 2008, Michael Jackson wrote: Is there a list of the "reserved words" or Keywords for CMake. Exam

Re: [CMake] List of 'Reserved Words'

2008-11-18 Thread Michael Jackson
On Nov 18, 2008, at 2:59 PM, Alexander Neundorf wrote: On Tuesday 18 November 2008, Michael Jackson wrote: Is there a list of the "reserved words" or Keywords for CMake. Examples would be: AND, NOT, OR, PROPERTIES, CACHE, FORCE.. Not really. The one here should be quite cur

[CMake] List of 'Reserved Words'

2008-11-18 Thread Michael Jackson
Is there a list of the "reserved words" or Keywords for CMake. Examples would be: AND, NOT, OR, PROPERTIES, CACHE, FORCE.. Thanks _ Mike Jackson [EMAIL PROTECTED] BlueQuartz Softwarewww.bluequartz.net

[CMake] CMake Variables for MSVC

2008-11-18 Thread Michael Jackson
I noticed a few things while writing some code to parse the CMake documentation: There are the following CMake Defined variables: MSVC MSVC80 MSVC_IDE MSVC_VERSION I see that MSVC70, MSVC71 and MSVC90 are defined in the Windows- cl.cmake file? Is it a bug that MSVC80 is being formally define

[CMake] Updated TextMate CMake Bundle Available

2008-11-17 Thread Michael Jackson
Just thought I would drop a note that I have updated my TextMate CMake Bundle. It can be downloaded from http://www.bluequartz.net/software/files/CMake.tmbundle.pkg and is linked from the CMake Wiki page @ http://www.cmake.org/Wiki/CMake_Editors_Support#CMake_Editor_Modes Highlights of this r

Re: [CMake] Unix Makefiles/XCode not linking properly on Mac

2008-11-14 Thread Michael Jackson
On Nov 13, 2008, at 7:59 PM, Neal Meyer wrote: I have a project that I have been working on for a while using the Visual Studio generator in Windows, and I am now attempting to build in on Mac. Right now it's very early and I'm having problems building any of the executables using the Uni

Re: [CMake] LIBRARY_OUTPUT_DIRECTORY or CMAKE_LIBRARY_OUTPUT_DIRECTORY

2008-11-12 Thread Michael Jackson
is a global variable. LIBRARY_OUTPUT_DIRECTORY is a target property that gets its default value, if any, from the global variable. On Wed, Nov 12, 2008 at 9:24 AM, Michael Jackson <[EMAIL PROTECTED] > wrote: The below is from the

[CMake] LIBRARY_OUTPUT_DIRECTORY or CMAKE_LIBRARY_OUTPUT_DIRECTORY

2008-11-12 Thread Michael Jackson
The below is from the CMake 2.6.2 documentation: === • LIBRARY_OUTPUT_PATH: Old library location variable. This variable should no longer be used as of CMake 2.6. Use the ARCHIVE_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and RUNTIM

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

2008-11-09 Thread Michael Jackson
On Nov 9, 2008, at 1:30 PM, Jed Brown wrote: On Fri 2008-11-07 10:47, Bill Hoffman wrote: So, currently CMake assumes that the environment you are working from is correctly configured. I think adding CMakeModule would go beyond the scope of what CMake should be doing. Just like you have t

Re: [CMake] Eclipse CDT and CMake

2008-11-06 Thread Michael Jackson
On Nov 6, 2008, at 7:26 PM, Neal Meyer wrote: I'm on a Mac and I was wondering if there are any plans to support full CDT projects from CMake? -Neal I thought there was a CDT generator as part of CMake? I actually use the plain old Makefiles generator on OS X because I can build from w

Re: [CMake] boost component names

2008-11-06 Thread Michael Jackson
uBLAS is part of the 'numeric' library and is NOT a compiled library so just having the boost headers installed correctly is enough. On Nov 6, 2008, at 4:56 PM, Christopher Harvey wrote: Hi list, Sometimes when using the FindBoost.cmake package I have a very hard time figuring out what val

Re: [CMake] seperate source/build directories (Was: cleaning targets)

2008-11-06 Thread Michael Jackson
On Nov 6, 2008, at 4:15 PM, Eric (Brad) Lemings wrote: Eric Noulard wrote: 2008/11/6 Michael Jackson <[EMAIL PROTECTED]>: All this is asking is 2 extra commands. You may perfectly do that with autotools too: mkdir build cd build /path/to/source/configure make make install Right

Re: [CMake] seperate source/build directories (Was: cleaning targets)

2008-11-06 Thread Michael Jackson
On Nov 6, 2008, at 3:02 PM, Eric (Brad) Lemings wrote: Michael Jackson wrote: Are you using a dedicated build directory or are you running cmake directly from your source directory? If the latter.. STOP.. don't do that. If you use a dedicated build directory then cleaning up from cmake

Re: [CMake] cleaning targets

2008-11-06 Thread Michael Jackson
On Nov 6, 2008, at 2:56 PM, Eric (Brad) Lemings wrote: Alexander Neundorf wrote: What would be the purpose of this ? What is the purpose of distclean anyway ? These are conventional GNU cleaning targets that apply to virtually all software that is built from source. The various cleaning ta

Re: [CMake] cleaning targets

2008-11-06 Thread Michael Jackson
On Nov 6, 2008, at 12:53 PM, Tyler Roscoe wrote: On Thu, Nov 06, 2008 at 10:14:20AM -0700, Eric (Brad) Lemings wrote: The distclean target works in GNU build systems only if maintainers utilize the hooks into the distclean target (e.g. distclean-local, maintainer-clean-generic) that allows bui

Re: [CMake] Problem with cmake & qt - out of source build - relative paths

2008-11-06 Thread Michael Jackson
), which I think is a problem. On Thu, Nov 6, 2008 at 3:19 PM, Michael Jackson <[EMAIL PROTECTED] > wrote: QT4_WRAP_UI(SAMPLE_UI_HDRS ${SAMPLE_UIS}) On Nov 6, 2008, at 3:31 AM, Emre Turkay wrote: # this will run uic on .ui files QT4_WRAP_UI(SAMPLE_UI_HDRS ${SAMPLE_MO

Re: [CMake] Problem with cmake & qt - out of source build - relative paths

2008-11-06 Thread Michael Jackson
QT4_WRAP_UI(SAMPLE_UI_HDRS ${SAMPLE_UIS}) On Nov 6, 2008, at 3:31 AM, Emre Turkay wrote: # this will run uic on .ui files QT4_WRAP_UI(SAMPLE_UI_HDRS ${SAMPLE_MOC_HDRS}) _ Mike Jackson [EMAIL PROTECTED] BlueQuartz Softw

Re: [CMake] Bundle Generator conflicts with MACOSX_BUNDLE

2008-11-03 Thread Michael Jackson
Take a look at the cmake wiki as there is a short write up on how to use the BundleUtilities and you can also download my Qt base sample project which also uses the BundleUtilities. http://www.bluequartz.net/software/files/QTTest.tar.gz http://www.cmake.org/Wiki/BundleUtilitiesExample I'm n

Re: [CMake] Bundle Generator conflicts with MACOSX_BUNDLE

2008-11-03 Thread Michael Jackson
Have you looked at the "BundleUtilities" macro in the latest CMake? It is supposed to package up the OS X bundle for you. ParaView 3.4.0 uses this as far as I know. On Nov 3, 2008, at 1:19 PM, Mike Arthur wrote: On Sunday 02 November 2008 03:29:36 Timothy M. Shead wrote: That's the (untest

Re: [CMake] Boost Trunk is getting CMake support

2008-11-02 Thread Michael Jackson
FIXED.. Thanks for the feedback Mike On Nov 2, 2008, at 3:49 AM, Maik Beckmann wrote: 2008/11/1 Michael Jackson <[EMAIL PROTECTED]>: Hi Michael, If you want to have a look try reading the following wiki page for more details: https://svn.boost.org/trac/boost/wiki/CMakeConfigAn

[CMake] Boost Trunk is getting CMake support

2008-11-01 Thread Michael Jackson
Just wanted to let the cmake community know that very early CMake support has been added to the Boost trunk. Currently only some of the libraries will build but there is now active development of the boost- cmake build system. The current support is bleeding edge and may NOT work at all on y

Re: [CMake] configuring cmake with cygwin

2008-10-28 Thread Michael Jackson
If you want to jack cmake a bit look in the "share/cmake-xx/Modules/ Platform for the windows-icl.cmake file. In there are the "default" values for all the link flags and such. Edit that file. Clean out your build directory and try again. __

Re: [CMake] How is GetPreRequisites used?

2008-10-28 Thread Michael Jackson
In what way are you trying to use GetPreRequisites? I have a Qt Based app that uses GetPreRequisites indirectly through the OS X app bundle building cmake module (BundleUtilities.cmake). I think on each system (Linux, OS X, Windows) there are different solutions. Which system are you workin

Re: [CMake] Does CMAKE_DEBUG_POSTFIX not affect executables?

2008-10-27 Thread Michael Jackson
I use something like the following: #-- Set the Debug and Release names for the libraries SET_TARGET_PROPERTIES( ${exe_name} PROPERTIES DEBUG_OUTPUT_NAME ${exe_debug_name} RELEASE_OUTPUT_NAME ${exe_release_name} ) _ Mike Jackson

Re: [CMake] Mac OS X frameworks

2008-10-21 Thread Michael Jackson
Thomas wrote: What directory are you referring to when you mention CMake/Tests/ Framework? Where do I find this information? Date: Tue, 21 Oct 2008 12:42:58 -0400 From: "David Cole" <[EMAIL PROTECTED]> Subject: Re: [CMake] Mac OS X frameworks To: "Michael Jackson" <

Re: [CMake] Mac OS X frameworks

2008-10-21 Thread Michael Jackson
6:37 -0400 From: Michael Jackson <[EMAIL PROTECTED]> Subject: Re: [CMake] Mac OS X frameworks To: cmake@cmake.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes OS X Frameworks are pretty well supported. I think there is a &qu

Re: [CMake] Mac OS X frameworks

2008-10-21 Thread Michael Jackson
OS X Frameworks are pretty well supported. I think there is a "test" framework in the "test" directory of the CMake source code that might allow you to take a look at what can be done. It also depends on how complex your framework is going to be will dictate how much extra work you will ne

Re: [CMake] Setting install_name on Mac OSX 10.5

2008-10-20 Thread Michael Jackson
I can suggest all sorts of ways to set the install_name of the libraries BUT I would rather figure out _why_ the swig generated libraries are getting the "../../lib" prefix in the first place. I don't have any experience with swig so I can only guess at this point. Does swig have its own se

Re: [CMake] CMake 2.6.2, Xcode and Fortran...

2008-10-14 Thread Michael Jackson
to see if it is explicitly fortran. There are some debugging issues, but from what I've heard from Intel they plan to continue to work toward better Xcode integration, so... Best, Dick Munroe Michael Jackson wrote: I mean gfortran: http://maxao.free.fr/xcode-fortran-plugin/ Fortra

Re: [CMake] public headers with different subdirectories

2008-10-14 Thread Michael Jackson
I use the following: SET (HEADERS Common/Types.h Common/ICore.h ) SET (NAME Common) INSTALL (FILES ${HEADERS} DESTINATION include/MXADataModel/${NAME} COMPONENT Headers ) This was actually taken from a Macro that I wrote to do all this for me. If you want the e

Re: [CMake] CMake 2.6.2, Xcode and Fortran...

2008-10-14 Thread Michael Jackson
I can not comment on the Xcode stuff BUT have you tried to build your application using plain makefiles. I know it isn't as nice as an IDE BUT if it works with Makefiles then the problem is definitely one with Xcode project generation and not CMake in general. Also, if you are not tied to X

Re: [CMake] WIN32_EXECUTABLE - Config specific settings for visual studio generated project files?

2008-10-07 Thread Michael Jackson
Thought this was handy enough to add a wiki entry: http://www.cmake.org/Wiki/VSConfigSpecificSettings Mike On Oct 7, 2008, at 12:49 AM, Jason Eubank wrote: Thanks Stefan, this worked well. My exact usage using your recommendations was as follows: if(WIN32) set_target_properties(WindowApp

Re: [CMake] XCode 3.0

2008-10-06 Thread Michael Jackson
CMake should be supporting Xcode through 3.1 when run on Leopard. Are you having some issues with this? Xcode will automatically select the best number of compile processes to use when compiling. There are over rides that you can do using the "defaults" system. Google around for them. App

Re: [CMake] Small, realistic Cpack example

2008-10-01 Thread Michael Jackson
http://www.cmake.org/Wiki/BuildingOSXApplications Done. and I updated the project also. it can now be found also on the wiki site: http://www.cmake.org/Wiki/images/e/e3/QTTest.zip The updates include changes so that the bundle only gets "completed" during a installation process. I welcom

Re: [CMake] CMAKE_CURRENT_SOURCE_DIR for modules

2008-09-30 Thread Michael Jackson
CMAKE_CURRENT_SOURCE_DIR points to where you called FIND_PACKAGE from and not from where the FindMyPackage.cmake lives. James On Mon, Sep 29, 2008 at 5:03 PM, Michael Jackson <[EMAIL PROTECTED]> wrote: include(${CMAKE_CURRENT_SOURCE_DIR}/extrastuff.cmake) Just guessing but it seems like it

Re: [CMake] Xcode generator issues

2008-09-30 Thread Michael Jackson
The issue is that the build system for boost does NOT set an "install_name", a path embedded in the library that executables can use to find the library after linking. You have a few choices at this point. 1) Hack boost's build system to add in the correct "install_name" 2) Manually use "in

Re: [CMake] Generating shared libraries on Visual 8.0

2008-09-30 Thread Michael Jackson
This is what I use: # Build shared libraries OPTION (BUILD_SHARED_LIBS "Build Shared Libraries" OFF) SET (LIB_TYPE STATIC) SET (MXA_BUILT_AS_DYNAMIC_LIB) IF (BUILD_SHARED_LIBS) SET (LIB_TYPE SHARED) SET (MXA_BUILT_AS_DYNAMIC_LIB 1) IF (WIN32) ADD_DEFINITIONS("-DMXA_BUILT_AS_DYNAMIC_LIB"

Re: [CMake] CMAKE_CURRENT_SOURCE_DIR for modules

2008-09-29 Thread Michael Jackson
include(${CMAKE_CURRENT_SOURCE_DIR}/extrastuff.cmake) Just guessing but it seems like it should work.. Mike On Sep 29, 2008, at 6:30 PM, James Bigler wrote: Is it possible to include a file that is local to a module? I want to do this: FIND_PACKAGE(MyPackage) MyPackage.cmake: include(ext

Re: [CMake] Fwd: Fwd: cmake link against Qt4's OpenGL

2008-09-26 Thread Michael Jackson
Yes, this program runs well when compile with qmake. Linge On Fri, Sep 26, 2008 at 5:18 PM, Michael Jackson <[EMAIL PROTECTED] > wrote: Look in the GLWidget source file and see if there is actually a zRotationChanged(int) method available. Mike On Sep 26, 2008, at 5:15 PM, Linge Bai

Re: [CMake] Fwd: cmake link against Qt4's OpenGL

2008-09-26 Thread Michael Jackson
renced from: __ZTV8GLWidget$non_lazy_ptr in glwidget.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [exe] Error 1 make[1]: *** [CMakeFiles/exe.dir/all] Error 2 make: *** [all] Error 2 On Fri, Sep 26, 2008 at 4:59 PM, Michael Jackson <[EMAIL PROTECTED] > w

Re: [CMake] cmake link against Qt4's OpenGL

2008-09-26 Thread Michael Jackson
e.dir/all] Error 2 make: *** [all] Error 2 Have I linked to QTOPENGL or not? Linge On Fri, Sep 26, 2008 at 4:43 PM, Michael Jackson <[EMAIL PROTECTED] > wrote: run ccmake instead of cmake on your project. Look down the left hand side of cmake variables. It should be listed. By default

Re: [CMake] cmake link against Qt4's OpenGL

2008-09-26 Thread Michael Jackson
compile and link lines.. Mike On Sep 26, 2008, at 4:40 PM, Linge Bai wrote: my mac os x is 10.5.4, it's PPC. Xcode is version 3.1. I'm sorry that I have no idea how to check CMAKE_OSX_SYSROOT. Linge On Fri, Sep 26, 2008 at 4:33 PM, Michael Jackson <[EMAIL PROTECTED] > wro

Re: [CMake] cmake link against Qt4's OpenGL

2008-09-26 Thread Michael Jackson
What is your OS X version, (PPC or Intel), Xcode toolset version, and what are you setting the CMAKE_OSX_SYSROOT value to? It should be / Developer/SDKs/MacOSX10.5.sdk Mike On Sep 26, 2008, at 4:26 PM, Linge Bai wrote: so if I use cmake 2.6.1, with the following CMakeList.txt file: PROJE

Re: [CMake] cmake link against Qt4's OpenGL

2008-09-26 Thread Michael Jackson
You are building on 10.5 using the 10.4u sdk. Why. If you need to deploy on 10.4 then you will need to add the following CMAKE_C_FLAGS and CMAKE_CXX_FLAGS to your compile. -mmacosx-version-min=10.4. and change the CMAKE_OSX_SYSROOT to 10.5.sdk. This scenario will make sure your app can run

Re: [CMake] cmake link against Qt4's OpenGL

2008-09-26 Thread Michael Jackson
Can you send the source files? Mike On Sep 26, 2008, at 3:02 PM, Linge Bai wrote: Hi everybody, I have a project developed by Qt4's OpenGL, for example plenty of usage of QGLWidget class. I want to use cmake to compile this project, instead of using qmake, because I need to combine anothe

Re: [CMake] Dependent Libraries added automatically?

2008-09-26 Thread Michael Jackson
On Sep 26, 2008, at 2:28 PM, Bill Hoffman wrote: Mike Jackson wrote: I started noticing some warnings when I am linking my project executables that bascially says libraries are listed multiple times on the link line. Now this is just a warning so I _could_ ignore it but I am curios about

Re: [CMake] qt standalone project : static link or dll copy (and how to do it?)

2008-09-25 Thread Michael Jackson
The following is what I use. There may be better methods or methods that are now built into CMake 2.6.x that I am unaware of. # -- # This CMake code installs the needed support libraries on NON OSX platforms # ---

Re: [CMake] Problems with cmake, visualstudio generator and add_library / target_link_libraries

2008-09-24 Thread Michael Jackson
this point. Mike On Sep 24, 2008, at 8:42 AM, Thomas Veith wrote: Thanks for the hint, nevertheless CMake still generates instead of Any further ideas? Thanx in advance, Thomas 2008/9/24 Michael Jackson <[EMAIL PROTECTED]>: target_link_

Re: [CMake] Building shared libs on visual

2008-09-24 Thread Michael Jackson
On Sep 24, 2008, at 5:47 AM, Julien Michel wrote: Werner Smekal a écrit : Hi, maybe you forgot to export symbols? http://www.cmake.org/Wiki/BuildingWinDLL Dear Werner, Thank you, I did search the cmake Wiki for something like that, but I did not manage to find this page. I think we are expo

Re: [CMake] Problems with cmake, visualstudio generator and add_library / target_link_libraries

2008-09-24 Thread Michael Jackson
target_link_libraries(socket ws2_32) Cmake will figure out the proper suffix to use. Mike On Sep 24, 2008, at 4:56 AM, Thomas Veith wrote: target_link_libraries(socket ws2_32.lib ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mai

<    4   5   6   7   8   9