Re: [CMake] vcproj2cmake.rb script: announcing new version / hosting questions

2010-06-14 Thread Mike Jackson
Put the scripts in the cmake wiki and put it into the public domain. Easiest for all. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Jun 13, 2010, at 16:33, Andreations

[CMake] How to determine the fortran compiler

2010-06-03 Thread Mike Jackson
What is the accepted way to determine the fortran compiler vendor? Nothing is jumping out at me in the docs. Thanks - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio

Re: [CMake] Help: How to show Qt src file in out-source folder build mode for Eclipse CDT project

2010-05-09 Thread Mike Jackson
If you look on the wiki there is another method that does support out of source builds. You have to generate makefiles first then manually create the eclipse projects. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net

Re: [CMake] Mailing list footer

2010-05-03 Thread Mike Jackson
Or at least format the footer to not take as many lines. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On May 3, 2010, at 2:58, Michael Wild wrote: > Hi > > I rea

Re: [CMake] How do I tell cmake not to create a console window?

2010-05-02 Thread Mike Jackson
add_executable(simple simple.c) _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Sun, May 2, 2010 at 10:20 AM

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

2010-05-02 Thread Mike Jackson
Actually the gcc flags for OS X are: -arch i386 -arch x86_64 -arch ppc -arch ppc64 He should not have to set any environment variables but simply set the correct CMAKE_OSX_ARCHITECTURES when he uses cmake. _ Mike Jackson

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

2010-05-02 Thread Mike Jackson
2 bit i386 executable on OS X 10.6. You can generate a 32 bit PPC executable by setting CMAKE_OSX_ARCHITECTURES=ppc. The set the CMAKE_BUILD_TYPE to "Debug" and that should get you a 32 bit PPC executable that has Debugging symbols. ______

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

2010-05-01 Thread Mike Jackson
You need to set the CMAKE_OSX_ARCHITECTURES to i386. The default build on snow leopard is 64bit where as on leopard it is 32 bit. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio

Re: [CMake] Can't double-click to launch Mac app bundle

2010-04-23 Thread Mike Jackson
What error message is given? Did you copy the qtmenu.nib into the proper place in the case of a cocoa application. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Apr 23

Re: [CMake] Looking for a way to do 'make install' to a destination

2010-04-19 Thread Mike Jackson
Run ccmake or cmake-GUI and set the cmake_ install_ prefix - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Apr 19, 2010, at 6:16, Magnus Therning wrote: > It's so

Re: [CMake] CMake 2.8.1 + Qt/Cocoa + OS X Problem -- qt_menu.nib not getting copied

2010-04-15 Thread Mike Jackson
. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Apr 15, 2010, at 17:06, kent williams wrote: > I'll include my CMakeLists.txt at the end of this message, but the &g

Re: [CMake] Problem linking dynamic libraries on MacOSX

2010-04-07 Thread Mike Jackson
libraries residing in another folder. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Apr 7, 2010, at 6:40, Frank Stappers wrote: > Hello, > > Currently, I have

Re: [CMake] Is there really any cmake support?

2010-04-04 Thread Mike Jackson
Sorry sent too quick. So download Qt from Nokias web site, install that, then try building VTK with qt support turned on. You should be able to compile vtk with mingw ising the defaults for vtk. Try that first before try to compile vtk with at support. - Mike Jackson

Re: [CMake] Is there really any cmake support?

2010-04-04 Thread Mike Jackson
Did you build Qt prior to try to build vtk with qt support? You can download the MinGW versionof Qt from Nokiaa - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Apr 4, 2010

Re: [CMake] How to determine CPU features

2010-03-26 Thread Mike Jackson
E_CXX_FLAGS} /arch:SSE2") set (SSE_COMPILE_FLAGS " /arch:SSE2 ") else() set (HAVE_INTRIN_H 0) endif() endif() endif() # End _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.ne

Re: [CMake] One folder to rule them all...

2010-03-24 Thread Mike Jackson
you could just name the project "__MasterProject" which would filter it to the top of the list. ;-) _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principa

Re: [CMake] Handling library dependencies and minimizing duplicated include_directories

