On Thu, May 21, 2009 at 12:00 AM, Robert Dailey wrote:
> On Wed, May 20, 2009 at 9:38 PM, Philip Lowman wrote:
>
>> On Wed, May 20, 2009 at 9:40 PM, Robert Dailey wrote:
>> > I'm still looking to figure out how a single project can be configured
>> to generate multiple executables. Can anyone cl
On Wed, May 20, 2009 at 9:38 PM, Philip Lowman wrote:
> On Wed, May 20, 2009 at 9:40 PM, Robert Dailey wrote:
> > I'm still looking to figure out how a single project can be configured to
> generate multiple executables. Can anyone clarify?
>
> A Visual Studio project file is limited to one targ
On Wed, May 20, 2009 at 10:51 AM, Marcel Loose wrote:
> Hi Denis,
>
> Kind of you to let me decide ;-)
>
> But seriously, I posted this question, because I wanted to know whether
> this is the CMake-way of doing things. Not because I like to write the
> macro that way.
>
> In the end, maybe a lar
On Wed, May 20, 2009 at 9:40 PM, Robert Dailey wrote:
> I'm still looking to figure out how a single project can be configured to
generate multiple executables. Can anyone clarify?
A Visual Studio project file is limited to one target (executable, library,
etc.) as far as I know. If this is what
I'm still looking to figure out how a single project can be configured to
generate multiple executables. Can anyone clarify?
On Thu, Apr 9, 2009 at 1:30 PM, Robert Dailey wrote:
> On Thu, Apr 9, 2009 at 12:59 PM, Paul Oppenheim (Poppy Linden) <
> po...@lindenlab.com> wrote:
>>
>> I don't have th
Hello,
I am trying to configure and build a project, the project being ITK, on Windows
using Visual Studio 9.
I would like to create from a central source dir a build directory structure
like bin / $(ConfigurationName) / $(PlatformName) with CMake (v 2.6.4), i.e.
release and debug versions for m
2009/5/20 Jaroslav Gresula :
>
> Hi,
>
> can CPack generate a package (zip, bz2) whose file name differs from the
> package top level directory name?
>
> For instance, when I set CPACK_PACKAGE_FILE_NAME to project-1.0.0.src,
> then the name of the package is project-1.0.0.src.tar.bz2 and the top
>
Hi all
If the property is empty, CMake just uses the library name as
the install_name which is wrong. It should use .framework/
Versions//.
I created a bug report with an attached fix:
http://public.kitware.com/Bug/view.php?id=9054
Michael
___
Hi,
can CPack generate a package (zip, bz2) whose file name differs from the
package top level directory name?
For instance, when I set CPACK_PACKAGE_FILE_NAME to project-1.0.0.src,
then the name of the package is project-1.0.0.src.tar.bz2 and the top
level directory is project-1.0.0.src/. Howev
I want to have the same file produce different output files and have the
same MAIN_DEPENDENCY.
project("My Prog")
cmake_minimum_required(VERSION 2.6)
add_custom_command(OUTPUT file1.obj
MAIN_DEPENDENCY source.cpp
COMMAND buildit -o file1.obj source.cpp
COMMENT "Making file1 from source"
)
Hi Denis,
Kind of you to let me decide ;-)
But seriously, I posted this question, because I wanted to know whether
this is the CMake-way of doing things. Not because I like to write the
macro that way.
In the end, maybe a larger community might want to use this macro. If
so, then it would reall
Gheorghe Iancu wrote:
compiler:
VisualAge C++ Professional / C for AIX Compiler, Version 6
I don't think anyone has ever built CMake with that compiler before.
The only testing we have on AIX is with VisualAge 9.0. See here:
http://www.cdash.org/CDash/index.php?project=CMake
for tested pla
> What do you mean with like FindBoost did? Can you be a bit
> more
> specific?
Like
set(FFTW_DO_SOMETHING ON)
find_package(FindeFFTW)
If you say that your components are mutually exclusive, then I'd rather use a
flag than a component name.
But you're the author, so you decide.
Denis
I think Dennis refers to setting cmake variables to define the use of
multithreading, static, or debug libs (or single/double precision in your
case). For example:
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
find_package( Boost )
I would also second the proposal of using such
Hi Denis,
What do you mean with like FindBoost did? Can you be a bit more
specific?
Boost components are AFAIK independent of one another, and they're
definitely not mutually exclusive, which is the case in my propsed setup
of FindFFTW?
For example:
find_package(FFTW COMPONENTS single double
> Do you guys consider this a good or a bad idea? If you
> think it's a bad
> idea, do you have a suggestion how to do things
> differently?
I would do like FindBoost did.
Denis
___
Powered by www.kitware.com
Visit other Kitware open-source p
Hi all,
I am busy writing a FindFFTW macro. Depending on whether you want to use
single or double precision you should include a different header file
and link to a different library. The same is true when using
parallelization like mpi or threads.
Now I was considering to pass these options as C
Ankit,
You have to explain CMake how to handle "*.obj" files.
Find emails how to add ASM support. They should help you.
Regards.
Dima
2009/5/20 ankit jain
>
>
> 2009/5/20 Dmytro Ovdiienko
>
>> Hi Ankit.
>>
>>
>> Did you try TARGET_LINK_LIBRARIES?
>>
>> TARGET_LINK_LIBRARIES( myexe ${myobj}
Thanks Michael, I think it will do the trick until cmake add this feature...
-Message d'origine-
De : cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] De la part de
Michael Jackson
Envoyé : mercredi 20 mai 2009 15:23
À : cmake
Objet : Re: [CMake] Eclipse Generator and Configuratio
Well,
One way to "fix" the issue is to create 2 build directories (which
is what all the other IDEs would do), one for Debug and One for
Release then in the Eclipse Project when you create the configurations
just point eclipse at each build directory for its configuration. This
does nec
Ok... Thanks for your answer.
I'm surprised this feature is not integrated yet in cmake since it's very
common to switch configuration when you're working with an IDE. Now the IDE
project files generators don't seem so interesting for me...
I have to add the custom target Debug and Release in
I'm giving the CDT backend another shot, following the instructions at
http://www.cmake.org/Wiki/Eclipse_CDT4_Generator. I'm using a dual
project setup with a build project and source project as described on
the wiki.
Is there a way to exclude the build project from being indexed? first,
my
Pierre-Julien Villoud wrote:
Hello everyone,
I'm trying to use the Eclipse CDT4 - MinGW Makefiles generator to
generate the Eclipse project files. My problem is that it is not
possible to choose the configuration (Debug or Release) from the
Eclipse platform. Is there any way to make this possibl
On 19. May, 2009, at 17:58, e...@cs.bgu.ac.il wrote:
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
2009/5/20 Dmytro Ovdiienko
> Hi Ankit.
>
>
> Did you try TARGET_LINK_LIBRARIES?
>
> TARGET_LINK_LIBRARIES( myexe ${myobj} )
It gives error as myfile.obj.lib not found..
Since it is not library it is not valid to give like this...
Ankit
>
>
> 2009/5/19 ankit jain
>
>> Hi all,
>>
>> My Cmakel
Hello everyone,
I'm trying to use the Eclipse CDT4 - MinGW Makefiles generator to generate the
Eclipse project files.
My problem is that it is not possible to choose the configuration (Debug or
Release) from the Eclipse platform. Is there any way to make this possible or
do I have to specify
Hi Ankit.
Did you try TARGET_LINK_LIBRARIES?
TARGET_LINK_LIBRARIES( myexe ${myobj} )
2009/5/19 ankit jain
> 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 gener
Hello Alexander,
Thank you for your reply.
I've made changes as you suggested. It works for now. But IMHO it is
incorrect. Only DLL root project "knows" all details of installation but
not sub-project.
What if I have several projects based on the same sub-projects? They have
different installat
Hi Nicolas,
I second your opinion. I think CMake is a bit ambiguous in this sense.
List indices are zero-based, which clearly shows a C++ implementation
background. On the other hand, range intervals are closed both at the
beginning and the end, which is not like C++, nor like, e.g., Python,
but m
Hi,
I wanted to install CMake cmake-2.4.8 on an AIX powerpc (OS version 5.2)
gmake version:
GNU Make version 3.71, by Richard Stallman and Roland McGrath.
compiler:
VisualAge C++ Professional / C for AIX Compiler, Version 6
I got the following error:
[ 15%] Built target cmzlib
Scanning
30 matches
Mail list logo