On 2016-08-31 23:32, Konstantin Tokarev wrote:
31.08.2016, 16:22, "Nick Appleton" :
Hi,
I’ve been recently doing a bit of work for an open source project
trying to extend it’s support for CMake. I’ve been trying to get CMake
to be able to replicate most of the functionality wh
D_CONFIG_CONFIG.html
Does anyone have any advice?
Thanks!
Nick
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, pl
the created solution and things
would work, but it does not seem to be happening. Could anyone provide
me with some information as to whether this is a bug in CMake or if I am
missing something bigger here?
Thanks!
Nick
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake
al Studio). I would have assumed that
CMake would invoke msbuild/devenv on the created solution and things
would work, but it does not seem to be happening. Could anyone provide
me with some information as to whether this is a bug in CMake or if I
am missing something bigger here?
Thanks!
Nick
--
derstand if the behavior change is expected
or if this is just a bug?
Thanks!
Nick Appleton
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
inf
"(" "CMAKE_CXX_COMPILER_VERSION" "VERSION_GREATER_EQUAL"
"19.0.24215.1" "AND" "CMAKE_CXX_COMPILER_VERSION" "VERSION_LESS" "19.10"
")" "OR" "CMAKE_CXX_COMPILER_VERSION" "VERSION_GREATER_EQUAL"
"19.1
om CMake's expected output filename so it knows to
look for myfile.rel. Should I create a custom command which moves myfile.rel to
myfile.a51.rel? It seems unnecessarily Byzantine. Is there an easier way
xml files changes (e.g. a deletion)
the cmake
cache doesn't get regenerated and thus the xml files are not reglobbed
and so the
custom command fails.
Any suggestions?
Thanks,
Nick Davidson
__
This email has been scanned by
Whoops, forgot to reply on list, sorry!
> From: cmake-boun...@cmake.org
> [mailto:cmake-boun...@cmake.org] On Behalf Of Andreas Pakulat
> Sent: 15 September 2010 13:03
> To: cmake@cmake.org
> Subject: Re: [CMake] add_dependency on a custom target
>
> On 15.09.10 12:34:43
effect of causing
Xcode to re-evaluate the mod times of files, which in a way, compensates for
missing static library dependency.
I'd like to contribute to making the xcode project generator better, but would
like to understand why the current implementation works as it
when a static library that it depends on is
> rebuilt.
This is normal behavior for the Xccde build system. If one target depends on
the product of another target, the build system follows the chain and builds
everything needed for the target
On Jan 13, 2011, at 1:57 PM, Bill Hoffman wrote:
> On 1/13/2011 4:49 PM, Nick Kledzik wrote:
>> On Jan 13, 2011, at 12:41 PM, Bill Hoffman wrote:
>>> This is because Xcode provides no way to order static libraries as
>>> far as I can tell, or to repeat them.
locations are the "native" location where Xcode would put a build
result. So, I need to create xcode projects that place/copy the resulting
executables somewhere that cmake universe expects.
Now I am wondering if I should add a copy-files-phase in the executable target
to copy the
uld put a
> build result. So, I need to create xcode projects that place/copy the
> resulting executables somewhere that cmake universe expects.
>
> Now I am wondering if I should add a copy-files-phase in the executable
> target to copy the resulting binary to the build di
time.c
varray.c)
include_directories(${SERVER_SOURCE_DIR}/libmba)
add_library(mba STATIC ${mba_SRC})
--
Any help would be greatly appreciated.
Kin
ould anyone tell me what the requirements are for static vs dynamic
compilation?
On Wednesday 04 February 2009 01:34:56 Matthew Woehlke wrote:
> Nick Ogden wrote:
> > Hi there,
>
> I see you found the right list ;-).
>
> (And I will admit I was lazy and didn't read it be
or this is a C++ error
> > your source file is lacking the main() function thus
> > the compiler cannot produce an executable.
> >
> > I bet that if you search for " undefined reference to `main' " on the Web
> > you'll find the answer to such question
t;
> Please post that to the list.
>
> _
> Mike Jackson mike.jack...@bluequartz.net
> BlueQuartz Softwarewww.bluequartz.net
> Principal Software Engineer Dayton, Ohio
>
> On Feb 4, 2009, at 5:07 AM, Nick Ogden w
iated.
Kind Regards
--
Nick Ogden
Email: n...@nickogden.net PGP: 2598FFE4
Web: www.nickogden.net
signature.asc
Description: This is a digitally signed message part.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
ht
TARGET_FILE CPP XML)
MakePot("project.pot" "${LIST1}" "${LIST2}")
Is this behavior expected? I'm running Debian Lenny and Cmake 2.6-patch0
Thanks,
Nick Davidson
__
This email has been scanned by t
Hello,
I would like to build a Mac OS X Universal dmg using cpack, but
currently we're building an i386 - how might we build universal
instead?
Here's our CPack config:
http://code.google.com/p/synergy-plus/source/browse/trunk/cmake/CMakeLists_cpack
gt; check this by just running the 'file' command on any of the
> libraries/executables.
Thanks, the change worked like a charm:
http://code.google.com/p/synergy-plus/source/detail?r=649
Here's the new output:
home-ws-5:release-1.3.6 nick$ file bin/synergyc
far. I am using cmake 3.0.2. Please let me
know what I am missing. Thanks in advance for your help.
Nick
The relevant part of my cmake file:
Set(CFLAGS "-m32")
Set(CXXFLAGS "-m32")
Set(CMAKE_C_FLAGS "-m32")
Set(CMAKE_CXX_FLAGS "-m32")
Se
On Fri, Apr 22, 2016 at 5:08 PM, Alan W. Irwin
wrote:
> On 2016-04-22 14:59-0400 Nick Deubert wrote:
>
>> Hey everyone, I am trying to build and link some 32bit binaries on
>> Ubuntu 15.10 64bit, but no matter what combination of arguments I give
>> FIND_LIBRARY I cannot
On Mon, Apr 25, 2016 at 4:01 PM, Alan W. Irwin
wrote:
> On 2016-04-25 14:06-0400 Nick Deubert wrote:
>
>> On Fri, Apr 22, 2016 at 5:08 PM, Alan W. Irwin
>> wrote:
>>>
>>> On 2016-04-22 14:59-0400 Nick Deubert wrote:
>>>
>>>> Hey every
() function,
but I am struggling to find a way to: given a CMake target, create a variable
containing the set of linker paths and library names to use in the pkg-config
file.
Can anyone give me some hints as to whether this is possible?
Cheers,
Nick
--
Powered by www.kitware.com
Please keep messages
nk to sample project: https://github.com/nwh/foobar
Questions:
* Is this a problem?
* What is the purpose of cmake_device_link.o?
Thanks,
Nick
--
View this message in context:
http://cmake.3232098.n2.nabble.com/Question-regarding-CUDA-support-in-CMake-3-8-0-rc2-tp7595171.html
Sent from the CMake
Thank you!
Setting:
set(CMAKE_CUDA_FLAGS "-arch compute_30 ${CMAKE_CUDA_FLAGS}")
did the trick.
Is there any documentation or example projects related to the new CUDA
support?
CUDA support is great to have and will simplify my build system! Thank you.
--
View this message in context:
http
everything worked as
expected (the qrc_icons.o file is created) and the exe runs with the
images.
So is this a problem with the FindQt4 module on MacOS X or do I need
to do something extra on Mac? I have the RCC exe in my path and it
produces the expected output when I run it manuall
installation.
Best Regards
Nick
Nick Lewis
nick.le...@usa.g4s.com<mailto:nick.le...@usa.g4s.com>
+44 1684 277137
www.g4stechnology.com<http://www.g4stechnology.com/>
New Challenge House, International Drive, Tewkesbury, Gloucestershire, GL20
8UQ, UK
P Please consider the environment bef
Hello everyone,
I recently started using cmake and I'm having some trouble setting-up my
project. I've searched quite a lot and couldn't find a clear answer.
The project has a top level CMakeLists.txt which builds the executable.
In my project, I have included external libraries which I add
Hi,
I have the custom command provided below which successfully creates
mydll.obj in the correct intermediate directory. However the LinkObjects
property of the custom command within Visual Studio 2013 is set to false and
therefore the object file is not linked. Upon inspection of the CMake cod
Hi,
Thanks for the quick reply. I enabled asm language and it now links.
Apologies for the noob question;
Thanks Nick
From: Hendrik Sattler [mailto:p...@hendrik-sattler.de]
Sent: Wednesday, 2 September 2015 8:13 PM
To: ngeorgh...@iprimus.com.au; cmake@cmake.org
Subject: Re
Try again with this example:
http://stackoverflow.com/questions/3897839/how-to-link-c-program-with-boost-using-cmake
On 2012-08-08, at 12:52:06 , Sumit Adhikari wrote:
> I am searching boost like as follows :
>
> # Boost Library Search
> find_package (Boost)
> if (Boost_FOUND)
> include_dire
he reply. But is this is a Bug ?
>
>
> Regards,
> Sumit
>
>
> On Wed, Aug 8, 2012 at 1:28 PM, Nick Overdijk wrote:
>
>> Try again with this example:
>>
>>
>> http://stackoverflow.com/questions/3897839/how-to-link-c-program-with-boost-using-cmake
&g
I'm not sure where it was, but CMake prefers gcc over cc, and cxx over g++. You
can force it by setting CC=clang.
On 2012-03-10, at 09:27:28 , Pere Mato Vila wrote:
> In my Mac system (10.7.4) with Xcode (4.4.1) CMake finds by default the GNU
> compiler for C and Clang for C++. This posses pro
http://public.kitware.com/Bug/view.php?id=13574
On 8/11/2012, at 5:39 PM, cmake-requ...@cmake.org wrote:
> From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of
> David Cole
> Sent: mercredi 7 novembre 2012 20:41
> To: cmake; CMake Developers
> Subject: [CMake] Bug fix req
Aren't you the one generating those names?
http://www.swig.org/Doc1.3/Introduction.html#Introduction%5Fbuild%5Fsystem
On 2012-28-11, at 01:11:24 , Miller Henry wrote:
> Our normal coding standards requires zero warnings with –wall –wextra
> (gcc/clang), but often the swig generated file has wa
I had a derp, sorry about that. Obviously you don't, hah.
You can put all the swig-generated files in a directory, and then perhaps set
the properties with a glob?
On 2012-28-11, at 02:22:00 , Nick Overdijk wrote:
> Aren't you the one generating those names?
>
> http://
You could install boost to /usr/local if you're on linux/OSX? That's the
standard location for non-system libs, CMake-Modules will look there.
On 2013-12-01, at 13:04:50 , peterle oberwi wrote:
> Hi,
>
> I want to use Boost library in my project. But there is one version installed
> in the sys
When I use include_directories(SYSTEM $path), it still includes stuff with -I.
Through
http://stackoverflow.com/questions/3371127/use-isystem-instead-of-i-with-cmake
I found out I should change some variable, but this seems like a bug in CMake?
--
Powered by www.kitware.com
Visit other Kitwar
I use add_subdirectory to add bullet and sdl.. Could you try that? I've never
worked with ExternalProject_Add and wouldn't really know what it does.
On 2013-20-01, at 22:26:44 , Ansis Māliņš wrote:
> The line
> ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR})
> fails with
> Install the p
You don't use find_package when add_subdirectory, just
target_link_library().
I'm not sure if this is frowned upon or not, but it does work, and shouldn't
change that often or anything. Strictly speaking it's a bit dirty though.
Thing is, why is bullet build by you? Do you need it in this repos
CXXFLAGS= cmake
or
cmake -DCMAKE_CXX_FLAGS=""
On 2013-24-01, at 13:02:58 , ambreen haleem wrote:
> Hi,
>
> I want to set clang_cxx_library parameter in cmake. Does not seems to be
> working by passing through linker. Is there a way I can do that?
>
> Regards
> Ambreen
> --
>
> Powered by
We use this
if(CMAKE_C_COMPILER MATCHES "clang" OR CMAKE_CXX_COMPILER MATCHES "clang")
set(COMPILING_WITH_CLANG True)
elseif(CMAKE_C_COMPILER MATCHES ".*gcc.*" OR CMAKE_CXX_COMPILER MATCHES
".*g[+][+].*")
set(COMPILING_WITH_GCC True)
endif()
In our project
On 2013-30-01, at 14:4
Can't you only launch parent.exe in VS and remove the dependency?
On 2013-08-02, at 12:19:56 , Andreas Haferburg wrote:
> In our build, we have two executables, parent.exe launches child.exe as a
> child process. ATM the build is set up with add_dependencies(parent child).
> So when using F5 in
; rebuilt, too.
>
> Andreas
>
>
> On 08.02.2013 12:21, Nick Overdijk wrote:
>> Can't you only launch parent.exe in VS and remove the dependency?
>>
>> On 2013-08-02, at 12:19:56 , Andreas Haferburg wrote:
>>
>>> In our build, we have two exec
I'm probably missing something, but why
> add_dependencies(parent child)
? That doesn't make sense. Parent is not using anything from child. You can
just leave that line away and everything will be fine right?
On 2013-08-02, at 16:24:21 , Andreas Haferburg wrote:
> Yes, that's pretty much the
I don't really get your specific problem... CMake can find and install ITK and
DCMTK just fine here? (I had to manipulate the linker-order of DCMTK a bit but
that's almost to be expected, sadly).
You're saying that when you find_package(DCMTK) it's libraries doesn't include
some library it need
So patch FindDCMTK/FindTIFF in such a way that it add zlib to the dependencies,
use that, and send the patch to your local maintainer?
On 2013-14-02, at 17:01:53 , Kent Williams wrote:
> @Nick find_package(DCMTK) does an OK job. The specific issue I ran into is
> that TIFF depends on Zl
"Dakon", Don't know his real name, sorry, wrote something for this, you can get
it here:
git://anongit.kde.org/scratch/dakon/cmake-cxx11
On 2013-20-02, at 01:17:28 , Alexey Petruchik wrote:
> Hi, I'm doing this by adding:
> set(CMAKE_XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS
> "@executable_path/
You should install boost in /usr/local with ./b2 install, then more packages
will find it. Did you do this or not?
Anyway, I just did this:
git clone git://github.com/SOCI/soci.git
cd soci
cd src
mkdir build
cd build
cmake ..
And it worked for me. So what did you do exactly?
On 2013-14-03, at
You can only 'cmake' a single-target. If you want to have more targets, create
more directories: for each target one.
On 2013-14-03, at 19:07:36 , John Drescher wrote:
>> I use cmake 2.8.10 on windows.
>>
>>
>>
>> I would like to build several targets with cmake --build so the
>> underlying
LUDE_DIR-NOTFOUND
> -- DB2_LIBRARIES= DB2_LIBRARY-NOTFOUND
> -- Configuring SOCI core library:
> -- Looking for include file pthread.h
> -- Looking for include file pthread.h - not found
> -- Could NOT find Threads (missing: Threads_FOUND)
> CMake
motor/CMakeFiles/motor.dir/CXX.includecache:1224:vertices.hpp
./motor/CMakeFiles/motor.dir/CXX.includecache:1225:/Users/nick/Documents/Code/new-onegame/motor/basic/vertices.hpp
./motor/CMakeFiles/motor.dir/CXX.includecache:1241:/Users/nick/Documents/Code/new-onegame/motor/basic/vertices.hpp
./motor/CMake
.
Many thanks for any hint,
Nick Gnedin
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe
for code, so they end up included twice.
On 04/22/2013 01:50 PM, Jean-Christophe Fillion-Robin wrote:
Hi Nick,
What about creating a static library that would be linked against both
the executable and the library ?
Hth
Jc
On Mon, Apr 22, 2013 at 2:45 PM, Nick Gnedin mailto:ngne...@gmail.com
an make
it. (Assuming a release build, where the linker leaves out what it
doesn't need...)
-Original Message-
From: Nick Gnedin
Cc: CMake ML
Sent: Mon, Apr 22, 2013 2:55 pm
Subject: Re: [CMake] Sharing sources between two targets
That doubles the size of the executable,
You can pass the QUIET parameter to find_package... that'll at least shut it
up. Perhaps easiest in your case.
On 2013-05-09, at 18:22:25 , Andrew Corrigan wrote:
> Hello,
>
> My C++ code only uses the MPI C library.
>
> 1. Is there a way to tell find_package(MPI) to only look for the C versi
GTEST_INCLUDE_DIRS, GTEST_LIBRARIES etc. It's really quite
nice.
Check the 2.8.12 CMake docs for target properties that start with
"INTERFACE".
Nick
On 19 October 2013 08:59, Magnus Therning wrote:
> On Sat, Oct 19, 2013 at 11:28:53AM +0400, Игорь Пашев wrote:
> > 2013/10/19 Ma
target_link_libraries() is supposed to work for linker flags as well:
cmake version 2.8.12
target_link_libraries
Link a target to given libraries.
target_link_libraries( [item1 [item2 [...]]]
[[debug|optimized|general] ] ...)
Specify librar
61 matches
Mail list logo