2010-03-20 Thread Mike Jackson
e()" for you. Then your cmake files look something like this. set (CMAKE_MODULE_PATH "Path/To/Your/Find*.cmake/Dir" ${CMAKE_MODULE_PATH} ) Find_package(GFL) add_library(somelib ${srcs}) target_link_libraries (somelib ${GFL_LIBRARIES} ) This is much more scalable. Does that help?

Re: [CMake] Proper way to set a binary folder inside of the "Debug" folder for Visual Studio

2010-03-18 Thread Mike Jackson
Guys, thanks for the suggestions. I'll give them a try in the morning. Hacking on ParaView currently... _ Mike Jackson mike.jack...@bluequartz.net On Thu, Mar 18, 2010 at 5:09 PM, David Cole wrote:

[CMake] Proper way to set a binary folder inside of the "Debug" folder for Visual Studio

2010-03-18 Thread Mike Jackson
d a post build step be required for this or something else? _________ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Eng

Re: [CMake] Still no luck with visual studio 2008

2010-03-17 Thread Mike Jackson
Did you compile Qt with Visual Studio? That is what the error is saying. You are trying to configure your project using the visual studion generator against a Qt built with MinGW. You can not do this. _ Mike Jackson

Re: [CMake] Function for visibility definitions

2010-02-10 Thread Mike Jackson
And what happens when a project wants to use my library? That project must now use Cmake and your macro. What if a project downstream can not use Cmake to define those macros? What then? Mike Jackson On Feb 11, 2010, at 2:04, Hilton Medeiros wrote: Hello Christian, thanks for the

Re: [CMake] How to findXXX libraries with debug suffix

2010-02-09 Thread Mike Jackson
builds all of them first before the mail CxImage is built. You can pull any of these projects to take a look at how I chose to implement the CMake specifics. _ Mike Jackson mike.jack...@bluequartz.net On Tue, Feb 9, 2010

Re: [CMake] How to use DEFINE_SYMBOL properly?

2010-02-09 Thread Mike Jackson
your project. Also, if you are converting another non-cmake project to CMake then how that projects goes about implementing their visibility macros may be different than how CMake chose to do it. _________ Mike Jackson mike.jack..

Re: [CMake] How to findXXX libraries with debug suffix

2010-02-09 Thread Mike Jackson
ode is taken directly from the FindQt4.cmake file. _____ Mike Jackson mike.jack...@bluequartz.net On Tue, Feb 9, 2010 at 8:40 AM, Luigi Calori wrote: > Hi Mike, thanks for the code, I' ll try to understand it and to apply

Re: [CMake] How to use DEFINE_SYMBOL properly?

2010-02-09 Thread Mike Jackson
http://www.cmake.org/Wiki/BuildingWinDLL _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Tue, Feb 9, 2010

Re: [CMake] How to findXXX libraries with debug suffix

2010-02-09 Thread Mike Jackson
) # Restore CMAKE_REQUIRED_INCLUDES and CMAKE_REQUIRED_FLAGS variables SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES_SAVE}) SET(CMAKE_REQUIRED_FLAGS${CMAKE_REQUIRED_FLAGS_SAVE}) # # ENDIF (EXPAT_FOUND) --8< ___

Re: [CMake] How to get Qt shared libraries to install with cmake 2.8.0

2010-02-03 Thread Mike Jackson
MENT "Copying ${qtlib}4.dll to ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Release/") ENDIF (WIN32) ENDFOREACH(qtlib) endif() endif(DEFINED QT_QMAKE_EXECUTABLE) endif() _________ Mike Jackson mike.ja

Re: [CMake] Java Support

2010-01-23 Thread Mike Jackson
You should have a CLASSPATH environment variable set so java knows where to find the jar files when running. sort of similar to the LD_LIBRARY_PATH when running a C/C++ application. Mike Jackson Sent from my iPod On Jan 22, 2010, at 22:18, Alex Brandt wrote: On Friday 22 January 2010

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread Mike Jackson
to build your code. That is a pretty short "How to" but there are more examples floating around the internet. _________ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bl

Re: [CMake] How to customise filters in cmake generated projects for VS2008

2010-01-20 Thread Mike Jackson
SOURCE_GROUP("ProjectInclude" FILES ${SOME_HEADERS} ) _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton,

Re: [CMake] Qt qmake not found

