On Fri, Feb 11, 2011 at 1:47 AM, Michael Wild wrote:
> On 02/11/2011 04:30 AM, Jack Poulson wrote:
> > This is occurring with CMake 2.8.3 on OSX for several different
> > check_function_exists calls. Is this expected behavior?
> >
> > Jack
>
> Seriously, we're going to need some more information
On 02/11/2011 04:30 AM, Jack Poulson wrote:
> This is occurring with CMake 2.8.3 on OSX for several different
> check_function_exists calls. Is this expected behavior?
>
> Jack
Seriously, we're going to need some more information than just "I get
false positives"...
Michael
_
Hi,
I am working with CMake 2.8.3 and trying to set up a cross-compiling toolchain
for an ARMCC that runs on a Windows system.
What I´ve done up to now is that I set up a toolchain file that I am using in
combination with nmake makefiles.
This file defines:
SET( CMAKE_C_COMPILER "$
In FindGTK2.cmake there are some examples how to use this module
find_package(GTK2 2.6 REQUIRED gtk)
generates:
CMake Warning (dev) at CMakeLists.txt:75 (find_package):
Policy CMP0011 is not set: Included scripts do automatic cmake_policy
PUSH
and POP. Run "cmake --help-policy CMP0011" for p
This is occurring with CMake 2.8.3 on OSX for several different
check_function_exists calls. Is this expected behavior?
Jack
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
P
On 02/10/2011 09:47 PM, Collier, Jack wrote:
> I have a large project that I recently converted from autotools to cmake.
> Everything works great save for the fact that everytime I make the project
> every single source file is recompiled. I think the reason is that my build
> relies on a numb
2011/2/10 Nathan J. Mehl :
>
>
> On Thu, Feb 10, 2011 at 1:56 PM, David Cole wrote:
>>
>> Probably comes from here:
>> cmCPackDebGenerator.cxx:
>> this->SetOptionIfNotSet("CPACK_PACKAGING_INSTALL_PREFIX", "/usr");
>
> *DING*
>
> Sigh, would have been nice if that had been anywhere in the documenta
I'm not entirely sure why FindBoost uses the cache in the way it does, as it
seems to cause a fair amount of issues. I've made an experimental
modification of FindBoost.cmake that doesn't use internal cache variables
here: [1] It seems to work in my initial tests, but it's probably not ideal
and I
On Thu, Feb 10, 2011 at 1:56 PM, David Cole wrote:
> Probably comes from here:
> cmCPackDebGenerator.cxx:
> this->SetOptionIfNotSet("CPACK_PACKAGING_INSTALL_PREFIX", "/usr");
>
*DING*
Sigh, would have been nice if that had been anywhere in the documentation,
or called out in any of the module/t
Probably comes from here:
cmCPackDebGenerator.cxx:
this->SetOptionIfNotSet("CPACK_PACKAGING_INSTALL_PREFIX", "/usr");
Try setting that variable in your CMakeLists.txt file, too.
HTH,
David
On Thu, Feb 10, 2011 at 4:44 PM, Nathan J. Mehl wrote:
> What I'm trying to do: use cpack to turn a dire
What I'm trying to do: use cpack to turn a directory of python and shell
files into a debian package. The wrinkle: I want the package to install the
python files into /usr/lib/python2.6/dist-packages/thingy and the shell
scripts into /etc/sv/thingy, and I want to be able to run the entire build
pr
I have a large project that I recently converted from autotools to cmake.
Everything works great save for the fact that everytime I make the project
every single source file is recompiled. I think the reason is that my build
relies on a number of custom targets this generate a bunch of header
That is great news. Seems I was not keeping up with how things are preferred to
be done. I'll update my "cmp" project to use target properties which will fix a
whole slew of my own projects. Thanks for the help tracking this down.
___
Mike
Yes I just reproduced this with the CMake test "BundleTest" by modifying
it like so:
function(hide_var)
SET(MACOSX_BUNDLE_INFO_STRING "bundle_info_string")
ADD_EXECUTABLE(BundleTest
MACOSX_BUNDLE
BundleTest.cxx
SomeRandomFile.txt
"${BundleTest_SOURCE_DIR}/../../ChangeLog.txt"
I'm curious if the behavior I'm seeing with respect to FindBoost.cmake is
expected. (I realize I'm using these macros in a convoluted way, so understand
if I can't make it work more cleanly.)
What I'd like to be able to do is something like the following to probe for a
system-provided or user-
Instructions to reproduce:
Pull the sample Qt Project from the CMake wiki
http://www.cmake.org/Wiki/images/2/25/QtTest-Package-Example.zip
Unzip it
cd into it.
Replace the CMakeLists.txt file with the one attached to this email.
run the following:
git clone git://scm.bluequartz.net/support-li
The actual code has not been approved for public release but I am trying to
narrow it down to a workable example.
The one thing I have discovered is that I have a function where I build up
the app and all the supporting calls to fixup bundle and all that setup stuff.
I pass in the source files
Can you share your source code so I can repro the issue here?
Thx,
David
On Thu, Feb 10, 2011 at 2:25 PM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:
>
> On Feb 10, 2011, at 2:04 PM, David Cole wrote:
>
> > On Thu, Feb 10, 2011 at 1:51 PM, Bill Hoffman
> wrote:
> > On 2/10/2011 1:27
On Feb 10, 2011, at 2:04 PM, David Cole wrote:
> On Thu, Feb 10, 2011 at 1:51 PM, Bill Hoffman
> wrote:
> On 2/10/2011 1:27 PM, Michael Jackson wrote:
> Bump?
>
> Did you try cmake --trace to see when it was configure...
>
>
> --
> Mike Jackson
>
> On Feb 8, 2011, at 5:36 PM, Michael Jackso
Andreas,
The proposed command at the end of add_jar will give me a classpath variable
with all the required jars and with the target jar:
set(${_TARGET_NAME}_CLASSPATH
".${CMAKE_JAVA_INCLUDE_PATH_FINAL}/${_TARGET_NAME}.jar" PARENT_SCOPE)
NOTE the use of CMAKE_JAVA_INCLUDE_PATH_FINAL and not
On Thu, Feb 10, 2011 at 1:51 PM, Bill Hoffman wrote:
> On 2/10/2011 1:27 PM, Michael Jackson wrote:
>
>> Bump?
>>
>
> Did you try cmake --trace to see when it was configure...
>
>
> --
>> Mike Jackson
>>
>> On Feb 8, 2011, at 5:36 PM, Michael Jackson wrote:
>>
>> At what point is the MacOSXBundl
On Saturday 05 February 2011 16:04:15 Allen D Byrne wrote:
> Yes! That is where I meant! (dang email doesn't read minds properly:)
there is already ${_TARGET_NAME}_JAR_FILE which is exactly what you want.
> BTW, I have a problem I couldn't fix. When doing an add_jar with source in
> the current
On 2/10/2011 1:27 PM, Michael Jackson wrote:
Bump?
Did you try cmake --trace to see when it was configure...
--
Mike Jackson
On Feb 8, 2011, at 5:36 PM, Michael Jackson wrote:
At what point is the MacOSXBundleInfo.plist.in configured? I am setting all the
relevant variables but they are n
2011/2/10 Clifford Yapp :
> That does indeed look interesting. If you can get a generator working
> I'd be very interested to see what its performance numbers look like
> and would be glad to test it out - faster building would be great :-).
> How much work is involved to make a new generator?
>
Bump?
--
Mike Jackson
On Feb 8, 2011, at 5:36 PM, Michael Jackson wrote:
> At what point is the MacOSXBundleInfo.plist.in configured? I am setting all
> the relevant variables but they are not getting inserted into the plist.
>
> Here is some debug output from a CMake run of my project:
>
>
Yep, that looks like it will work - thanks!
CY
On Thu, Feb 10, 2011 at 11:21 AM, David Cole wrote:
> Sorry. Correction here... Make that:
>
> COMMAND ${CMAKE_COMMAND} -E touch
> ${CMAKE_CURRENT_BINARY_DIR}/${targetprefix}.sentinel
>
> (The "touch" is the rather important part of that command l
Sorry. Correction here... Make that:
COMMAND ${CMAKE_COMMAND} -E touch
${CMAKE_CURRENT_BINARY_DIR}/${targetprefix}.sentinel
(The "touch" is the rather important part of that command line)
On Thu, Feb 10, 2011 at 11:19 AM, David Cole wrote:
> Are you using "make -j" for parallel builds b
Are you using "make -j" for parallel builds by any chance? Does it still
happen if you use make without any -j flags...?
Rather than:
ADD_CUSTOM_COMMAND(
OUTPUT ${outputlist}
COMMAND ${CMAKE_COMMAND} -P
${CMAKE_CURRENT_BINARY_DIR}/${targetprefix}.cmake
DEPENDS ${${data
That does indeed look interesting. If you can get a generator working
I'd be very interested to see what its performance numbers look like
and would be glad to test it out - faster building would be great :-).
How much work is involved to make a new generator?
Cheers,
CY
2011/2/10 Nicolas Despr
On Thu, Feb 10, 2011 at 10:48 AM, David Cole wrote:
> Show us the surrounding code (i.e. -- the actual copy command)
- sorry, should have provided more detail.
This is an example file that does the copying:
SET(FILES_TO_COPY
/home/user/brlcad/cmake/src/tclscripts/ami.tcl;/home/user/brlca
Show us the surrounding code (i.e. -- the actual copy command)
On Thu, Feb 10, 2011 at 10:40 AM, Clifford Yapp wrote:
> I'm seeing an extremely strange behavior with
> add_custom_command/add_custom_target, and I'm not sure what's causing
> it.
>
> Background: I'm trying to copy large numbers o
On 02/10/2011 02:11 PM, Verweij, Arjen wrote:
> Thanks Tyler,
>
>> -Original Message-
>> From: Tyler Roscoe [mailto:ty...@cryptio.net]
>
>> You can't use add_custom_command() to drive this because the results of
>> any custom commands will only be available at build time. You need stuff
>
I'm seeing an extremely strange behavior with
add_custom_command/add_custom_target, and I'm not sure what's causing
it.
Background: I'm trying to copy large numbers of files in batch lots
during the make process, with a custom target that depends on a list
of files and runs a single copy process
On Thu, Feb 10, 2011 at 7:54 AM, Xavier Decoret wrote:
> I am trying to run test on Windows (using the NMake generator and Visual
> Studio) and encounter several problems:
>
> First 'nmake test' does not run the tests, as it does on other platforms
> (Unix w/ make generators).
>
> Then, when I ma
Hi,
i have some problems to get my project correctly linked and running.
Those are the files and content involved.
//app.cpp
#include "lib.h"
void main()
{
start();
}
//lib.h
void start();
//lib.cpp
#include "lib.h"
#include "cudalib.h"
void start()
{
startCudaKernel ();
On 02/10/2011 04:00 PM, David Cole wrote:
> On Thu, Feb 10, 2011 at 8:01 AM, Michael Wild wrote:
>
>> On 02/10/2011 01:52 PM, David Cole wrote:
>>> On Thu, Feb 10, 2011 at 2:50 AM, Robert Bielik >> wrote:
>>> Michael Wild skrev 2011-02-09 16:48:
>>>
what about this:
>
> file(GL
On Thu, Feb 10, 2011 at 8:01 AM, Michael Wild wrote:
> On 02/10/2011 01:52 PM, David Cole wrote:
> > On Thu, Feb 10, 2011 at 2:50 AM, Robert Bielik >wrote:
> > Michael Wild skrev 2011-02-09 16:48:
> >
> >>
> >> what about this:
> >>>
> >>> file(GLOB_RECURSE glob_results "/some/pattern*")
> >>>
Am Donnerstag, den 10.02.2011, 15:12 +0100 schrieb Michael Hertling:
> AFAICS from the documentation in [1], FIND_PACKAGE() is not obliged to
> set TLIB_VERSION et al. if no acceptable TLIBConfig[Version].cmake has
> been found, and that's quite reasonable: Suppose you've multiple TLIB
> installati
On 02/10/2011 09:03 AM, Micha Renner wrote:
> There is a library, which is described with these TLIBConfig.cmake,
> TLIBConfigVersion.cmake files (The version of the library is 2.1).
>
> The library is used by
> FIND_PACKAGE(TLIB 2.30 QUIET)
>
> Is there a way to check the version of the library
I am trying to run test on Windows (using the NMake generator and Visual
Studio) and encounter several problems:
First 'nmake test' does not run the tests, as it does on other platforms (Unix
w/ make generators).
Then, when I manually run ctest from the PROJECT_BINARY_DIR, the test will fail
b
Hi everyone,
Probably some of you are already aware of this new open-source project
coming from a Chrome developer at Google.
Its goal was to improve the build system performance of the Chrome
project. So it is designed to be a fast replacement for make.
He speaks about it in its blog here:
htt
Thanks Tyler,
>-Original Message-
>From: Tyler Roscoe [mailto:ty...@cryptio.net]
>You can't use add_custom_command() to drive this because the results of
>any custom commands will only be available at build time. You need stuff
>to happen at CMake configure time.
I noticed. Add_custom_ta
On 02/10/2011 01:52 PM, David Cole wrote:
> On Thu, Feb 10, 2011 at 2:50 AM, Robert Bielik
> wrote:
> Michael Wild skrev 2011-02-09 16:48:
>
>>
>> what about this:
>>>
>>> file(GLOB_RECURSE glob_results "/some/pattern*")
>>> set(dirs)
>>> foreach(f IN LISTS glob_results)
>>> get_filename_compo
On Thu, Feb 10, 2011 at 2:50 AM, Robert Bielik wrote:
Michael Wild skrev 2011-02-09 16:48:
>
> what about this:
>>
>> file(GLOB_RECURSE glob_results "/some/pattern*")
>> set(dirs)
>> foreach(f IN LISTS glob_results)
>> get_filename_component(d "${f}" PATH)
>> list(APPEND dirs "${d}")
>> endfo
There is a library, which is described with these TLIBConfig.cmake,
TLIBConfigVersion.cmake files (The version of the library is 2.1).
The library is used by
FIND_PACKAGE(TLIB 2.30 QUIET)
Is there a way to check the version of the library after FIND_PACKAGE?
E.g., if TLIB_VERSION would have a val
45 matches
Mail list logo