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

Move compiler flags to unique file #35

Merged
merged 11 commits into from
Aug 21, 2017
Merged

Move compiler flags to unique file #35

merged 11 commits into from
Aug 21, 2017

Conversation

piponazo
Copy link
Collaborator

The main objective of this Pull Request is to move most of the compiler flags related code to a unique file (instead of having that code spread in different files).

I have removed the old CMake_msvc.txt file that was included in several places and running the same macros over and over. That code is now in config/compilerFlags.cmake and it is only configured once for MSVC.

I also have found some other small improvements in the CMake code that I could not avoid to fix following the boy-scout rules (Refer to the commit messages to have a closer look to each change).

@clanmills clanmills merged commit 20c03a5 into Exiv2:master Aug 21, 2017
@clanmills
Copy link
Collaborator

Thanks very much for this, Luis. For sure, the CMake code looks better every day. I've successfully built with msvc (2005), Mac, Linux and Cygwin. Looking good. $ make tests isn't working any more, however I think it's because we're building samples/addmoddel and src/exiv2 into different directories.

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

Successfully merging this pull request may close these issues.

2 participants