2010-01-08 Thread Mike Jackson
You installed qt version 3 instead of qt version 4. Sudo apt-get install qt4-dev. Or something like that. Mike Sent from my iPod On Jan 8, 2010, at 21:59, David Doria wrote: On Fri, Jan 8, 2010 at 9:50 PM, Tyler Roscoe wrote: On Fri, Jan 08, 2010 at 09:30:14PM -0500, David Doria wrote:

Re: [CMake] Mac OSX GUI

2009-12-13 Thread Mike Jackson
oa version. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Sun, Dec 13, 2009 at 9:13 PM, Steven Wilson

Re: [CMake] Framework Installation Directory / Framework copying

2009-12-09 Thread Mike Jackson
Hmm. I'll have to give that a try. Thanks _ Mike Jackson mike.jack...@bluequartz.net On Wed, Dec 9, 2009 at 4:48 PM, Clinton Stimpson wrote: > On Wednesday 09 December 2009 02:42:13 pm y

Re: [CMake] Framework Installation Directory / Framework copying

2009-12-09 Thread Mike Jackson
...] [WORKING_DIRECTORY dir] [COMMENT comment] [VERBATIM] ) add_custom_target(${qtlib}-Debug-Copy ALL COMMAND ${CMAKE_COMMAND} -E copy_if_different ${QT_DLL_PATH_tmp}/${qtlib}${TYPE}4.dll ${CMAKE_RUNTIME_OUTPUT_DIRECTOR

Re: [CMake] CMAKE vsprops or equivalent...

2009-12-09 Thread Mike Jackson
re >>> no (+,-) refs in the manual. >> >> I don't know what you mean by "(+,-) refs in the manual". >> >> tyler >> > > > > -- > Cheers, > Timothy St. Clair Little late to the thread, but are you trying to set a Compile Def

Re: [CMake] CMake 2.8.0 built on OS X crashes on Startup.

2009-12-05 Thread Mike Jackson
Reported as bug number 1 <http://paraview.org/Bug/view.php?id=1> Hey, do I get some sort of Cookie or something for having bug number 10,000? At least it will be easy to remember the bug number. _ Mike J

Re: [CMake] CMake 2.8.0 built on OS X crashes on Startup.

2009-12-05 Thread Mike Jackson
\"../Resources/\" WORKING_DIRECTORY \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/bin)") ENDIF(QT_MAC_USE_COCOA) ENDIF(APPLE) Hopefully that will get committed into CVS HEAD asap as this probably is getting pretty important with Snow Leopard defaulting to 64 bit compiles,

Re: [CMake] Build only what you need in third party libs

2009-12-05 Thread Mike Jackson
I _think_ you _might_ be able to set the BUILD_PROJECTS to "file_system;system" then do the "add_subdirectory()". Give it a shot and see what happens. _________ Mike Jackson mike.jack...@bluequartz.net

Re: [CMake] CMake 2.8.0 built on OS X crashes on Startup.

2009-12-05 Thread Mike Jackson
Qt 4.5 Carbon does not require the qt_menu.nib to be in the final shipping application which is why all the previous scripts work. But then again, you probably knew that... ;-) _ Mike Jackson mike.jack...@bluequartz.net On

Re: [CMake] CMake 2.8.0 built on OS X crashes on Startup.

2009-12-05 Thread Mike Jackson
roblem is my own. Same thing goes for ParaView as it suffers the same problem. _____ Mike Jackson mike.jack...@bluequartz.net On Sat, Dec 5, 2009 at 1:42 AM, Michael Wild wrote: > Yes, that is the only reason. They are bu

Re: [CMake] .h file preprocessor definition

2009-11-22 Thread Mike Jackson
http://www.cmake.org/Wiki/BuildingWinDLLI think is what you want to read. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer

Re: [CMake] using cmake to link window lib and dll files

2009-11-15 Thread Mike Jackson
You might want to consider using the "find_library()" command. It would look something like the following: find_library (EPANET_LIB epanet2 PATHS ${TEST_SOURCE_DIR}/epanet ) _ Mike Jackson

Re: [CMake] CPack not packaging DLL, only the import library.

