Skip to content

Commit

Permalink
Move PineAPPL.hpp into pineappl_capi and install it
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Jan 30, 2024
1 parent d1ee986 commit 422d672
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/object-oriented-cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CXXFLAGS = -std=c++11 -Wall -Wextra -O3
PINEAPPL_DEPS != pkg-config --cflags --libs pineappl_capi
LHAPDF_DEPS != pkg-config --cflags --libs lhapdf

dyaa: dyaa.cpp PineAPPL.hpp
dyaa: dyaa.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) $(LHAPDF_DEPS) -o $@

PHONY: clean
Expand Down
5 changes: 4 additions & 1 deletion pineappl_capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ itertools = "0.10.1"
capi = []

[package.metadata.capi]
min_version = "0.6.16+cargo-0.45"
min_version = "0.9.0"

[package.metadata.capi.install.include]
asset = [{from = "include/PineAPPL.hpp"}]
File renamed without changes.

0 comments on commit 422d672

Please sign in to comment.