Hi,
I need to solve problem described here:
https://cmake.org/pipermail/cmake/2005-August/007091.html
Basically I have test.i (swig input):
%module native
%include "lib.hpp"
%{
#include "lib.hpp"
%}
swig with -M option can tell that generated by it code depend on
"lib.hpp", but how I can
Hi,
I want to get coredump of test that was stopped by ctest because of timeout.
I look at source code of cmake (kwsysProcessKill), and looks like
there is no way to configure which signal number will be used to kill
process.
Am I right, and there is no way to force ctest to use signal that
On Sun, May 8, 2016 at 11:20 PM, Craig Scott wrote:
> Add the MACOSX_BUNDLE keyword to your add_executable() command. See the
> CMake docs for details.
Thanks, it works.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
Hi,
I created simple hello world with qt5 (5.6) using cmake 3.5.2:
set(test_app_UIS mainwin.ui)
set(test_app_MOC_HDRS mainwin.hpp)
qt5_wrap_ui(test_app_UIS_H ${test_app_UIS})
qt5_wrap_cpp(test_app_MOC_SRCS ${test_app_MOC_HDRS})
add_executable(test_app ${test_app_UIS_H} ${test_app_MOC_SRCS}
Hi,
in my project I used such magic code for precompiled headers support
(gcc,clang only):
#take gcc_flags from
${CMAKE_CXX_FLAGS}
${CMAKE_CXX_FLAGS_${_build_type}}
get_target_property(... COMPILE_FLAGS)
get_directory_property(...
}, -D)
else ()
list(APPEND gcc_flags -D${flag})
endif ()
endforeach()
but may there is better solution?
On Sun, Oct 5, 2014 at 10:25 AM, Evgeniy Dushistov dushis...@gmail.com wrote:
Hi,
in my project I used such magic code for precompiled headers support
(gcc,clang only
Hi,
here is description of the problem:
http://www.cmake.org/pipermail/cmake/2013-October/056008.html
in short, cmake not handle dependencies of c/c++ source file from c/c++
header file, if source file has utf-8 BOM.
So, if for example in your team used Visual Studio with preference to
save files
In attachment(Is mail list accpet attachments?) simple example with
test.cpp and test.h.
test.cpp include test.h.
I generate on linux with help of cmake (2.8.11.2) make files, build it,
then exec touch test.h, after that rerun make, and it do nothing:
$ mkdir build cd build
$ cmake .. make
bla