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
Howdy,
I have a header file, vertices.hpp with some not-inline function-definitions
(yes really defs not decls), and a project, beamer. Sometimes when I change
vertices.hpp, the changes don't reflect in the binary. I was wondering why this
is, so I grepped a bit in my build-dir:
./motor/CMakeF
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
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
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
"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/
o just manually add whatever extra target_link_libraries are
> needed to shut the linker up and move on.
>
>
> On Thu, Feb 14, 2013 at 5:48 PM, Nick Overdijk wrote:
> I don't really get your specific problem... CMake can find and install ITK
> and DCMTK just fine here? (I ha
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
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
; 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
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
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
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
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
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
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
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
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://
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'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
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
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
22 matches
Mail list logo