Skip to content

Update cmake build system #17

@ftynse

Description

@ftynse

With cmake, we compile all the sources twice: first, for the static library, and then, for the shared library. However, cmake 2.8.8 introduced object libraries to avoid such recompilation.

Debug/Release states are hardcoded in the current CMakeLists, but they should rather depend on CMAKE_BUILD_TYPE.

Finally, I do not see the reason behind installing the test suite to /usr/share.

See ftynse/chlore@39ade18 for example file.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions