Skip to content

move rest of sumit code into here with a single common makefile #1

@jim-smith

Description

@jim-smith

Hi @rpreen , would welcome your thoughts on this as a simplifying plan for distributing the code without all the netbeans-generated crap and without the need for separate repositories


Having edited the various makefiles, they are far more complex that they need be, and in particular by using different named sub-directories for different architectures within the dist directory they introduce a level of complexity that I don't think is justified.

I'm also not particularly convinced. about the desirability of requiring users to install cmake for creating the executables for the cpp files.

I suggest a structure something like:

src:
-- libfiles/
-- cell_suppression/
-- solver/
-- server/
-- thirdparty/ (the coin-or files with their licence)

dist/
holds the sumitlib.o, uweserver.jar, uwecellsuppresssion(.exe) and uwesolver(.exe) files

Makefile (single file at top level within src, no messing around with lower level ones with sub-directories)
all: uweserver, cellsuppression and solver as targets

Then if someone wants to add code that does something other than cell suppression, they can add new directories, pull from the lib if they want to etc.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions