my main CMakeLists.txt file already has a few directives that move the libs
to an output folder so the binaries go to /bin while static and shared
libraries go to /lib
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_
Hi QP,
Probably not the intended solution, but what I’m doing in such cases is that in
a patch step I create a shell script that does the configuration for me. With
all the environment settings and everything. Like:
PATCH_COMMAND ${CMAKE_COMMAND} -E echo “cd someDir/; CC=\”something\”
./config
Hi Owen,
This seems like a textbook example of using target_include_directories(…) with
generator expressions. Let’s take the example where:
lib1/headers/lib1.h
lib1/lib1.c
lib2/headers/lib2.h
lib2/lib2.c
If you want to be able to include lib1.h and lib2.h with simply
#include “lib1.h”
and
#
Hello All,
Here is the small description of the issue:
OS: RHEL 6.6
cmake ver. 2.8.12.2
gmake ver. 3.81
I launch the build and got the following error:
make build_release -j5
make[1]: Entering directory `/home/igor/build_root/release_target'
make[1]: warning: jobserver unavailable: using -j1.
Hi all,
I am trying to setup an ExternalProject in cmake but got stuck in the
configuration step. I am using ccache to speed up the compilation:
```
ExternalProject_Add(
...
CONFIGURE_COMMAND CC="ccache arm-linux-gnueabihf-gcc" ./configure
...
)
```
However, when cmake generates the Makefi
On 2015-12-09 09:23+0100 Marcel Loose wrote:
Hi Alan,
Just by experimenting, I discovered that you also need to set
DART_TESTING_TIMEOUT. I'm not sure what the relationship (if any) is
between CTEST_TEST_TIMEOUT and DART_TESTING_TIMEOUT. I set them both in
the file CTestConfig.cmake. I get the
hi
I am building a shared library project that's composed of many smaller
shared library files.
Here's the main shared library project and a list of all the sub projects.
SET(HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/headers/main_lib.h)
SET(SRC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/main_lib.c)
SET(TA
On 08/12/15 20:21, digitalriptide wrote:
> Thank you Gregor! I have tried the Makefile generator, but on OS X -isystem
> still seems to be missing with GCC. The -isystem flag appears with Clang,
> however. I have installed CMake 3.4.1 and GCC 5.3.0, both through MacPorts.
> I can provide a sample p
Hi,Please, I would like to be able to post to the "CMake" mailing list. Thank you.Humberto Leon-Bermudez
--
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.
[getting offtopic] Well, not because of this script but for any serious
development on Windows I think it's a good idea to use the *nix shell
provided by the Windows Git installation, it feels quite native. Together
with cbucher's ConsoleZ you get a very convenient environment for
cmake/command-lin
robert@kalymnos:~/Code/Debug/normandBuild$ cmake --version
cmake version 3.4.1
Reading docs trying to understand why my build works when I write
target_link_libraries(Debug ${VTK_LIBRARIES} -lsri-spatialfft
-lsri-spatial -lsri-memory)
but not when everything is protected in quotes:
target_li
Reading docs trying to understand why my build works when I write
target_link_libraries(Debug ${VTK_LIBRARIES} -lsri-spatialfft
-lsri-spatial -lsri-memory)
but does not work when everything is protected in quotes:
target_link_libraries(Debug "${VTK_LIBRARIES} -lsri-spatialfft
-lsri-spatial -
Looks interesting Tamas! Too bad shell scripts don’t work natively on
Windows :)
Kevin
On 8 Dec 2015, at 16:59, Tamás Kenéz wrote:
Kevin, I have a shell script for such tasks, see
https://gist.github.com/tamaskenez/d4509f240f4224eb9853. Feel free to
use
it if that's what you need.
It exte
Doesn't look like there is a Toolset target property anywhere. You can
set it from the command line, but I think setting a toolset per target
makes sense. Considering the direction that Visual Studio 2015 is
headed. For example Microsoft has a Clang compiler with MS CodeGen.
They recommend using th
Mac OSX:
Since PackageMaker has been deprecated by Apple, the new tools to use
are pkgbuild [1] and productbuild [2].
Simple question: Is there any work being done by the CMake community on
a new OS X CPack backend to support the above tools ?
Regards
/Robert
[1]
https://developer.apple.co
On Wed, Dec 9, 2015 at 5:32 AM, Igor Sobinov wrote:
> Hello,
>
> I compiled cmake based project with -jN option, but failed: I got the
> following error:
>
> make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make
> rule.
>
That is actually only a warning
‘warning: jobser
Hello,
I compiled cmake based project with -jN option, but failed: I got the following
error:
make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make
rule.
How to make cmake to compile with multiple targets?
Bye, Igor
--
Powered by www.kitware.com
Please keep messages
On Wed, Dec 9, 2015 at 7:32 AM, Igor Sobinov wrote:
> Hello,
>
> I compiled cmake based project with -jN option, but failed: I got the
> following error:
>
> make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent
> make rule.
>
> How to make cmake to compile with multiple targets?
Hello,
I'm trying to create a tree of components like this:
- plugins
| - a
| - b
Where the user can select plugins to select all children or manually
select a, b.
I can get the selection of that component tree but unable to mark them
selected by default using CPackIFW. This is my curre
Hi Alan,
Just by experimenting, I discovered that you also need to set
DART_TESTING_TIMEOUT. I'm not sure what the relationship (if any) is
between CTEST_TEST_TIMEOUT and DART_TESTING_TIMEOUT. I set them both in
the file CTestConfig.cmake. I get the feeling that DART_TESTING_TIMEOUT
is there for l
20 matches
Mail list logo