2009-11-13 Thread Mike Jackson
guess not. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Fri, Nov 13, 2009 at 5:21 PM, Mike Jackson wrote: > I have the following: > > INSTALL(TARGETS ${MX

Re: [CMake] CPack not packaging DLL, only the import library.

2009-11-13 Thread Mike Jackson
alled into the bin directory. Odd. In my mind those 2 install commands are the same. So where am I mis-interpreting what is going on? Mike Jackson _ Mike Jackson mike.jack...@bluequartz.net BlueQuart

[CMake] Trouble with "INSTALL" command and CPACK (CMake 2.6.4)

2009-11-13 Thread Mike Jackson
correctly. Help. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio ___

Re: [CMake] How to include Boost in Visual Studio cmake project

2009-11-11 Thread Mike Jackson
ry. So, to sum up, try rebuilding boost by including the --prefix=C:\ and "install" arguments to bjam. Then remove everything from your RobWork build directory and then reconfigure RobWork using cmake. _________ Mike Jackson

Re: [CMake] add_executable with -D

2009-11-01 Thread Mike Jackson
Cmake -DCMAKE_INSTALL_PREFIX=/use/myproject ../ Mike Jackson Sent from my iPod On Nov 1, 2009, at 16:51, Alex H wrote: Sorry what I was trying to ask is, how do I run CMake with an option that I have defined in the option section of CMakeLists.txt? > Date: Sun, 1 Nov 2009 22:47

Re: [CMake] add_executable with -D

2009-11-01 Thread Mike Jackson
You need to use the add_defintions() command Sent from my iPod Mike Jackson On Nov 1, 2009, at 13:12, Alex H wrote: Usually using g++ I can do the following: g++ -D DEBUG main.cpp how can I add the similar function of -D DEBUG in CMake? I tried to read the add_executable() command and it

Re: [CMake] Include Guard to Stop Duplicate Targets?

2009-10-24 Thread Mike Jackson
and b are something like plugins and they need the executables A, B or C built first then you may have to add some logic to the components a and b to avoid adding them again. _ Mike Jackson mike.jack...@bluequartz.net BlueQ

Re: [CMake] temporary build directory for header files

2009-10-16 Thread Mike Jackson
it. You could also use the "include_directories" to add /root/subproject1/ to the include directories. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principa

Re: [CMake] Endless Regeneration of Visual Studio Files

2009-10-16 Thread Mike Jackson
, I configured for VS and things seem to be back to normal. _ Mike Jackson mike.jack...@bluequartz.net On Thu, Oct 15, 2009 at 5:31 PM, Mike Jackson wrote: > Generated a project for VS 2008 Standard Edition Win64 and whe

[CMake] Endless Regeneration of Visual Studio Files

2009-10-15 Thread Mike Jackson
st time through Thanks for any pointers. What if moc or uic generates the same file twice (due to the same UI file being in 2 different targets)? Thanks _________ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Software

Re: [CMake] choose 32bit or 64bit in visual studio

2009-10-08 Thread Mike Jackson
ect either the " Visual Studio 9 2008" for 32 Bit development or " Visual Studio 9 2008 - Win64" for 64 bit development. You will end up with 2 Visual Studio solution files, 1 in each build directory, for your project. Hope that clears it all up. Mike Jackson PS: The Visual S

Re: [CMake] Problems with CMake and Boost in Ubuntu 9.04

2009-10-03 Thread Mike Jackson
RIES(${Boost_LIBRARY_DIRS}) _____ Mike Jackson mike.jack...@bluequartz.net On Sat, Oct 3, 2009 at 9:31 AM, motes motes wrote: > I am trying to build an application with CMake using Boost and the > boost unit-testing framework i

Re: [CMake] Best practices when using CMake 2.6 and Eclipse CDT 6.0

2009-10-02 Thread Mike Jackson
e Galileo SR1 and Option 2 still works just fine. I use Eclipse CDT 6.0.1 on Windows with MinGW, OS X, and Linux. Hope that helps _____ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequart

Re: [CMake] Best practices when using CMake 2.6 and Eclipse CDT 6.0

2009-10-02 Thread Mike Jackson
ou might want to try that version out. > http://www.cmake.org/files/v2.8/ > > HTH > > -- > Philip Lowman I'm confused by the "preprocessor statement highlighting" in Cmake 2.8? What exactly is being highlighted? Is there a new Text Editor or is this something in CMak

Re: [CMake] Using cmake to configure a 32 bit project on Windows 64 Bit OS

2009-09-09 Thread Mike Jackson
And just to follow up, all I had to do was "Add Components" to the already installed VC++ tools to add the "Visual C#" package and now it looks like I am in business.. Sorry for the noise. _________ Mike Jackson

Re: [CMake] Using cmake to configure a 32 bit project on Windows 64 Bit OS

2009-09-09 Thread Mike Jackson
# and Web stuff. Stupid Me... _ Mike Jackson mike.jack...@bluequartz.net On Wed, Sep 9, 2009 at 3:01 PM, John Drescher wrote: > On Wed, Sep 9, 2009 at 2:52 PM, Mike Jackson > wrote: >> I tried the following: >&g

[CMake] Using cmake to configure a 32 bit project on Windows 64 Bit OS

2009-09-09 Thread Mike Jackson
who has hit this problem and I am sure it is something simple that I am missing. Thanks for any help _____ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software En

Re: [CMake] VS 2008 x64, Boost 1.39 - Can not find boost libraries

2009-08-27 Thread Mike Jackson
s with > bjam. > > > On Tue, Aug 25, 2009 at 8:01 AM, Mike Jackson > wrote: >> >> Just to be clear, did you build them with the 64bit command prompt >> from Visual Studio? Otherwise how did you build them? >> >>  I ended up tweaking the cmake fi

Re: [CMake] VS 2008 x64, Boost 1.39 - Can not find boost libraries

2009-08-25 Thread Mike Jackson
this is all new to me (the windows side of things any ways...) _ Mike Jackson mike.jack...@bluequartz.net On Tue, Aug 25, 2009 at 12:26 AM, Philip Lowman wrote: > Mike, > > Let us know what you find out.  I've

[CMake] VS 2008 x64, Boost 1.39 - Can not find boost libraries

2009-08-24 Thread Mike Jackson
ed the boost-build list to see if this is a bug, feature or over-sight... _____ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer

Re: [CMake] InstallRequiredSystemLibraries.cmake and Redistribution of the shared C runtime component in Visual C++

2009-08-20 Thread Mike Jackson
d to run the vcredist silently during the installation. I think that is all. I would also like to thank everyone here for their patience with me today. Also like to put in a word to the VirtualBox guys at Sun. The make really nice FREE virtual machine which allowed the quick testing of the install

Re: [CMake] InstallRequiredSystemLibraries.cmake and Redistribution of the shared C runtime component in Visual C++

2009-08-20 Thread Mike Jackson
avoid DLL hell .. ) ITK is currently rebuilding which will take another hour or so. I'll report back when that is complete maybe with some good _________ Mike Jackson mike.jack...@bluequartz.net On Thu, Aug 20, 2009 at 6:57 PM,

Re: [CMake] InstallRequiredSystemLibraries.cmake and Redistribution of the shared C runtime component in Visual C++

2009-08-20 Thread Mike Jackson
n license agreement to >> build binaries for other people. You need at least the "Standard" edition of >> VS to get that capability. >> >> >> HTH, >> David >> >> On Thu, Aug 20, 2009 at 5:11 PM, Mike Jackson >> wrote: >>> >

Re: [CMake] InstallRequiredSystemLibraries.cmake and Redistribution of the shared C runtime component in Visual C++

2009-08-20 Thread Mike Jackson
On Thu, Aug 20, 2009 at 4:06 PM, James Bigler wrote: > On Thu, Aug 20, 2009 at 1:51 PM, Mike Jackson > wrote: >> >> On Thu, Aug 6, 2009 at 3:12 PM, Marcus D. Hanwell wrote: >> > James Bigler wrote: >> >> On Thu, Aug 6, 2009 at 12:10 PM, Bill Hoffman >&g

Re: [CMake] InstallRequiredSystemLibraries.cmake and Redistribution of the shared C runtime component in Visual C++

2009-08-20 Thread Mike Jackson
a solution that did NOT involve editing anything from VC++ install as I would have to pass those instructions on to the next Developer. Clinton's posting about including the VCRedist.exe in the NSIS installer is OK by me. Is that what everyone else is doing? Thanks -- Mike Jackson

Re: [CMake] CMake Digest, Vol 64, Issue 50

2009-08-19 Thread Mike Jackson
RBOSE=1 Then you can manually invoke the build for your project and see what happens. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayto

Re: [CMake] Qt stand alone and deployable bundle OS X application

2009-08-17 Thread Mike Jackson
The fixup bundle function _should_ be taking care of any dylib or framework that is linked to your application. If the function is NOT doing this then either we need better instructions, updated instructions or the function has been mis-used. I am betting a little bit of all of that. I use the fi

Re: [CMake] #1f/#endif trouble...

2009-08-16 Thread Mike Jackson
cause I use it on Tiff, Expat, HDF5 and all my own projects with makefiles and Xcode projects and I have not had any difficultly using it. _ Mike Jackson mike.jack...@bluequartz.net On Sun, Aug 16, 2009 at 5:41 PM, ML wrote: &

Re: [CMake] (no subject)

2009-08-13 Thread Mike Jackson
r but thanks for the help. If your frameworks are located in the standard locations then you should NOT have to set ANYTHING. Just use the find_library() command as usual. If you install your frameworks in other locations then you are going to have to provide those locations to cmake. Mike Jackson

Re: [CMake] CMAKE_VERBOSE_MAKEFILE

2009-08-12 Thread Mike Jackson
Make VERBOSE=1 Sent from my iPod On Aug 12, 2009, at 18:15, Hai Nguyen wrote: Is there some kind of magic to using this other than turning it on? The behavior seems really inconsistent or it just flat out doesn't work. Thanks, - Hai ___ Powered

Re: [CMake] Linking against OS X Frameworks

2009-08-10 Thread Mike Jackson
TECTURES was wrong.] > > Still errors I mentioned. > > -Jason > > What version of CMake are you using? I'm not sure if the CMAKE_OSX_DEPLOYMENT_TARGET was included in the CMake 2.6 branch. You may also have to set these BEFORE the first time you ever run CMake

