Am trying to switch from autotools to cmake on a project employing
multi-threading; the project is able to use OpenMP for multi-threading
if appropriate compiler available, otherwise it uses POSIX threads
directly. I can see there exist support for detecting pthreads
library within cmake, and I'm
Hi,
I am trying to create an alias for the "test" target called "check" in
order to use some tools that work with autotools' generated Makefiles.
I tried the following:
ADD_EXECUTABLE( stuff_test stuff_test.cpp )
ADD_TEST( stuff_test stuff_test )
ADD_CUSTOM_TARGET( check DEPENDS test )
When I
All make test does is run ctest, so it may be easier to just run
ctest from the custom target check directly.
But if you want to do it this way, you can use :
http://www.cmake.org/HTML/Documentation.html
ADD_DEPENDENCIES: Add a dependency between top-level targets.
ADD_DEPENDENCIES(target-na
I am not sure what makes a compiler OpenMP compatible, but you can
use TRY_COMPILE and TRY_RUN to test code fragments. Most likely that
is what your autotools stuff was doing. It should be pretty easy
to move the autotools over to cmake. CMake is very good at having cmake
time options. The SE
Hello!
On my way for looking for simpler building of my C++ code and easy support
for windows and Mac OS X (bundles) (which seem to be lot of fun to build
with my current autoconf/automake aproach) I found CMake and decided to test
it.
I wrote a simple makefile for one of my binaries for win
Yes, just to be sure, I installed SP6. Still, the build failed. Tracking it
down led me to believe that there were problems with capturing the console
output by using the intermediate 32 bit process. Somehow, that
cmsysProcessFwd9x.c is not getting created.
Meanwhile, my laptop has XP, the same so
On 2006-07-28 15:23-0700 Alan W. Irwin wrote:
One other issue: until this bug gets fixed in cmake and a release made, how
can I change my project so that it uses my (modified) version of Linux.cmake
rather than the Cmake one? I want to avoid requiring all Plplot users to
patch the Cmake-2.4.2 v
On 2006-07-29 16:18- [EMAIL PROTECTED] wrote:
My pkg-config 0.15 and also the current version have aditional access options
which already split compiler flags and linker flags into directory including
parts and library linking and other parts. Which seems to be exactly the
information that
On 7/29/06, William A. Hoffman <[EMAIL PROTECTED]> wrote:
I am not sure what makes a compiler OpenMP compatible, but you can
use TRY_COMPILE and TRY_RUN to test code fragments. Most likely that
is what your autotools stuff was doing. It should be pretty easy
to move the autotools over to cmake
Hello cmake crew,
VC++ 6 generator -
// find link libraries
const cmTarget::LinkLibraryVectorType& libs = target.GetLinkLibraries();
cmTarget::LinkLibraryVectorType::const_iterator j;
for(j = libs.begin(); j != libs.end(); ++j)
{
// add libraries to executables and dlls (but n
Hi,
Thanks, calling ctest directly worked:
ADD_CUSTOM_TARGET( check COMMAND ctest )
But using dependencies gives an error.
If I understood the docs correctly
ADD_CUSTOM_TARGET( check )
ADD_DEPENDENCIES( check test )
should work, but doesn't.
William A. Hoffman wrote:
> All make test does is r
11 matches
Mail list logo