COIN-OR::LEMON - Graph Library

Opened 16 years ago

Closed 16 years ago

#240 closed enhancement (fixed)

CMAKE config to allow use LEMON as a subproject

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

Description

It would be nice to allow the use of LEMON as a subproject, i.e. when someone could copy the lemon repo/tarball into a subdir of her own project then simply use the ADD_SUBDIRECTORY cmake command to build LEMON.

Attachments (3)

cmake-subproject.patch (3.3 KB) - added by Akos Ladanyi 16 years ago.
ba659d676331
windows-fix.patch (1.4 KB) - added by Akos Ladanyi 16 years ago.
1d87c07e8533
windows-fix-2.patch (6.0 KB) - added by Akos Ladanyi 16 years ago.
56a86a363c12

Download all attachments as: .zip

Change History (12)

Changed 16 years ago by Akos Ladanyi

Attachment: cmake-subproject.patch added

comment:1 Changed 16 years ago by Akos Ladanyi

Status: newassigned

Please see the attached patch.

comment:2 Changed 16 years ago by Alpar Juttner

Resolution: done
Status: assignedclosed

[ba659d676331] is in the main branch now.

comment:3 Changed 16 years ago by Alpar Juttner

Component: corebuild system

comment:4 Changed 16 years ago by Akos Ladanyi

Resolution: done
Status: closedreopened

Changed 16 years ago by Akos Ladanyi

Attachment: windows-fix.patch added

comment:5 Changed 16 years ago by Akos Ladanyi

Please apply the previously attached patch. I forgot to change some variable names in the Windows only parts in the original patch.

comment:6 in reply to:  5 Changed 16 years ago by Alpar Juttner

Replying to ladanyi:

Please apply the previously attached patch. I forgot to change some variable names in the Windows only parts in the original patch.

Do we really need this?

Shouldn't we just switch off the whole CPACK related stuff when CMAKE_SOURCE_DIR!=PROJECT_SOURCE_DIR?

comment:7 Changed 16 years ago by Akos Ladanyi

Updated the patch. Now it does what you said.

Changed 16 years ago by Akos Ladanyi

Attachment: windows-fix-2.patch added

comment:8 Changed 16 years ago by Alpar Juttner

[56a86a363c12] is in the main branch.

comment:9 Changed 16 years ago by Alpar Juttner

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