Opened 15 years ago
Closed 15 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)
Change History (7)
Changed 15 years ago by
| Attachment: | e20fecd1945f_cmake_make_check.patch added |
|---|
comment:1 Changed 15 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 15 years ago by
| Resolution: | → done |
|---|---|
| Status: | assigned → closed |
[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 follow-up: 4 Changed 15 years ago by
| Resolution: | done |
|---|---|
| Status: | closed → reopened |
The LP and MIP tests are still built by 'make'.
Changed 15 years ago by
| Attachment: | 48e29534cf03.patch added |
|---|
comment:4 Changed 15 years ago by
Replying to alpar:
The LP and MIP tests are still built by 'make'.
I hope [48e29534cf03] solves this issue correctly.
comment:5 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |


Patch attached.