mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
First cut at fixing Javascript wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -860,7 +860,7 @@ if (COOLPROP_JAVASCRIPT_MODULE)
|
||||
add_definitions(-s DISABLE_EXCEPTION_CATCHING=0)
|
||||
add_definitions(-s ASSERTIONS=1)
|
||||
add_definitions(-DEXTERNC)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-DEXTERNC -s ASSERTIONS=1 -s EXPORTED_FUNCTIONS=\"['_main','_F2K','_Props1SI','_PropsSI','_get_global_param_string','_HAProps']\"")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-DEXTERNC --memory-init-file 0 -s ASSERTIONS=1 -s EXPORTED_FUNCTIONS=\"['_main','_F2K','_Props1SI','_PropsSI','_get_global_param_string','_HAProps']\"")
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
|
||||
list(APPEND APP_SOURCES "${CMAKE_SOURCE_DIR}/src/CoolPropLib.cpp")
|
||||
|
||||
Reference in New Issue
Block a user