codeplea / genann

simple neural network library in ANSI C
https://codeplea.com/genann
zlib License
2.01k stars 237 forks source link

Addition of a build system generator #20

Closed elfring closed 4 years ago

elfring commented 6 years ago

I suggest to reuse a higher level build system than your current make script so that powerful checks for software features will become easier.

codeplea commented 6 years ago

There is a pull request adding CMake support here: https://github.com/codeplea/genann/pull/6

Can you tell me more about "powerful checks for software features"? I'm reluctant to add a new build system when Makefiles work fine, but maybe I'm missing the some advantage.

elfring commented 6 years ago
keithalewis commented 6 years ago

Cmake let's you build on more platforms. I submitted a PR that works on Windows with VC 2017. All the cool kids use cmake.:-)

codeplea commented 6 years ago

@keithalewis did you see PR https://github.com/codeplea/genann/pull/6 ?

keithalewis commented 6 years ago

@codeplea I did now. Sit tight, I am incorporating that into a new PR.

codeplea commented 6 years ago

Why? What's wrong with it?

keithalewis commented 6 years ago

Nothing. I added VS 2017 support.

keithalewis commented 6 years ago

Reviewing my changes. I did remove the shared library build franzflasch added. I need that for my Excel add-in implemenation of your code. https://github.com/keithalewis/xllgenann. It is possible to do both, but I was trying to keep things simple.

the-kaustubh commented 6 years ago

Can you please add into your Readme a section for others to contribute??? It'd be really helpful. Or just add a link to it PS: great work!!

letarg0 commented 5 years ago

or ninja, rake

dodobyte commented 5 years ago

needing a build system for a single file C library

get a job guys.

franzflasch commented 4 years ago

There is a pull request adding CMake support here: #6

Can you tell me more about "powerful checks for software features"? I'm reluctant to add a new build system when Makefiles work fine, but maybe I'm missing the some advantage.

Sorry, seems i am late in this discussion. My PR #6 makes it easier to integrate genann in other projects. Sure makefiles are simple and easy, but I always need to write my own makefile if I want to use genann in other projects. With my solution it is built as a shared library and can easily be linked into any other projects without fiddling around with makefiles.