Skip to content

Commit 59eb51e

Browse files
committed
更新构建脚本
1 parent 3c3b826 commit 59eb51e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

darwin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#define DARWIN_FORCE_BUILTIN
2222

2323
#include <darwin/darwin.hpp>
24-
#include <covscript/extension.hpp>
24+
#include <covscript/dll.hpp>
2525

2626
static cs::namespace_t darwin_ui_ext=cs::make_shared_namespace<cs::name_space>();
2727
static cs::namespace_t darwin_core_ext=cs::make_shared_namespace<cs::name_space>();

make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@mkdir build
22
@cd build
33
@mkdir imports
4-
@g++ -std=c++11 -I ..\include -shared -static -fPIC -s -O3 ..\darwin.cpp -o .\imports\darwin.cse
4+
@g++ -std=c++11 -I%CS_DEV_PATH%\include -I..\include -shared -static -fPIC -s -O3 ..\darwin.cpp -o .\imports\darwin.cse -L%CS_DEV_PATH%\lib -lcovscript

0 commit comments

Comments
 (0)