Hi all,
I have a folder f1 having 4 files c1.c c2.c c3.c c4.c.
Now iam compiling all these files with certain definitions and other
compiler flags.
Now what i want is that when iam building library for this forder f1 it does
not take c4.c
One way is that i should not include this file in creatin
Andreas Pakulat wrote:
> On 25.05.09 23:17:55, Jed Brown wrote:
> As soon as people start installing differing versions of the same
> software into the same prefix they've already screwed up anyway. Thats
> not supported by any software I use on a daily basis (even KDE3 and KDE4
> are only co-inst
Bill Hoffman wrote:
> You can also set QMake on the cmake command line as well:
>
> cmake -DQT_QMAKE_EXECUTABLE=/path/to/qmake ../source
Yeah, I'm much less concerned with this particular case as with the
philosophy that the correct way to select installations is by modifying
PATH. Frustratingl
On 25.05.09 22:55:17, Jed Brown wrote:
> Andreas Pakulat wrote:
>
> > Can you please elaborate, I have no idea what a/b or foo/bar refer to in
> > this example. However qmake knows exactly where the headers and libs
> > (and data) for the Qt its supposed to be used with are. So having the
> > righ
On 25.05.09 23:17:55, Jed Brown wrote:
> David Thompson wrote:
> >>> Have you ever tried setting the PATH? It is actually quite easy and does
> >>> not involve "great contortions".
> >>>
> >>> All I do is execute
> >>>
> >>> PATH='/home/software/qtsdk-2009.02/qt/bin:'$PATH
> >>>
> >>> and from the
David Thompson wrote:
Have you ever tried setting the PATH? It is actually quite easy and does
not involve "great contortions".
All I do is execute
PATH='/home/software/qtsdk-2009.02/qt/bin:'$PATH
and from then on, cmake uses the version of Qt4 that I downloaded and
installed in the specified
David Thompson wrote:
>>> Have you ever tried setting the PATH? It is actually quite easy and does
>>> not involve "great contortions".
>>>
>>> All I do is execute
>>>
>>> PATH='/home/software/qtsdk-2009.02/qt/bin:'$PATH
>>>
>>> and from then on, cmake uses the version of Qt4 that I downloaded and
> > Have you ever tried setting the PATH? It is actually quite easy and does
> > not involve "great contortions".
> >
> > All I do is execute
> >
> > PATH='/home/software/qtsdk-2009.02/qt/bin:'$PATH
> >
> > and from then on, cmake uses the version of Qt4 that I downloaded and
> > installed in t
Alan W. Irwin wrote:
> Have you ever tried setting the PATH? It is actually quite easy and does
> not involve "great contortions".
>
> All I do is execute
>
> PATH='/home/software/qtsdk-2009.02/qt/bin:'$PATH
>
> and from then on, cmake uses the version of Qt4 that I downloaded and
> installed
Jed Brown wrote:
> Andreas Pakulat wrote:
>
>> Can you please elaborate, I have no idea what a/b or foo/bar refer to in
>> this example. However qmake knows exactly where the headers and libs
>> (and data) for the Qt its supposed to be used with are. So having the
>> right qmake first in your PATH
Andreas Pakulat wrote:
> Can you please elaborate, I have no idea what a/b or foo/bar refer to in
> this example. However qmake knows exactly where the headers and libs
> (and data) for the Qt its supposed to be used with are. So having the
> right qmake first in your PATH is the right thing to se
On 25.05.09 19:10:27, Jed Brown wrote:
> Alan W. Irwin wrote:
>
> > My experience is that you can cleanly distinguish between various Qt4
> > versions by simply putting qmake for the version you want first on
> > your PATH.
>
> Do you seriously consider this a solution,
Of course, you do the sam
Alan W. Irwin wrote:
My experience is that you can cleanly distinguish between various Qt4
versions by simply putting qmake for the version you want first on
your PATH.
Do you seriously consider this a solution, or just a hack that works for
you? It breaks as soon as you have two packages
/p
Alan W. Irwin wrote:
> My experience is that you can cleanly distinguish between various Qt4
> versions by simply putting qmake for the version you want first on
> your PATH.
Do you seriously consider this a solution, or just a hack that works for
you? It breaks as soon as you have two packages
On 2009-05-25 13:40+1200 Matthew Huck wrote:
Hi,
Is there a way to specify to FIND_PACKAGE (when in Module mode) a path on
which to find Qt4, we have a system that has Qt3 (hence qmake) installed as
a system package, and we have build Qt4 in our sandbox, and would like CMake
to find that inst
On Mon, May 25, 2009 at 12:13:13PM +0200, Marcel Loose wrote:
> I get compilation errors, because CMake passes -D definitions to
> the assembler, but the assembler doesn't accept preprocessor
> definitions. These definitions were set a number of directory levels
> higher, using add_definitions(). H
On Mon, May 25, 2009 at 11:28:02AM +0200, ariasg...@gmx.de wrote:
> IF( CMAKE_GENERATOR MATCHES "Visual Studio" )
> # this prevents generation of /debug or /release directories
> SET_TARGET_PROPERTIES( ${PROJECTNAME} PROPERTIES PREFIX "../" )
> ENDIF( CMAKE_GENERATOR MATCHES "Visual St
On Mon, May 25, 2009 at 4:08 AM, Marcel Loose wrote:
> OK, thanks Philip and others.
>
> BTW: FFTW is a library for calculating Fast Fourier Transforms. Version
> 2 of that library supports both single and double precision, but they're
> mutually exclusive, i.e. you cannot mix them. It also offer
Thanks it works now. I did an out-of-source build but I forgot to clean some
cache files from earlier tries.
/ Roland
2009/5/25 Eric Noulard
> 2009/5/25 Roland Waltersson :
> > Hi I have a small sample project in Eclipse. cmake generates it fine
> > and it builds fine, but i can't see any sour
2009/5/25 Roland Waltersson :
> Hi I have a small sample project in Eclipse. cmake generates it fine
> and it builds fine, but i can't see any source code files in the
> project browser. This is my CMakeLists.txt file:
>
> cmake_minimum_required(VERSION 2.6)
> project(WINCABase)
> add_library(WINCA
Hi all,
I have a problem compiling assembly files. I followed the directions on
the Wiki http://www.cmake.org/Wiki/CMake/Assembler to create the
required CMake files.
I get compilation errors, because CMake passes -D definitions to
the assembler, but the assembler doesn't accept preprocessor
defi
Hi I have a small sample project in Eclipse. cmake generates it fine
and it builds fine, but i can't see any source code files in the
project browser. This is my CMakeLists.txt file:
cmake_minimum_required(VERSION 2.6)
project(WINCABase)
add_library(WINCABase constants.hpp exception.hpp version.hp
Hello,
I have a project which is supposed to be built as static and dynamic one.
Visual studio has this annoying behaviour to add always a debug and a release
directoriy to the output directory.
So this is fixed by prefixing the path with ../
IF( CMAKE_GENERATOR MATCHES "Visual Studio" )
OK, thanks Philip and others.
BTW: FFTW is a library for calculating Fast Fourier Transforms. Version
2 of that library supports both single and double precision, but they're
mutually exclusive, i.e. you cannot mix them. It also offers two ways of
parallelization, mpi and threads, which are (AFAIK
24 matches
Mail list logo