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 include/CMake content to src #1601

Merged
merged 1 commit into from
May 4, 2021
Merged

Conversation

piponazo
Copy link
Collaborator

@piponazo piponazo commented May 4, 2021

For a long time I wanted to modify the CMake code which is taking care of the installation of the public headers.

We keep all the public headers in the directory include/exiv2 and in the past somebody added a file include/exiv2/CMakeLists.txt to manage the installation of these files.

We have another CMake file src/CMakeLists.txt which is the one taking care of the configuration of the library and main terminal application (source files, dependencies, installation, etc).

I find more natural to remove the file include/exiv2/CMakeLists.txt and include its content into src/CMakeLists.txt. Even though the public headers are in a different directory, they are considered a intrinsic part of the library.

@piponazo piponazo requested a review from hassec May 4, 2021 05:00
@piponazo piponazo merged commit b675c58 into main May 4, 2021
@piponazo piponazo deleted the main-NoCmakeInIncludeFolder branch May 4, 2021 10:37
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