cpluspluscom/ChessPlusPlus

Centralized makefile/compilation

LB-- opened this issue · 5 comments

LB-- commented

Currently we have several makefiles. @Lowest0ne recently tried changing the one @ne555 made, and everyone seems to be personalizing things.

I think there should be one makefile for all platforms and possibly a batch script like the one I've made for Windows. Obviously if the makefile supports Windows there will not be a need for the batch file.

That's the plan. All of ours are for separate platforms i believe.
I'm working right now to delete mine, and merge the OS x part with ne555's.

LB-- commented

Good news: I can successfully link to SFML with clang now (I have no idea what I did to make it work, but I am keeping these working files).

Bad news: I now have to build and link boost because of the latest changes to the config classes... X)

I am about halfway complete on the CMake file. Should be done by the end of
this weekend. If anyone knows how CMakeLists work and wants to help I would
be grateful ;p. Once it is done it should take care of most of the build
problems.

On Thu, May 23, 2013 at 12:04 PM, LB-- notifications@github.com wrote:

Good news: I can successfully link to SFML with clang now (I have no idea
what I did to make it work, but I am keeping these working files).

Bad news: I now have to build and link boost because of the latest changes
to the config classes... X)


Reply to this email directly or view it on GitHubhttps://github.com//issues/31#issuecomment-18357238
.

@LB-- Hah! I love when things like that happen. "Don't know how I did it, but I'm willing to accept it."

@Zereo I haven't a clue how CMakeLists work, otherwise I'd assist you.

LB-- commented

@Zereo if you could, update or re-fork your ChessPlusPlus repository and make the commit there, then submit a pull request containing the text Fixes #31. Also make sure you delete Makefile, Makefile.Lowest0ne, and build_clang_win.bat since you'll be including clang compilation support. If you can't include clang compilation support then leave the batch file.