Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMAKE conversion #34

Open
SAnsell opened this issue Aug 31, 2015 · 0 comments
Open

CMAKE conversion #34

SAnsell opened this issue Aug 31, 2015 · 0 comments

Comments

@SAnsell
Copy link
Owner

SAnsell commented Aug 31, 2015

I have moved the main makefile builder from my perl script into a cmake CMakeLists.txt system.

It should be run like this:

cmake ./
make

I have provided a perl script to construct CMakeLists.txt (CMake.pl) but that should not need to be run.
I make use of file(GLOB ... in the CMakeLists.txt file so if you add a new file you have to do a new cmake (otherwise just make). It should be similar speed to the old one -- but let me know if not. I am learning my way with cmake, so those of you that know cmake well, please chip is an improve the system as you feel fit.

The main reason for this change was because the old per script was getting difficult to maintain. This was particularly the case when people wanted to add sub-sub directories.

Additionally, cmake is now producing much better makefiles a than its previous versions. That means that you can touch various files and only those things that have to be rebuilt are.

Obviously I have kept the old getMake/getMk system around (for a while). If you have problems with the new cmake please let me know.

Finally, I will be adding an amount of extra decision, because at the moment, no-gsl / boost etc is not supported. I will get to that ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant