I have an add_custom_command in a subdirectory, and I'm trying to use
that output as a dependency in a parent directory.
Unfortunately, the parent directory doesn't see that I made a rule
(add_custom_command) for the file in the subdirectory.
Is there any way to make this work?
I've attached a s
I got a new Xeon Mac Pro so I thought I might start compiling some of
my own Qt based applications against a 64 bit build of Qt 4.5.
Generally things work Except when I use the BundleUtilities.cmake to
bundle the application.
Seems somewhere during the copy of the framework (I have my guesses)
th
Apologies for not replying to the list. Forwarding:
Original Message
Subject:Re: [CMake] building within msys/mingw
Date: Fri, 27 Mar 2009 22:07:37 -0500
From: Kenneth Boyd
To: Jason Addison
References: <4ae645d30903271932r6f76d398r5faf5dc619c7f...@mail.gm
Stop.
Go back and get the prebuilt binary of CMake for Windows. It will
work for all the visual studios, MSYS, MinGW, and a few others on
windows. The default happens to be Visual Studio but you can select
what type of "project files" to generate on the first pass with cmake.
You can a
I'm having trouble running bootstrap. I have mingw and msys installed.
As much as possible, I have installed everything as recommended. (I'm
trying to build and install cmake in order to build Open Scene Graph.)
I've exported MAKE=/mingw/make. When I run ./bootstrap (from within
msys) I get some "
I need to create a glob expression (For file( GLOB_RECURSE ) ) that will
find files with the following extensions:
*.h
*.hpp
*.ipp
How can I format my glob expression to do this? I know for HPP and IPP
files, my glob expression would be:
*.[hi]pp
However, this ignores all H files.
__
On Fri, Mar 27, 2009 at 4:06 PM, Tyler Roscoe wrote:
> On Fri, Mar 27, 2009 at 03:39:14PM -0600, James Bigler wrote:
>> On Fri, Mar 27, 2009 at 1:50 PM, Tyler Roscoe wrote:
>> > On Fri, Mar 27, 2009 at 12:42:27PM -0700, Nicolas Slythe (Intern) wrote:
>> >> Is It possile to add a new configuration
On Fri, Mar 27, 2009 at 03:39:14PM -0600, James Bigler wrote:
> On Fri, Mar 27, 2009 at 1:50 PM, Tyler Roscoe wrote:
> > On Fri, Mar 27, 2009 at 12:42:27PM -0700, Nicolas Slythe (Intern) wrote:
> >> Is It possile to add a new configuration in visualstudio project
> >> like Release, Debug
> >
> > h
Hi all,
I've just started using SWIG to create binding for my library. So far
I've only bound one file, called Enums.h, with a SWIG interface
Enums.i.
At present my CMakeLists.txt file looks like:
include(${SWIG_USE_FILE})
find_package(PythonLibs)
include_directories(${PYTHON_INCLUDE_PATH})
set
On Fri, Mar 27, 2009 at 1:50 PM, Tyler Roscoe wrote:
> On Fri, Mar 27, 2009 at 12:42:27PM -0700, Nicolas Slythe (Intern) wrote:
>> Is It possile to add a new configuration in visualstudio project
>> like Release, Debug
>
> http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_with_a
I manage all the warning levels by hand.
If you are truly in a rush this is what I do:
# The idea is to match a string that ends with cl but doesn't have icl in it.
set(COMPILER_NAME_REGEXPR "([^i]|^)cl.*$")
if(CMAKE_C_COMPILER MATCHES ${COMPILER_NAME_REGEXPR}
AND CMAKE_CXX_COMPILER MATCHES $
On Friday 27 March 2009, Neal Meyer wrote:
> I need to have my CMakeLists file do different things depending on the
> Generator that is being used. Mostly passing on that version information
> to a build of a 3rd party library. Is there a way to get that information
> during the CMake run?
You c
On Fri, Mar 27, 2009 at 4:36 PM, Neal Meyer wrote:
> I need to have my CMakeLists file do different things depending on the
> Generator that is being used. Mostly passing on that version information to
> a build of a 3rd party library. Is there a way to get that information
> during the CMake ru
I need to have my CMakeLists file do different things depending on the
Generator that is being used. Mostly passing on that version information to
a build of a 3rd party library. Is there a way to get that information
during the CMake run?
-Neal
___
Po
Also, if you want to support the .lib for development installs, then you
can do something like
INSTALL(TARGETS mytarget
RUNTIME DESTINATION bin COMPONENT Runtime
LIBRARY DESTINATION bin COMPONENT Runtime
ARCHIVE DESTINATION bin COMPONENT Development
)
Then when you invoke the install, you spe
On Fri, Mar 27, 2009 at 12:42:27PM -0700, Nicolas Slythe (Intern) wrote:
> Is It possile to add a new configuration in visualstudio project
> like Release, Debug
http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_with_a_custom_made_one_.3F
tyler
_
Awesome! That worked.
Thanks,
James
On Fri, Mar 27, 2009 at 1:15 PM, Clinton Stimpson wrote:
>
> INSTALL(TARGETS mytarget
> RUNTIME DESTINATION bin COMPONENT Runtime
> LIBRARY DESTINATION bin COMPONENT Runtime
> )
>
> The .lib gets installed if you specify the ARCHIVE DESTINATION or just pla
Hey guys,
I'm responding to this issue to check on the progress of this. I'm still
currently unable to easily set the warning level in Visual Studio to level 4
and I really need to be able to do this. This really is a serious issue for
me.
How are things going in this area? Would it be possible to
Is It possile to add a new configuration in visualstudio project
like Release, Debug
And how I shoud do that
thanks
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please k
INSTALL(TARGETS mytarget
RUNTIME DESTINATION bin COMPONENT Runtime
LIBRARY DESTINATION bin COMPONENT Runtime
)
The .lib gets installed if you specify the ARCHIVE DESTINATION or just
plain DESTINATION.
Clint
James Bigler wrote:
When using install(TARGET) with a shared library, I get both
When using install(TARGET) with a shared library, I get both the dll
and the .lib (if there were exports) installed. I'm trying to do a
binary distribution, and I don't need or want the .lib portion.
Is there a way to tell cmake to not install the .lib portion?
I filed a bug on this, but there h
On Fri, Mar 27, 2009 at 1:29 PM, Alexander Neundorf wrote:
> On Friday 27 March 2009, Philip Lowman wrote:
> > On Thu, Mar 26, 2009 at 10:23 PM, Robert Dailey
> wrote:
> > > I'm assuming that the macro in question will automatically mark all
> cache
> > > variables as advanced. Is this the case?
On Fri, Mar 27, 2009 at 12:29 PM, Alexander Neundorf <
a.neundorf-w...@gmx.net> wrote:
> I think I have to object here.
> AFAIK the CMake devs prefer to basically use mark_as_advanced() by default
> for
> all results from find_library/program/path/file() in find-modules, and only
> keep those entr
On Friday 27 March 2009, Philip Lowman wrote:
> On Thu, Mar 26, 2009 at 10:23 PM, Robert Dailey wrote:
> > I'm assuming that the macro in question will automatically mark all cache
> > variables as advanced. Is this the case?
> >
> > @Mike Jackson
> > Thank you for this info. I forgot about that f
On Thu, Mar 26, 2009 at 9:55 PM, Philip Lowman wrote:
> On Thu, Mar 26, 2009 at 10:23 PM, Robert Dailey wrote:
>
>> I'm assuming that the macro in question will automatically mark all cache
>> variables as advanced. Is this the case?
>>
>> @Mike Jackson
>> Thank you for this info. I forgot about
Okay, it's an easier way to do this
If think you should put this in the FAQ for next time.
--
Benoit RAT
www.neub.co.nr
On Fri, Mar 27, 2009 at 1:25 PM, Mike Jackson
wrote:
> Go back to yesterday and look for the thread "[CMake]
> execute_process() and writing output to a file". We just cov
On Thursday 05 February 2009 18:27:06 David Cole wrote:
> I agree with Clint. This belongs in the new cmCPackDragNDropGenerator.
Any updates on this getting merged? I'm happy to make changes and I'd really
like to see this hit 0.6.4.
--
Cheers,
Mike Arthur
http://mikearthur.co.uk/
__
On Wednesday 18 March 2009 17:51:47 Clinton Stimpson wrote:
> I like that better. With the CPACK_DMG_* variables, one can even have
> the PackageMaker generator use those variables.
Any updates on this getting merged? I'm happy to make changes and I'd really
like to see this hit 0.6.4.
--
Cheer
Go back to yesterday and look for the thread "[CMake]
execute_process() and writing output to a file". We just covered this.
Mike
On Fri, Mar 27, 2009 at 6:28 AM, Benoit wrote:
> Hy guys.
>
> I'm using doxygen to generate my documentation and i would like to add a
> cmake target.
> I've read the
> -Original Message-
> From: Mattias Helsing [mailto:helsin...@gmail.com]
> Sent: 27 March 2009 10:45
> To: Hicham Mouline
> Subject: Re: [CMake] SOURCE_GROUP in VS005
>
> Hi Hicham,
>
> You need to point out files explicitly like:
> source_group("Header Files\\subdir1" FILES
> subdir1/
Hy guys.
I'm using doxygen to generate my documentation and i would like to add a
cmake target.
I've read the tutorial from: http://www.elpauer.org/stuff/learning_cmake.pdf,
however this toturial doesn't deal with doygen path configuration through
cmake.
In doxygen you can use environment variabl
Hello,
I have the following source dir structure
lib1\CMakeLists.txt
lib1\file1.cpp
lib1\file1.hpp
lib1\subdir1\CMakeLists.txt
lib1\subdir1\file2.hpp
lib1\subdir1\file3.hpp
lib1\subdir2\CMakeLists.txt
lib1\subdir2\file4.hpp
lib1\subdir2\file5.hpp
...
I wish to see this in VS2005
...
+ lib1 (pr
32 matches
Mail list logo