Hi,
Is there a way to get a coredumps from failures that happen durink 'make
test'?
Thanks,
Martin
--
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://w
Hi Eric,
Ugh! You are right. Sorry for bogus question and thanks for extensive
answer.
Martin
On 04/02/13 07:33, Eric Noulard wrote:
2013/2/4 Martin Sustrik:
Hi all,
Is it possible to create a source package that wouldn't require to install
cmake on the destination machine?
Short a
Hi all,
Is it possible to create a source package that wouldn't require to
install cmake on the destination machine?
With autotools, all the build scripts are generated when building the
package and included into the package. So, on the destination box you
can do the following:
tar -xz
On 29/11/12 08:25, Sergei Nikulov wrote:
Have you tried as per documentation provide list of files?
check_symbol_exists (getifaddrs "sys/types.h;ifaddrs.h" SP_HAVE_IFADDRS)
I was sure I've tried it and it failed. However, now it works perfectly.
I must have done something wrong before.
Th
Hi all,
I am trying to find out whether getifaddrs function is avialable.
To get symbol getifaddrs defined you have to include both sys/types.h
and ifaddrs.h. Here's the synopsis of the function from the man page:
#include
#include
int getifaddrs(struct ifaddrs **ifap)
Hi Nils,
It isn't as bad as I might have made it sound. e.g.:
add_executable(mytest test.cpp)
set_target_properties(mytest PROPERTIES RUNTIME_OUTPUT_DIRECTORY
${CMAKE_BINARY_DIR})
add_test(mytest ${CMAKE_BINARY_DIR}/mytest)
Yes. Everything works OK now. My question was more of a theoretical
On 19/10/12 11:14, Nils Gladitz wrote:
I use ${CMAKE_BINARY_DIR} in my RUNTIME_OUTPUT_DIRECTORY and also in my
explicit test paths in add_test.
I function wrapped the add_executable and add_test calls to take care of
it so the test definitions themselves are more compact and readable.
Ok. Howe
Hm,
Another problem. While individual test now runs OK, changing the test
executable location via RUNTIME_OUTPUT_DIRECTORY seems to confuse
RUN_TESTS project which is now unable to find the executables.
Martin
On 2012-10-19 09:33, Martin Sustrik wrote:
Nils,
Thanks, that helps to solve
output directory
does get a bit crowded.
Nils
On 10/19/2012 08:48 AM, Martin Sustrik wrote:
Hi all,
I have a library project with some assocaited tests.
The library is build in myproject/src directory, while tests are
built in myproject/tests directory.
Everything builds fine under MSVC2010
Hi all,
I have a library project with some assocaited tests.
The library is build in myproject/src directory, while tests are built
in myproject/tests directory.
Everything builds fine under MSVC2010, resulting DLL is stored in
myproject/src/Debug.
However, if I try to run the test, it com
10 matches
Mail list logo