On 11/17/2010 04:56 PM, Thomas Lehmann wrote:
>>> for an automatically forced include I have provided an
>>>
>>> option like this:
>>>
>>>
>>>
>>> set(WIN32_SPEC
>> ${CMAKE_CURRENT_SOURCE_DIR}/../../libs/global/win32_spec.h)
>>
>> May you could use an absolute reference using
>>
>> ${PROJECT_SOURCE
Greetings,
I am learning cmake.
I am looking for a tool to converta build system fom autoconf to cmake.
II came across am2cmake available at
http://websvn.kde.org/trunk/KDE/kdesdk/cmake/scripts/
It is very kde3 specific, I was wondering if there is anything more generic
available.
tna
Responses inline on this one...
On Wed, Nov 17, 2010 at 1:56 PM, David Doria wrote:
> The goal is simply this:
>>
>> - given:
>> -- an executable target, that happens to be a bundle app on the Mac
>> -- a full path to that bundle in the install tree
>> -- a list of plugins that you have also
Hi all,
Thank you for your help. I have set PYTHON_EXECUTABLE,
PYTHON_INCLUDE_DIR and PYTHON_LIBRARY variables to appropriate values
to Python 3.1. Now indeed the compilation works. I'm not an expert in
cmake so I am afraid I can say little about changing cmake behavior,
but thank you all for you
On Nov 17, 2010, at 11:18 AM, Brad King wrote:
On 11/17/2010 12:15 PM, K. Noel Belcourt wrote:
On Nov 17, 2010, at 10:02 AM, Brad King wrote:
This tells CMake to print some verbose target dependency
information. I bet it will report "modules" in a non-trivial
connected component with a bunch
>
> The goal is simply this:
>
> - given:
> -- an executable target, that happens to be a bundle app on the Mac
> -- a full path to that bundle in the install tree
> -- a list of plugins that you have also already installed in the bundle
> -- a list of directories where to find libraries that y
>
> BundleUtilities is meant to be a more general approach to packaging 3rd
> party libraries. It will look at an executable, and find all of its
> dependencies (the ones necessary to make the program execute) and copy the
> non-system dependencies into your install directory.
Clint,
Great, thi
On Wed, Nov 17, 2010 at 11:46 AM, David Doria wrote:
> On Wed, Nov 17, 2010 at 9:32 AM, Michael Jackson
> wrote:
>> I tool a little different approach in my own projects. I end up
>> "configuring" a shell script that gets run at install time (OS X Only).
>> Inside that shell script are all the co
On Wed, Nov 17, 2010 at 11:30 AM, David Cole wrote:
> On Wed, Nov 17, 2010 at 1:25 PM, James Bigler
> wrote:
> > On Tue, Nov 16, 2010 at 11:55 PM, Rolf Eike Beer
> wrote:
> >>
> >> Am Mittwoch, 17. November 2010 schrieb James Bigler:
> >> > Has anyone else noticed situations where VS puts the f
On Wed, Nov 17, 2010 at 1:25 PM, James Bigler wrote:
> On Tue, Nov 16, 2010 at 11:55 PM, Rolf Eike Beer wrote:
>>
>> Am Mittwoch, 17. November 2010 schrieb James Bigler:
>> > Has anyone else noticed situations where VS puts the first project (as
>> > determined alphabetically) in a project folder
On Tue, Nov 16, 2010 at 11:55 PM, Rolf Eike Beer wrote:
> Am Mittwoch, 17. November 2010 schrieb James Bigler:
> > Has anyone else noticed situations where VS puts the first project (as
> > determined alphabetically) in a project folder as the last project?
>
> Yes, I have seen this when using th
On 11/17/2010 12:15 PM, K. Noel Belcourt wrote:
> On Nov 17, 2010, at 10:02 AM, Brad King wrote:
>> This tells CMake to print some verbose target dependency
>> information. I bet it will report "modules" in a non-trivial
>> connected component with a bunch of other libraries. Please
>> send me th
2010/11/17 Andrea Galeazzi :
> I'm facing the problem of using the cross compile toolchain of CodeSourcery.
> My host system in Windows and my target is ARM-Linux.
> I red this tutorial http://www.cmake.org/Wiki/CMake_Cross_Compiling and I
> tried to do something similar:
> # this one is important
On Nov 17, 2010, at 12:20 PM, Clinton Stimpson wrote:
On Wednesday, November 17, 2010 09:46:23 am David Doria wrote:
On Wed, Nov 17, 2010 at 9:32 AM, Michael Jackson
wrote:
I tool a little different approach in my own projects. I end up
"configuring" a shell script that gets run at install t
Am Mittwoch, 17. November 2010 schrieb Andrea Galeazzi:
> I'm facing the problem of using the cross compile toolchain of
> CodeSourcery. My host system in Windows and my target is ARM-Linux.
> I red this tutorial http://www.cmake.org/Wiki/CMake_Cross_Compiling and
> I tried to do something similar:
On Nov 17, 2010, at 12:20 PM, Clinton Stimpson wrote:
For Qt projects, a macro for creating a qt.conf file and a macro for
installing
Qt plugins would be nice to have in FindQt4.cmake (anyone want to
take a stab
at that?)
To say this needs cleaned up and refactored is an understatement b
I'm facing the problem of using the cross compile toolchain of
CodeSourcery. My host system in Windows and my target is ARM-Linux.
I red this tutorial http://www.cmake.org/Wiki/CMake_Cross_Compiling and
I tried to do something similar:
# this one is important
SET(CMAKE_SYSTEM_NAME Linux)
#this o
On 11/17/2010 11:51 AM, K. Noel Belcourt wrote:
> It's attached.
Hmm..I don't see anything jumping out at me there.
On 11/17/2010 11:32 AM, K. Noel Belcourt wrote:
> This works, but moving SUBDIRS(Modules) into it's lexical ordering
> fails with the reported error.
Do these libraries have circ
On Wed, Nov 17, 2010 at 9:32 AM, Michael Jackson
wrote:
> I tool a little different approach in my own projects. I end up
> "configuring" a shell script that gets run at install time (OS X Only).
> Inside that shell script are all the copying to the CMAKE_INSTALL_PREFIX,
> ensuring destination dir
On 11/17/2010 11:32 AM, K. Noel Belcourt wrote:
> On Nov 16, 2010, at 3:49 PM, Brad King wrote:
>> Run "make -d" to get debugging output. It is *very* verbose but can
>> tell you why make chooses to run certain rules.
>
> It's definitely related to the presence of the SUBDIRS. Make never
> con
Hi Brad,
On Nov 16, 2010, at 3:49 PM, Brad King wrote:
On 11/16/2010 04:52 PM, Belcourt, K. Noel wrote:
On Nov 16, 2010, at 2:50 PM, Brad King wrote:
On 11/16/2010 04:24 PM, Belcourt, K. Noel wrote:
which is the same list of libraries in these SUBDIRS commands in
the
top-level CMakeLists
> > for an automatically forced include I have provided an
> >
> > option like this:
> >
> >
> >
> > set(WIN32_SPEC
> ${CMAKE_CURRENT_SOURCE_DIR}/../../libs/global/win32_spec.h)
>
> May you could use an absolute reference using
>
> ${PROJECT_SOURCE_DIR}/libs/global/win32_spec.h
>
> if your project
2010/11/17 Thomas Lehmann
>
> Hi all,
>
>
>
> for an automatically forced include I have provided an
>
> option like this:
>
>
>
> set(WIN32_SPEC ${CMAKE_CURRENT_SOURCE_DIR}/../../libs/global/win32_spec.h)
May you could use an absolute reference using
${PROJECT_SOURCE_DIR}/libs/global/win32_spec
I have been reading email posts on goggle that says if you create a library
then produce a Configcmake file rather than a Find.cmake
file. That is fine but what confuses me is:
1. What do I put in it?
2. How do I install it? (e.g. Linux and Windows)
3. What google search terms should I use
I tool a little different approach in my own projects. I end up
"configuring" a shell script that gets run at install time (OS X
Only). Inside that shell script are all the copying to the
CMAKE_INSTALL_PREFIX, ensuring destination directories inside the OS X
App bundle are setup (Plugins, l
On 11/17/2010 10:37 AM, Hariharan wrote:
> Is it possible to run the compiler and linker through another command, say
> "time" or a custom script? In other words, I want the compile and link steps
> to run " gcc" and " ld".
If you're using a Makefile generator you might have a look at the rule
lau
Tyler,
You seem to be right in that I should not escape the $, but I DID need
to add "DESTINATION bin". Without it, I got a:
CMake Error at CMakeLists.txt:23 (INSTALL):
install FILES given no DESTINATION!
This seems to work:
INSTALL(FILES "${VTK_DIR}/bin/libvtkHybrid.a" DESTINATION bin)
The p
Hi all,
for an automatically forced include I have provided an
option like this:
set(WIN32_SPEC ${CMAKE_CURRENT_SOURCE_DIR}/../../libs/global/win32_spec.h)
add_definitions(-FI ${WIN32_SPEC})
But when including this central file (find_package) the variable
CMAKE_CURRENT_SOURCE_DIR
changes and th
On Wednesday 17 November 2010 12:30:06 Adam J Richardson wrote:
> Hi list,
>
> Is this a correct specification for multiple include/lib paths in
> environment variables? If not, what should I use instead? Sometimes it
> seems to work, other times not...
>
> CMAKE_INCLUDE_PATH=C:/Compilers/Inclu
On 17/11/10 11:33, santosh mahto wrote:
Hi all Q:-i have a 3 static library(say A.a B.a C.a) and i want to
create my final library as .so (say Main.so ) which link + embedd all
three Library.i tried TARGET_LINK_LIBRARIES but it only links to A.a
B.a C.a.and dosnt append it.I want my final binary(
Hi all
Q:-i have a 3 static library(say A.a B.a C.a) and i want to create my final
library as .so (say Main.so ) which link + embedd all three
Library.i tried TARGET_LINK_LIBRARIES but it only links to A.a B.a C.a.and
dosnt append it.I want my final binary(Main.so) to include(or embedd) all
three
Hi list,
Is this a correct specification for multiple include/lib paths in
environment variables? If not, what should I use instead? Sometimes it
seems to work, other times not...
CMAKE_INCLUDE_PATH=C:/Compilers/Includes;C:/Compilers/MinGW/include
CMAKE_LIBRARY_PATH=C:/Compilers/Libs;C:/Compi
On Wed, Nov 17, 2010 at 5:50 AM, Micha Renner wrote:
> Am Mittwoch, den 17.11.2010, 15:07 +0530 schrieb Hariharan:
>> Is it possible to run the compiler and linker through another command,
>> say "time" or a custom script? In other words, I want the compile and
>> link steps to run " gcc" and " ld
Am Mittwoch, den 17.11.2010, 15:07 +0530 schrieb Hariharan:
> Is it possible to run the compiler and linker through another command,
> say "time" or a custom script? In other words, I want the compile and
> link steps to run " gcc" and " ld".
>
In this case you have to work with a combination of t
On Tue, Nov 16, 2010 at 10:15 PM, David Doria wrote:
> Is the goal simply to copy
> ...VTK/bin/libvtkHybrid.a
> into the package?
>
> I tried this:
> INSTALL(CODE "\${VTK_DIR}/bin/libvtkHybrid.a")
>
> But I get:
>
> Parse error. Expected a command name, got unquoted argument with text
> "${VTK_DI
Is it possible to run the compiler and linker through another command, say
"time" or a custom script? In other words, I want the compile and link steps
to run " gcc" and " ld".
Regards,
Hariharan
___
Powered by www.kitware.com
Visit other Kitware open-s
Hello luxInteg,
you are trying to set the Fortran compiler to gfortran then?
Why? Why not leave it to CMake to come up with whatever compiler
is suitable? That is part of the strength of tools like CMake.
Regards,
Arjen
On 2010-11-16 20:44, luxInteg wrote:
Greetings,
I am learning cmake.
I
37 matches
Mail list logo