Awesome Philip, that works perfectly. The binary is getting picked up.
I also found that running eclipse in the command line (instead of
Gnome menu) enables the application output console when I choose Run
as Local C/C++ Application.
Thank you very much.
Dat Chu
On Thu, Feb 19, 2009 at 6:48 PM,
On Thu, Feb 19, 2009 at 8:36 PM, Andrea Tagliasacchi wrote:
> Thanks Philip,
>
> that worked flawlessly!
>
> I would say that *this* is the most compact CMake specification to compile
>
> a Glut/OpenGL application then:
>
> *find_package(GLUT)
> find_package(OpenGL)
> INCLUDE_DIRECTORIES(${OPENGL
On Thu, Feb 19, 2009 at 3:38 PM, Alexander Neundorf wrote:
> On Wednesday 18 February 2009, Philip Lowman wrote:
> > This is an interesting idea.
> >
> > One thought I had was the potential of new features creeping into the
> CMake
> > module you're downloading that aren't yet available in the C
Thanks Philip,
that worked flawlessly!
I would say that *this* is the most compact CMake specification to compile
a Glut/OpenGL application then:
*find_package(GLUT)
find_package(OpenGL)
INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
ADD_EXECUTABLE(mesh_view mesh_view.cpp)
TARGET_LINK_LIBRARIES(mesh
On Thu, Feb 19, 2009 at 8:18 PM, Andrea Tagliasacchi wrote:
> Hello everybody,
>
> I have given up on Makefiles, implicit rules and unreadability just annoyed
> me.
> Also the ability of generating cross platform compile files is very
> appealing.
>
> As far as I compile my independent code (no e
Hello everybody,
I have given up on Makefiles, implicit rules and unreadability just annoyed
me.
Also the ability of generating cross platform compile files is very
appealing.
As far as I compile my independent code (no external libraries)
everything goes fine. However, one of my applications is
On Thu, Feb 19, 2009 at 5:25 PM, Brad King wrote:
> AFAIK the word 'deprecated' does not appear in the documentation for
> EXECUTABLE_OUTPUT_PATH. It will be around for a long time. We just
> recommend using the new variables because they are more powerful:
>
> 1.) The new variables actually j
On Thu, Feb 19, 2009 at 6:30 PM, Dat Chu wrote:
> So I got my Eclipse CDT project imported just like the wiki said. I
> can build it just fine (which is great). But when I build the project,
> the binary is not added to my Eclipse project. Thus I cannot run it
> and have the output inside Eclipse
So I got my Eclipse CDT project imported just like the wiki said. I
can build it just fine (which is great). But when I build the project,
the binary is not added to my Eclipse project. Thus I cannot run it
and have the output inside Eclipse Console tab.
I have to a terminal, navigate to the proje
kent williams wrote:
So we have a big program (well a couple of them Brains2 and Brains3),
and a bunch of 'unbundled' programs (BRAINSFit, BRAINSDemonWarp,
BRAINSTracer etc..).
We use SVN to add the 'unbundled' programs as subdirectories of our
BRAINS svn checkout.
So our CMakeLists.txt files i
2009/2/19 kent williams :
> So we have a big program (well a couple of them Brains2 and Brains3),
> and a bunch of 'unbundled' programs (BRAINSFit, BRAINSDemonWarp,
> BRAINSTracer etc..).
>
> We use SVN to add the 'unbundled' programs as subdirectories of our
> BRAINS svn checkout.
>
> So our CMake
So we have a big program (well a couple of them Brains2 and Brains3),
and a bunch of 'unbundled' programs (BRAINSFit, BRAINSDemonWarp,
BRAINSTracer etc..).
We use SVN to add the 'unbundled' programs as subdirectories of our
BRAINS svn checkout.
So our CMakeLists.txt files in our unbundled program
2009/2/19 Bruno Antunes :
>
> Hello!
>
> Is there any way to include post-install events in CPack's DEB generator?
>From CPackDeb.cmake I think you may include extra scripts in the control.tar.gz
generated by CPack DEB generator.
# CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
# This variable allow advance
Hello!
Is there any way to include post-install events in CPack's DEB generator?
Thanks,
--
Bruno
http://iruel.net
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please k
On Wednesday 18 February 2009, ankit jain wrote:
> Hi all,
>
> I have a directory structure with follwoign cmakelist as:
>
> myfold
> Cmakelist.txt
> subfolder
>
> subfolder
> Cmakelists.txt
> myfile.cpp
>
> Contents of Cmakelist of subfolder:
>
> add_executable(myfile myfile.cpp)
>
On Wednesday 18 February 2009, Philip Lowman wrote:
> On Tue, Feb 17, 2009 at 4:19 PM, Eric Noulard wrote:
...
> > if FORCE_UPDATE is YES/TRUE then the module would be updated everytime
> > cmake is run.
> > The default would be not to update if the file is already there locally.
> >
> > So then CM
Nice Idea.
In the mean time you might want to take a look at FindQt4.cmake in
the Modules directory. In that file are some macros like:
# QT4_WRAP_CPP(outfiles inputfile ... )
MACRO (QT4_WRAP_CPP outfiles )
# get include dirs
QT4_GET_MOC_FLAGS(moc_flags)
QT4_EXTRACT_OPTIONS(
jessepe...@gmail.com wrote:
> The real solution is to create a new sub-class of the visual studio
generator for the intel compiler, or maybe it is just a flag on the
existing generator. Calling ICProjConvert seems like a bad idea, and I
would not accept a generator based on that solution into
Is it possible to have a script run after the STGZ install?
I want to run install_name_tool on a mac after some libraries are installed
in order to encode the installed path into the library names.
I'll need to be able to pass the installation directory to the script.
James
_
The real solution is to create a new sub-class of the visual studio
generator for the intel compiler, or maybe it is just a flag on the
existing generator. Calling ICProjConvert seems like a bad idea, and I
would not accept a generator based on that solution into CMake.
Fair enough. I won't
I've not seen a straightforward way to do this, but would happily be
corrected :-)
I have a few types of files in our project which, based on the extension,
need certain actions performed as part of the build. For example, foo.S
would require running cpp on the file before assembling it. Or, sever
Aaron Turner wrote:
Whoops, my bad. Typed "add_custom_target" not "add_custom_command".
Thanks everyone, this makes sense now.
To answer the original question, the best way to generate a bunch of things
only when the users asks is to use add_custom_command to create the rules
and then associa
On Thu, Feb 19, 2009 at 8:29 AM, Matthew Woehlke
wrote:
> Aaron Turner wrote:
>>
>> From the docs, it sounded like this only worked when adding commands
>> to existing targets, not for creating new ones.
>
> Correct, as Eric already pointed out. You need to create the target first
> with add_custo
Never mind. The individual was using a self built version of gcc 4.3
on OS X.
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer
Aaron Turner wrote:
From the docs, it sounded like this only worked when adding commands
to existing targets, not for creating new ones.
Correct, as Eric already pointed out. You need to create the target
first with add_custom_target.
My testing though seems to show that the correct usage i
Why exactly might I get this error? There is someone on the vtk users
list that is getting this error when trying to compile VTK 5.0.1 on OS
X intel 10.5.6 with Xcode 3.1.
Thanks
_
Mike Jackson mike.jack...@bluequartz.ne
Pau Garcia i Quiles writes:
> SET( Boost_ADDITIONAL_VERSIONS 1.38 1.38.0 )
I tried version 2.6.3-RC-15, and the build succeeded nicely. Thanks for
your help!
Take care,
Peter
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Try downloading CMake 2.6.3 RC (to use it's FindBoost) then call
set(Boost_DEBUG TRUE) before you call find_package(Boost...). If it
doesn't work, paste the output here and we can help figure out what's wrong.
.. Original Message ...
On Thu, 19 Feb 2009 15:01:26 +0100 "Peter Simons" wr
Jesse Perla wrote:
If ICProjConvert*.exe works you might be able to jurry-rig a .bat file or
something to convert your projects manually after CMake runs.
The real solution is to create a new sub-class of the visual studio
generator for the intel compiler, or maybe it is just a flag on the
> If ICProjConvert*.exe works you might be able to jurry-rig a .bat file or
> something to convert your projects manually after CMake runs.
Here is how I got things to work:
0. It appears that the ICProjConvert***.exe is by default in the
c:\Program Files\Common Files\Intel\Shared Files\ia32\Bin d
On Thu, Feb 19, 2009 at 3:01 PM, Peter Simons wrote:
> Pau Garcia i Quiles writes:
>
> > FindBoost.cmake from CMake 2.6.2 does not look for Boost 1.37.0 or
> > newer by default. Either you update to CMake CVS (or 2.6.3RC), or you
> > do this:
> >
> > SET( Boost_ADDITIONAL_VERSIONS 1.38 1.38.0
Pau Garcia i Quiles writes:
> FindBoost.cmake from CMake 2.6.2 does not look for Boost 1.37.0 or
> newer by default. Either you update to CMake CVS (or 2.6.3RC), or you
> do this:
>
> SET( Boost_ADDITIONAL_VERSIONS 1.38 1.38.0 )
I added that line to my CMakeLists.txt file, but it doesn't see
Steven Van Ingelgem wrote:
Hi all,
How can I (on windows) do the following:
cmake .. -DCMAKE_USE_NEW_CURL=1
It always results in an error (upon compilation)?
Scanning dependencies of target cmcurl
The new curl is currently untested. So, to avoid the error, don't try
to use it.
-Bill
___
On Thu, Feb 19, 2009 at 12:52 PM, Peter Simons wrote:
> Hi,
>
> I'm having trouble using CMake's FindBoost() with versioned libraries.
> Boost.System, for example, exists in the following variants:
>
> libboost_system-gcc43-mt-1_38.a
> libboost_system-gcc43-mt.a
> libboost_system-gcc43-1_38.a
>
On 19.02.09 12:52:14, Peter Simons wrote:
> Hi,
>
> I'm having trouble using CMake's FindBoost() with versioned libraries.
> Boost.System, for example, exists in the following variants:
>
> libboost_system-gcc43-mt-1_38.a
> libboost_system-gcc43-mt.a
> libboost_system-gcc43-1_38.a
> libbo
Hi,
I'm having trouble using CMake's FindBoost() with versioned libraries.
Boost.System, for example, exists in the following variants:
libboost_system-gcc43-mt-1_38.a
libboost_system-gcc43-mt.a
libboost_system-gcc43-1_38.a
libboost_system-gcc43.a
...
Apparently, CMake 2.6.2 won't reco
On Wed, Feb 18, 2009 at 8:10 PM, wrote:
> When you have the Intel C++ compiler installed over Visual Studio, you can
> choose to convert a visual studio project to Intel C++ in the menu.
>
> But I can't figure out how to create a visual studio project which uses the
> Intel Compiler/Project Syste
Hi all,
How can I (on windows) do the following:
cmake .. -DCMAKE_USE_NEW_CURL=1
It always results in an error (upon compilation)?
Scanning dependencies of target cmcurl
[ 16%] Building C object
Utilities/cmcurl-7.19.0/lib/CMakeFiles/cmcurl.dir/file.obj
In file included from
C:\TEMP\CVS\CMake\U
2009/2/19 Aaron Turner :
> On Wed, Feb 18, 2009 at 3:40 PM, Matthew Woehlke
> wrote:
>> Aaron Turner wrote:
>>>
>>> Basically, I'm looking for a way to create a new make target
>>> "test_standard" and associate create_custom_target()'s to it.
>>
>> I assume you mean add_custom_target.
>>
>>> Sugge
2009/2/18 Nicolas Slythe (Intern) :
> I'm using CMake 2.4-patch 8
>
> I have an issue with duplicate file name
>
> If I have 2 file with the same name in different folder CMake does not
> process the second one
2 identical **files** in separate folders should not be an issue
however you cannot hav
40 matches
Mail list logo