Skip to content

move files from build to repo root, install header files, install cmake files#2384

Open
milahu wants to merge 4 commits into
PurpleI2P:opensslfrom
milahu:fix-cmake-files
Open

move files from build to repo root, install header files, install cmake files#2384
milahu wants to merge 4 commits into
PurpleI2P:opensslfrom
milahu:fix-cmake-files

Conversation

@milahu

@milahu milahu commented May 21, 2026

Copy link
Copy Markdown
Contributor

mostly cosmetic changes

the build directory should not be part of the source tree

building a project should work like

rm -rf build
mkdir build
cd build
cmake ..
cmake --build .
cmake --install .

cmake should also install

  • header files
  • cmake files

... so downstream projects can actually use libi2pd

the changes were made with the help of chatGPT

todo

  • test the generated cmake files
  • remove Makefile* - cmake should work on all platforms

related

CI errors

@milahu milahu force-pushed the fix-cmake-files branch 3 times, most recently from 33fc650 to 5a1cbca Compare May 21, 2026 19:05
@orignal

orignal commented May 21, 2026

Copy link
Copy Markdown
Contributor

Let @r4sas review this change.

@milahu milahu force-pushed the fix-cmake-files branch from 5a1cbca to ed16cbf Compare May 22, 2026 06:10
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