Re: [CMake] Including Files

2009-08-10 Thread Mike Jackson
just like substituting the code in the included file right into the current cmake file where you wrote the "include()" command. Mike Jackson On Mon, Aug 10, 2009 at 7:43 PM, ML wrote: > Hi All, > > In my CMakeList..txt, I want to do some including of other files that will > do s

Re: [CMake] configure_file - false vs "0"

2009-08-09 Thread Mike Jackson
gure.h @ONLY) and in your config.h.in you will have: #define TEST_VAR_VALUE @TEST_VAR_VALUE@ This results in TEST_VAR_VALUE _always_ being defined in your program. It will be defined to what ever you set it to in the *.cmake file. -- Mike Jackson

Re: [CMake] Linking against OS X Frameworks

2009-08-09 Thread Mike Jackson
On Sun, Aug 9, 2009 at 3:07 PM, Michael Wild wrote: > > On 9. Aug, 2009, at 18:59, ML wrote: > >> Michael, >> >> Thank you for this example! It was really informative. Definitely a >> missing piece in my knowledge thus far. >> >> One question: >> >> I get an error stating: >> >> CMake Error at CMak

Re: [CMake] Copying files

2009-07-22 Thread Mike Jackson
xpat variant is all under a BSD license (at least the parts that I wrote) so use what you want from it and let me know if you find things that could be improved upon.) Mike Jackson On Wed, Jul 22, 2009 at 9:07 PM, Tyler Roscoe wrote: > On Wed, Jul 22, 2009 at 05:13:54PM -0700, ML wrote:

