Is it possible to get what CMake thinks the linker language should be at
configure time:
add_executable(mytarget ${mysources})
get_target_property(linker_lang mytarget LINKER_LANGUAGE)
message("linker_lang = ${linker_lang}")
This produces linker_lang-NOTFOUND.
I would like to know what linker la
Hendrik Sattler wrote:
> Hi,
>
> either I cannot find it or it's not there: doing simple mathematic things
> like
> substract 1 from a variable.
>
> If that's not present, I do not understand how
> LIST( LENGTH MYLIST COUNT )
> FOREACH ( index RANGE ${COUNT} )
> list ( GET MYLIST ${index} ent
On Tue, May 19, 2009 at 6:29 PM, Hendrik Sattler
wrote:
>
> If that's not present, I do not understand how
> LIST( LENGTH MYLIST COUNT )
> FOREACH ( index RANGE ${COUNT} )
> list ( GET MYLIST ${index} entry )
>
>
> will address non-present indexes in the list. I would the above statement
> c
On Thu, May 14, 2009 at 4:51 PM, Clinton Stimpson wrote:
> James Bigler wrote:
>
>> I need to specify different output files for an add_custom_command for
>> different build types in VS. The output file also needs to be added to an
>> add_executable command.
>>
>> I'm not sure how to go about thi
Hi Tyler,
Thanks for your answers. Returning to whether the boost libraries are
statically or dynamically linked, I probably need to use
SET(Boost_USE_STATIC_LIBS ON).
John.
- Original Message -
From: "Tyler Roscoe"
To: "John Platt"
Cc:
Sent: Monday, May 18, 2009 11:36 PM
Subjec
Hendrik Sattler wrote:
either I cannot find it or it's not there: doing simple mathematic things like
substract 1 from a variable.
[snip]
Any ideas?
cmake --help-command math
??
--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
Here endeth the rant... which I
Hi,
either I cannot find it or it's not there: doing simple mathematic things like
substract 1 from a variable.
If that's not present, I do not understand how
LIST( LENGTH MYLIST COUNT )
FOREACH ( index RANGE ${COUNT} )
list ( GET MYLIST ${index} entry )
will address non-present indexes in
On Tue, May 19, 2009 at 3:07 PM, Alexander Neundorf
wrote:
> Just to check for the simple things: you do this with a clean build tree, i.e.
> there is no already existing CMakeCache.txt in the directory, which already
> has QT_INCLUDE_DIR set to /usr/lib/qt3/include ?
> This would keep cmake from
On Tuesday 19 May 2009, Dmytro Ovdiienko wrote:
> Hi all,
>
> I'm trying to write install instruction for my main project (DLL) that
> consists from several projects (LIBs). This instruction should copy all
> public headers from all dependent targets to the destination directory.
>
> I expected to
On Tuesday 19 May 2009, Zach Laine wrote:
> On Tue, May 19, 2009 at 9:11 AM, Andreas Pakulat wrote:
> > Thats what Clinton did, so how about trying exactly what he wrote?
>
> Ok, removing the two message() lines (which is exactly what Clinton
> wrote) produces:
>
> -- Found Qt-Version 4.3.5
> -- C
Hi Everyone,
I am trying to integrate Eclipse as development IDE in our repository. So
far Cmake creates the projects and Eclipse compiles them properly.
Unfortunately I haven't been able to register the sources and get the
Eclipse autocompletion features. Having a look to the .project I see :
On Tue 19 May 3:29 2009 Christopher Harvey wrote:
> I'm not sure how to explain the fact that arMulti.h is reported as
> located in /usr/includeI'm not sure but maybe you have to delete the
> CMakeCache file...I don't think cmake has any bugs like finding files
> that don't exist. Your script
I'm not sure how to explain the fact that arMulti.h is reported as
located in /usr/includeI'm not sure but maybe you have to delete the
CMakeCache file...I don't think cmake has any bugs like finding files
that don't exist. Your script seems fine from what I see. Maybe you can
post a bit more?
Hendrik Sattler wrote:
> Zitat von Mats Kindahl :
Ideally, I would like to copy or build the libraries in a central
"lib/"
directory similar to how I copy all the include files to the "include/"
directory, but how is that supported by CMake?
>>>
>>> See
>>> http://www.cmake.or
I don't know how the ARTK library is installed on linux systems, but you
could add the NO_DEFAULT_PATH option to find_path...chances are it's
looking in a default path and picking up a header in /usr/include before
getting to your specified directories. What makes you think the
/usr/include is bad?
I'm writing a program which is based on 3 external libs, Poco, ARToolKit and
opencv, now the locations in the include folder is has followd:
opencv headers are in /usr/include/opencv folder, Poco headers are in
/usr/include/Poco folder and ARToolKit headers are in /usr/include/AR folder.
I'm try
Andreas Pakulat wrote:
On 19.05.09 09:42:26, Zach Laine wrote:
As for debugging FindQt4.cmake, surely I'm not the only person ever to
try to use FindQt4 with qt3-devel and qt4-devel, plus another
user-installed Qt version.
Well, judging by my brains history of this list, you're certain
Zitat von Mats Kindahl :
Ideally, I would like to copy or build the libraries in a central "lib/"
directory similar to how I copy all the include files to the "include/"
directory, but how is that supported by CMake?
See
http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_LIBRARY_O
On 19.05.09 09:42:26, Zach Laine wrote:
> As for debugging FindQt4.cmake, surely I'm not the only person ever to
> try to use FindQt4 with qt3-devel and qt4-devel, plus another
> user-installed Qt version.
Well, judging by my brains history of this list, you're certainly the first
to have this par
Zach Laine wrote:
On Tue, May 19, 2009 at 9:11 AM, Andreas Pakulat wrote:
Thats what Clinton did, so how about trying exactly what he wrote?
Ok, removing the two message() lines (which is exactly what Clinton
wrote) produces:
-- Found Qt-Version 4.3.5
-- Configuring done
-- Generatin
Hendrik Sattler wrote:
> Zitat von Mats Kindahl :
>> Hendrik Sattler wrote:
>>> Zitat von Mats Kindahl :
I have an example case where I want to decide the subsystems to include
dynamically. However, when running CMake, I get the error above.
Anybody can tell me why I get the e
On Tue, May 19, 2009 at 05:38:15PM +0530, ankit jain wrote:
> add_executable(myexe main.c ${myobj})
>
> main.obj: warning: earlier declaration of a function f1() found in
> myfile.obj: second definition ignored..
>
> This means it is taking the f1() function from myfile.obj but i want f1()
> fun
On Tue, May 19, 2009 at 9:11 AM, Andreas Pakulat wrote:
> Thats what Clinton did, so how about trying exactly what he wrote?
Ok, removing the two message() lines (which is exactly what Clinton
wrote) produces:
-- Found Qt-Version 4.3.5
-- Configuring done
-- Generating done
-- Build files have b
Hi all
Currently CMake doesn't pass CMAKE_OSX_SYSROOT and
CMAKE_OSX_DEPLOYMENT_TARGET to the test project when running
TRY_COMPILE. I filed a bug report for that and attached a patch to it:
http://public.kitware.com/Bug/view.php?id=9051
HTH
Michael
___
On 19.05.09 08:40:32, Zach Laine wrote:
> On Tue, May 19, 2009 at 12:24 AM, Clinton Stimpson
> wrote:
> > What about a minimal CMakeLists.txt file?
> > ===
> > find_package(Qt4)
> > message(${QT_INCLUDE_DIR})
> > ===
>
> When I run this:
>
>
> find_package(Qt4)
> include(${QT_U
Zitat von Mats Kindahl :
Hendrik Sattler wrote:
Zitat von Mats Kindahl :
I have an example case where I want to decide the subsystems to include
dynamically. However, when running CMake, I get the error above.
Anybody can tell me why I get the error and what to do about it?
You could give yo
On Tue, May 19, 2009 at 12:24 AM, Clinton Stimpson wrote:
> The only way I know how to do that is to include both Qt4 and Qt3.
The only way to do what? I'm just trying to use Qt 4.x, for any x,
and so far can't.
> find_package(Qt3)
> find_package(Qt4)
>
> which is not supported.
> You eve
Hi Hendrik,
Thanks for the reply.
Hendrik Sattler wrote:
> Zitat von Mats Kindahl :
>> I have an example case where I want to decide the subsystems to include
>> dynamically. However, when running CMake, I get the error above.
>>
>> Anybody can tell me why I get the error and what to do about it?
Zitat von Mats Kindahl :
I have an example case where I want to decide the subsystems to include
dynamically. However, when running CMake, I get the error above.
Anybody can tell me why I get the error and what to do about it?
You could give your files a file ending like 'output.c' instead of
Hi all,
I have an example case where I want to decide the subsystems to include
dynamically. However, when running CMake, I get the error above.
Anybody can tell me why I get the error and what to do about it?
Best wishes,
Mats Kindahl
I have the following CMakeLists.txt files:
/CMakeLists.txt
Hi all,
I'm trying to write install instruction for my main project (DLL) that
consists from several projects (LIBs). This instruction should copy all
public headers from all dependent targets to the destination directory.
I expected to use following sample but it is erroneous:
install (
TAR
On Sun, May 17, 2009 at 2:35 PM, Robert Dailey wrote:
> On Sun, May 17, 2009 at 12:16 PM, Philip Lowman wrote:
>
>> On Sun, May 17, 2009 at 12:26 AM, Robert Dailey wrote:
>>
>>> Hi,
>>> I have built Boost 1.39 on Windows with static libraries, and they are
>>> named like so:
>>>
>>> libboost_fil
Hi all,
My Cmakelists contains:
set(myobj ${CMAKE_CURRENT_SOURCE_DIR}/../objfolder/myfile.obj)
add_executable(myexe main.c ${myobj})
This myfile.obj object file is generated while building objfolder before
creating this executable
Now on building this executable i got a warning:
main.obj: wa
On Mon, May 18, 2009 at 7:58 PM, Tyler Roscoe wrote:
> On Mon, May 18, 2009 at 05:38:48PM -0600, Lober, Randy wrote:
> > I find a command
> >
> > set(zlib_url http://www.zlib.net/zlib-1.2.3.tar.gz PARENT_SCOPE)
> >
> > How do I set values for the http proxy and the http proxy port such that
>
34 matches
Mail list logo