COIN-OR::LEMON - Graph Library

Opened 14 years ago

Closed 13 years ago

#388 closed enhancement (fixed)

Can't build without compiling the tests using CMAKE

Reported by: Alpar Juttner Owned by: Akos Ladanyi
Priority: major Milestone: LEMON 1.3 release
Component: build system Version: hg main
Keywords: Cc:
Revision id:

Description

Using CMAKE, I see no way to switch of the compilations of the test codes. Which is actually the default choice with automake.

Any extra compilation test is a plus, but this makes a simple build with CMAKE very slow.

Attachments (2)

e20fecd1945f_cmake_make_check.patch (935 bytes) - added by Akos Ladanyi 14 years ago.
48e29534cf03.patch (974 bytes) - added by Alpar Juttner 13 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by Akos Ladanyi

comment:1 Changed 14 years ago by Akos Ladanyi

Status: newassigned

Patch attached.

comment:2 Changed 14 years ago by Alpar Juttner

Resolution: done
Status: assignedclosed

[e20fecd1945f] switches off the by default compilation of the tests, and adds a new make check target which compiles and runs the tests (similarly to the makefiles created by automake).

[3ffd46dc8e01] adds a new build type called Maintainer. Using this build type the tests are compiled and also run by default (i.e. by a simple make). You can change the build type without cmake-gui as follows.

cd lemon_source
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Maintainer ..
make

comment:3 Changed 13 years ago by Alpar Juttner

Resolution: done
Status: closedreopened

The LP and MIP tests are still built by 'make'.

Changed 13 years ago by Alpar Juttner

Attachment: 48e29534cf03.patch added

comment:4 in reply to:  3 Changed 13 years ago by Alpar Juttner

Replying to alpar:

The LP and MIP tests are still built by 'make'.

I hope [48e29534cf03] solves this issue correctly.

comment:5 Changed 13 years ago by Alpar Juttner

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.