Re: [CMake] Eclipse generator - basic macros

2009-07-15 Thread Mike Jackson
2 is defined for the MS compilers and when MinGW is being used so the "#elif" will _never_ get executed? Where am I going wrong on this? I put the following at the top of a source file and compiled with MinGW and got an error: #ifdef _WIN32 #error Um what is wrong #endif I looked at the

Re: [CMake] Eclipse generator - basic macros

2009-07-14 Thread Mike Jackson
ing that. > I have tried more than a few times to set that up all without any luck. > > ** I am also assuming you mean the nmake that comes with Visual Studio and > not the nmake that comes with UWin from AT&T > > --- > Mike Jackson                 www.bluequartz.

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-07 Thread Mike Jackson
Can you post your module or attach it to a bug/feature request? I also have a FindHDF5 module and I would like to compare the two. Mike Jackson www.bluequartz.net On Tue, Jul 7, 2009 at 11:03 AM, Will Dicharry wrote: > Hi All, > > I have written a find module that invokes the hdf

Re: [CMake] Conditional compilation of entire files

2009-07-05 Thread Mike Jackson
I think this should work: set (SRC_LIST Foo.cpp Bar.cpp) OPTION(SOME_COOL_OPTION "Build Library with super cool option" ON) if(SOME_COOL_OPTION) set (SRC_LIST ${SRC_LIST} Bazz.cpp) endif() add_library (MyLibrary ${SRC_LIST}) Mike Jackson On Sun, Jul 5, 2009 at 8:55 AM, Lucas T

