[CMake] Hello World Program

2009-06-07 Thread Sascha 'saigkill' Manns
Hello Guys, atm i'm learning QT/KDE Programming. I'm created an KDE4Gui Program with the Templatemaker. Then i has gone to the directory, and typed: cmake CMakeList.txt. But i get: WARNING: Target "test" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provi

Re: [CMake] Precompiled Headers

2009-06-07 Thread John Drescher
> Thanks for your help. Do you (or anyone else) know if there are any plans to > make a dedicated function for this so it is cleaner and portable? http://www.vtk.org/Bug/view.php?id=1260 -- John M. Drescher ___ Powered by www.kitware.com Visit other

Re: [CMake] Precompiled Headers

2009-06-07 Thread Robert Dailey
On Sat, Jun 6, 2009 at 11:22 PM, John Drescher wrote: > Here is what I do for Vs2005 builds and CMake 2.6.4 > > I put this in the main CMakeLists.txt before any > add_subdirectory(Libraries) > > > > You need to then create > > laGUIPCH.h > laGUIPCH.cxx > > the .cxx file contains any headers that

Re: [CMake] SWIG syntax errors

2009-06-07 Thread Mathieu Malaterre
On Sat, Jun 6, 2009 at 2:19 AM, Adam A Smith wrote: > I'm curious if someone has run into this before: > > I'm using CMake to make some SWIG .i files.  I then use SWIG on those files, > and it tells me that I have a syntax error.  (I don't know SWIG syntax that > well, but I'm learning.)  I thought