cbkiyanda / cspl

Common Scientific Programming Library
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

cmake installer needed #3

Closed balarsen closed 9 years ago

balarsen commented 9 years ago

We need to hammer on cmake to make this thing install properly with the library and headers.

nicolasbock commented 9 years ago

You mean put libraries in lib and headers in include?

balarsen commented 9 years ago

Yeah exactly. Also might be nice to be able to use cmake for the tests, I could not figure out how to run checkmk then gcc on them.

nicolasbock commented 9 years ago

CMake has ctest which we use for our unit and regression testing. Works really well. I'll have a look at the CMake scripts.

balarsen commented 9 years ago

I can totally start using ctest instead if y'all can show me how with a template or links to decent documentaion

Brian

On Wed, Oct 1, 2014 at 10:50 AM, Nicolas Bock notifications@github.com wrote:

CMake has ctest which we use for our unit and regression testing. Works really well. I'll have a look at the CMake scripts.

— Reply to this email directly or view it on GitHub https://github.com/cbkiyanda/cspl/issues/3#issuecomment-57497690.

balarsen commented 9 years ago

Can you explain how cmake test you added for size knows how to pass?

nicolasbock commented 9 years ago

At this point it simply uses the exit code of the program to determine whether the test passed or not. You could alternatively print something and then use regular expressions for success and failure. It's simpler to use though if you can condense things down to an exit code.

nicolasbock commented 9 years ago

Please have a look at 1f53fe56. It installs the library and the header files.

balarsen commented 9 years ago

I believe we can close this now