Re: [CMake] Checking MSVC90 or higher?

2009-06-28 Thread Mike Jackson
e with QtAssistant. They are all broken down into commands, variables etc. They are also indexed and searchable. If you are interested I can send the script. Basically I generate them for each release. I then have an "alias" on the command like to launch QtAssistant with that help docume

Re: [CMake] #cmakedefine and the #if vs #ifdef argument

2009-06-11 Thread Mike Jackson
in your cmakelists.txt files use the following: set (VAR_THAT_IS_ON 1) set (VAR_THAT_IS_OFF 0) instead of TRUE or FALSE. Means the same thing plus your configured files will "just work". Mike On Thu, Jun 11, 2009 at 5:32 PM, Hostile Fork wrote: > Hello list! > > As a learning exercise, I am add

Re: [CMake] #cmakedefine and the #if vs #ifdef argument

2009-06-11 Thread Mike Jackson
Sometimes I'll do something like the following: set (FOO_SOMETHING_SUPPORT 0) OPTION (USE_SOMETHING "blah blah" ON) if (USE_SOMETHING) set (FOO_SOMETHING_SUPPORT 1) endif() then in my .h.in file I'll have: #define FOO_SOMETHING_SUPPORT @ FOO_SOMETHING_SUPPORT@ That is just one way to do what

Re: [CMake] how to select static libraries for linking?

2009-06-11 Thread Mike Jackson
On Thu, Jun 11, 2009 at 8:46 PM, James C. Sutherland wrote: >> >>  If you distribute on OS X then there are some CMake facilities to >> help you create a stand alone .app bundle. Basically it will run >> "install_name_tool" on the dylibs to make sure they reference >> dependent libraries that are s

Re: [CMake] how to select static libraries for linking?

2009-06-11 Thread Mike Jackson
ET(CMAKE_FIND_LIBRARY_SUFFIXES ${_hdf5_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES}) ENDIF( HDF5_USE_STATIC_LIBS ) If you give me some time I may be able to incorporate that into the MXAFindHDF5.cmake file. Mike jackson On Thu, Jun 11, 2009 at 7:32 PM, James C. Sutherland wrote: >> >> If you are distributing your ap

Re: [CMake] how to select static libraries for linking?

2009-06-11 Thread Mike Jackson
James, If you distribute on OS X then there are some CMake facilities to help you create a stand alone .app bundle. Basically it will run "install_name_tool" on the dylibs to make sure they reference dependent libraries that are stored inside the .app bundle. Usually this is a real pain to do by

Re: [CMake] linking main.cpp to class in the same folder.

2009-06-11 Thread Mike Jackson
ADD_EXECUTABLE(prog main.cpp class.cpp) On Thu, Jun 11, 2009 at 7:52 AM, e...@cs.bgu.ac.il wrote: > > hello. > I've got a class in a folder that I want to run from a main.cpp file, when I > compile it, I get a undefined reference to the class's methods. > do I must create a lib from that single c

Re: [CMake] Removing flags added by the Platform modules

2009-06-02 Thread Mike Jackson
You can always replace the file in the modules directory with your own edited version. Mike Jackson Sent from my iPod On Jun 2, 2009, at 19:22, Will Dicharry wrote: We have a problem on AIX with the IBM C++ compiler. In the standard cmake AIX Platform module in cmake-2.6/Modules

