Skip to content

Commit

Permalink
add option to PD4WEB_EXTERNAL_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesneimog committed Nov 3, 2024
1 parent 50f3f17 commit 2c8279c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/pd4web/Builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ def InitCMakeLists(self):
self.cmakeFile.append("# Pd sources")
self.cmakeFile.append('set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -matomics -mbulk-memory")')
self.cmakeFile.append("include(${CMAKE_CURRENT_SOURCE_DIR}/Pd4Web/libpd.cmake)")
self.cmakeFile.append("include(${CMAKE_CURRENT_SOURCE_DIR}/Pd4Web/Externals/pd.cmake)")
self.cmakeFile.append('set(PDCMAKE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Pd4Web/Externals/" CACHE STRING "" FORCE)')
self.cmakeFile.append('set(PD4WEB_EXTERNAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Pd4Web/Externals/" CACHE STRING "" FORCE)')
self.cmakeFile.append("include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Pd4Web/pure-data/src)")
# self.cmakeFile.append("add_definitions(-DPDINSTANCE)")
self.cmakeFile.append("add_definitions(-DPDTHREADS)")

self.cmakeFile.append("")
Expand Down

0 comments on commit 2c8279c

Please sign in to comment.