Skip to content

Commit

Permalink
Move Fine to a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Feb 19, 2025
1 parent 45b584b commit d4f0c7a
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 1,519 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NIF_PATH = $(PRIV_DIR)/libpythonx.so

C_SRC = $(shell pwd)/c_src/pythonx
CPPFLAGS = -shared -fPIC -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-comment
CPPFLAGS += -I$(ERTS_INCLUDE_DIR)
CPPFLAGS += -I$(ERTS_INCLUDE_DIR) -I$(FINE_INCLUDE_DIR)

ifdef DEBUG
CPPFLAGS += -g
Expand Down
2 changes: 1 addition & 1 deletion Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NIF_PATH=$(PRIV_DIR)\libpythonx.dll

C_SRC=$(MAKEDIR)\c_src\pythonx
CPPFLAGS=/LD /std:c++17 /W4 /wd4100 /wd4458 /O2 /EHsc
CPPFLAGS=$(CPPFLAGS) /I"$(ERTS_INCLUDE_DIR)"
CPPFLAGS=$(CPPFLAGS) /I"$(ERTS_INCLUDE_DIR)" /I"$(FINE_INCLUDE_DIR)"

SOURCES=$(C_SRC)\*.cpp
HEADERS=$(C_SRC)\*.hpp
Expand Down
Loading

0 comments on commit d4f0c7a

Please sign in to comment.