Re: [CMake] win32 and x64 in the same generator?

2009-06-01 Thread Mike Jackson
On Mon, Jun 1, 2009 at 10:36 PM, Philip Lowman wrote: > On Mon, Jun 1, 2009 at 6:29 PM, Tyler Roscoe wrote: >> >> What are the pitfalls or difficulties in supporting this sort of >> "cross-compiling" in Visual Studio? > > Two things come to mind: > > 1. find_library() (i.e. dependencies).. How wo

Re: [CMake] post-install script

2009-05-23 Thread Mike Jackson
ow to use it) let me know. I have lots of examples on how to use it. Mike Jackson On Sat, May 23, 2009 at 8:16 AM, Michael Wild wrote: > Thanks David > > yes, I already did try that (it's the obvious thing to try...). > Unfortunately the script runs before any of the files get in

Re: [CMake] Eclipse CDT link location

2009-05-21 Thread Mike Jackson
ou can ask questions on. Mike Jackson On Thu, May 21, 2009 at 4:22 AM, Javier Sanz wrote: > It seems either no one has solution or I did not explain myself properly. > > Well, > Thank you very much to the list anyway. > Javier Sanz > > 2009/5/19 Javier Sanz >> >>

Re: [CMake] CMake and Visual Studio

2009-05-09 Thread Mike Jackson
gs. My code just represents one way to accomplish these, other people will suggest other valid ways to do the same thing. Mike Jackson ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensourc

Re: [CMake] FindQt4.cmake returns too much irrelevant information

2009-05-08 Thread Mike Jackson
KE_BUILD_TYPE. > From what I can tell, it seems you're asking for a change to FindQt4.cmake > to support making a CMakeLists.txt that is less-portable. > Maybe we need another way to solve this? > > Clint > Don't forget that there are t

Re: [CMake] OS X Bundle building -- adding external DYLIB files?

2009-04-28 Thread Mike Jackson
location: http://www.bluequartz.net/software/files/QtTest.tar.gz It should be enough to get you going. If you have questions just ask the list. -- Mike Jackson www.bluequartz.net On Tue, Apr 28, 2009 at 2:21 PM, kent williams wrote: > I just wrote a CMakeLists.txt file for a program that depe

Re: [CMake] OS X Bundle building -- adding external DYLIB files?

2009-04-28 Thread Mike Jackson
There is also this wiki entry that might help. http://www.cmake.org/Wiki/BundleUtilitiesExample Mike Jackson On Tue, Apr 28, 2009 at 2:21 PM, kent williams wrote: > I just wrote a CMakeLists.txt file for a program that depends on a > bunch of libraries that I had to build before buildi

Re: [CMake] libraries and exported functions

2009-04-22 Thread Mike Jackson
I can add the missing information or you can edit the article to add more information specific to GCC. - Mike Jackson BlueQuartz Software www.bluequartz.net On Wed, Apr 22, 2009 at 3:53 PM, Christopher Harvey wrote: > Does cmake provide a mechanism to le

Re: [CMake] findBoost says it finds static unit testing libraries, but does not set them

2009-04-19 Thread Mike Jackson
I think at this point the FindBoost.cmake file is just going to have to have the same options that BJam has for building boost in all of its variations: Shared or Static libraries Debug or Release Static or Dynamic C++ Runtime Link Just another thing to add to the mix of possibilities. What woul

Re: [CMake] QtCreator Comments - was [CMake generators (Xcode and Unix Makefile)]

2009-04-16 Thread Mike Jackson
On Thu, Apr 16, 2009 at 3:38 PM, Alexander Neundorf wrote: > On Thursday 16 April 2009, Michael Jackson wrote: > ... >> Actually, the latest release candidate of QtCreator has "basic" >> makefile support so hopefully that would mature more in the near >> future. I also had the opportunity to chat

Re: [CMake] Compiling dll under MSVC 2008

2009-04-16 Thread Mike Jackson
You will want to read this link <http://www.cmake.org/Wiki/BuildingWinDLL> which should explain everything you need to know. Mike Jackson PS: Feedback on that article is also welcome. On Thu, Apr 16, 2009 at 1:39 PM, Benoit wrote: > Hello, > > I've a problem when usin

  1   2   3   4   5   6   >