:
make = does not build libMaths since it's up to date.
So I must try to remove the cmake call and it will be fine !
Sorry to have bothered you...
Thanks !
Pierre-Julien VILLOUD
-Message d'origine-
De : Marcel Loose [mailto:lo...@astron.nl]
Envoyé : mardi 15 septembre 2009 09:38
À
. In order to make the build work, I need it to be absolute (it is
absolute when building HelloMath)
Is there a way to make it absolute ?
Thanks !
Pierre-Julien VILLOUD
-Message d'origine-
De : cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] De la part de
Pierre-Julien
septembre 2009 13:28
À : Pierre-Julien Villoud
Cc : cmake@cmake.org
Objet : RE: [CMake] add_subdirectory and build directory
Aah, I see now what the problem really is.
You're building in two different directories. So, you will end up with
two versions of libMaths. That exactly explains the output you're
Sorry I did not reply to you...
I actually use the target_link_libraries and the add_dependencies which is
useless if using the target_link_libraries (I think ?)
So I really wonder why my objects are re-built... It's still a mystery for me !
Thanks again
Pierre-Julien VILLOUD
-Message
Thank you very much fo all your answers.. It is much clearer now... I was
actually trying to use add_subdirectory to manage my dependencies but it is
obviously not the best way to do it.
Well the question is still here though, how can I build B standalone and
build B within A as a dependency
before A. But when I build B in its build directory and I build
A after, it builds B again whereas it should not since B is up to date.
Anyone sees what's wrong ?
Thanks in advance
Pierre-Julien VILLOUD
___
Powered by www.kitware.com
Visit other Kitware
answer (thank you very much
for it BTW) but it seems quite complicated !! How are you managing your
dependencies ?
Thank you for your help !
-Message d'origine-
De : Marcel Loose [mailto:lo...@astron.nl]
Envoyé : vendredi 11 septembre 2009 16:30
À : Pierre-Julien Villoud
Cc : cmake
Hi everyone,
I'm using CMake 2.6 with C++ projects. I would like object files to be built in
a distinct directory if the configuration is Debug or Release.
As I understood, obj files are written in CMakefiles/ProjectName.dir. Is is
possible to be CMakeFiles/ProjectName.dir/${CMAKE_BUILD_TYPE}
Sorry, I did not precise that I work with GCC.
Thanks for your answer, I thought about that solution but I wondered if
something specific existed...
Thanks !
-Message d'origine-
De : Pau Garcia i Quiles [mailto:pgqui...@elpauer.org]
Envoyé : mardi 4 août 2009 12:26
À : Pierre-Julien
Yes this correspond to line 390 in CVS HEAD. I did not see any bugs with
commenting that line. Of course I did not do an exhaustive test...
De : cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] De la part de
Pierre-Julien Villoud
Envoyé : jeudi 30 juillet 2009 13:45
À : David Cole
Cc
Hi everyone
I have three projects with their CMakeLists.txt and I would like to create a
top CMakeLists.txt. So I do this :
cmake_minimum_required(VERSION 2.6)
add_subdirectory(Project1)
add_subdirectory(Project2)
add_subdirectory(Project3)
Note that in each CMakeLists.txt of the three
Hi everyone
I have a question concerning CDash. I have not tested it yet but I wonder how
are handled the dependencies between projects.
In projects that have a dependency on another project, I added a custom target
who does make in the other project directory.
Will the result of the
À : cmake; Pierre-Julien Villoud
Objet : RE: [CMake] Trouble with Variable in installation
I tried to
add a target which do the cmake and define the variable like
that :
add_custom_target(MyInstall COMMAND cmake -DLANG=%LANG%)
add_dependencies(install MyInstall)
but I can't add
Hi,
I am using some perl scripts to complete tasks in the install target. I have no
problem launching the script , but I found myself with non working code inside
the script and I don't why.
Inside my script I do that:
open( FILEHANDLE, file.txt ) || die(Could not open file!);
print opening
Hi,
So to complete a certain task in the install target i had to use my own perl
script(installing features depending on command line arg). So I do
install(CODE execute_process(COMMAND perl script.pl)
Now to make something really functional and integrated in cmake I wanted to
update the
Hi everyone,
I'd like to do the following for my install target :
make install Lang=en_US and in my CMakeLists.txt : install(FILES
language/$ENV{Lang} ...) so that at each call of make install with a defined
variable, it calls the install target with the good path and when I call just
make
command
I will look forward into this since I don't know how it works.
Thanks !
Pierre-Julien
-Message d'origine-
De : Denis Scherbakov [mailto:denis_scherba...@yahoo.com]
Envoyé : vendredi 5 juin 2009 09:21
À : cmake; Pierre-Julien Villoud
Objet : Re: [CMake] Trouble with Variable
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
Villoud
Cc : cmake@cmake.org
Objet : Re: [CMake] Eclipse Generator and Configuration
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
Softwarewww.bluequartz.net
Principal Software Engineer Dayton, Ohio
On May 20, 2009, at 9:13 AM, Pierre-Julien Villoud wrote:
Ok... Thanks for your answer.
I'm surprised this feature is not integrated yet in cmake since it's
very common to switch
20 matches
Mail list logo