This repository has been archived by the owner on Dec 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.w32
40 lines (27 loc) · 1.57 KB
/
config.w32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// $Id$
// vim:ft=javascript
ARG_ENABLE("phpsciter", "enable phpsciter support", "yes");
if (PHP_PHPSCITER == "yes") {
if (CHECK_HEADER_ADD_INCLUDE("sciter-x-api.h", "CFLAGS_SEASLOG", configure_module_dirname + "\\include;" + PHP_EXTRA_INCLUDES)) {
phpsciter_source_file="src/sciter-callback.cc \
src/sciter-value.cc \
phpsciter.cc \
phpsciter_application.cc \
src/sciter-zend-request.cc \
src/sciter-op_array-life.cc \
src/sciter-zend-api.cc \
lib/php-window-linux.cc \
lib/sciter-util.cc"
phpsciter_lib_file="php-window.cpp"
EXTENSION("phpsciter", "phpsciter.cpp");
ADD_SOURCES(configure_module_dirname + "\\src", phpsciter_source_file, "phpsciter");
ADD_SOURCES(configure_module_dirname + "\\lib", phpsciter_lib_file, "phpsciter");
ADD_FLAG("CFLAGS_PHPSCITER", " /I " + configure_module_dirname + "\\");
ADD_FLAG("CFLAGS_PHPSCITER", " /EHsc /I " + configure_module_dirname + "\\include");
ADD_FLAG("CFLAG_ENCHANT", "/D _WIN32");
AC_DEFINE("HAVE_PHPSCITER", 1, "Have phpsciter Support");
} else {
WARNING("phpsciter not enabled, headers not found");
}
}
//CHECK_LIB("glib-2.0.lib;gtk-win32-2.0.lib;gdk-win32-2.0.lib;gobject-2.0.lib;gdk_pixbuf-2.0.lib;gthread-2.0.lib;gmodule-2.0.lib;pango-1.0.lib;intl.lib;", "phpsciter", PHP_PHPSCITER)