Rybadour / Spider-Fish

A simple Bullet Hell Shooter.
socr.uwindsor.ca/~giga
8 stars 4 forks source link

Implementing CMake for build system #8

Closed erisco closed 13 years ago

erisco commented 13 years ago

CMake is a cross-platform build system that will allow us to build the application with one command.

erisco commented 13 years ago

commit 74a06ac162 fixes commit 55bca49

madebyjeffrey commented 13 years ago

I believe I have some CMakeLists.txt foo that can drastically improve portability (look in my fork), but it must be reviewed to make friendly macros to make everything look nicer.

The current CMake system here looks nicer for using smaller files in subdirectories. My idea would be to take note at what SFML does and have a special folder with CMake scripts in it - store a macro or two in there that defines a target simply and keep the long winded cross platform stuff I have in there, and use the smaller file model of the current system to make it clean.

madebyjeffrey commented 13 years ago

Note CMake has been updated today and looks to be worthwhile to upgrade.

hlynka-a commented 13 years ago

Having issues compiling with CMake (posted Oct. 14, 2011). Can't use command line to run CMake (returns that it isn't recognized as a internal or external command, etc.) Opening CMake gui compiles, before saying "Looking for include files CMAKE_HAVE_PTHREAD_H Looking for include files CMAKE_HAVE_PTHREAD_H - not found." No .sin file created.

Rybadour commented 13 years ago

All issues with this should be fixed by now.