-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig-sample-win32.mk
63 lines (51 loc) · 2.01 KB
/
config-sample-win32.mk
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# configurable build settings
# these can be set on the command line or in config.mk
# use Lua 5.2
# Lua 5.1 is no longer supported by chdkptp, but it may work
USE_LUA_52=1
# should IUP gui be built ?
IUP_SUPPORT=1
# should gui include CD
CD_SUPPORT=1
# enable CD "plus" context support.
# To actually render with contextplus, set gui_context_plus=true in your startup file
# this uses gdiplus on windows, better image scaling but slower / larger exe
#CD_USE_PLUS=gdiplus
# should this build include PTP/IP (wifi camera) support
#PTPIP_SUPPORT=1
# include gnu readline support (command history+editing)
# on windows, native command history works so this isn't needed
#READLINE_SUPPORT=1
# the follwing may be set if your readline is not in a standard location
#READLINE_LIB_DIR=/path/to/readline/libs
# note code expects for find readline/readline.h
#READLINE_INCLUDE_DIR=/path/to/readline/headers
# library names for -llibfoo, only needed to override defaults
#READLINE_LIB=readline history
# root directories of various packages, used to set subdirs below.
# Not required by main makefile
IUP_DIR=/d/devel/iup
CD_DIR=/d/devel/cd
LIBUSB_DIR=/d/devel/libusb-win32-bin-1.2.4.0
LUA_DIR=/d/devel/lua
# define if you get unresolved externals on
# GdipFontFamilyCachedGenericSansSerif building with CD context plus
CD_GDIP_FONT_HACK=1
IUP_LIB_DIR=$(IUP_DIR)/lib/mingw4
IUP_INCLUDE_DIR=$(IUP_DIR)/include
CD_LIB_DIR=$(CD_DIR)/lib
CD_INCLUDE_DIR=$(CD_DIR)/include
LUA_LIB_DIR=$(LUA_DIR)/lib
LUA_INCLUDE_DIR=$(LUA_DIR)/include
LIBUSB_INCLUDE_DIR=$(LIBUSB_DIR)/include
LIBUSB_LIB_DIR=$(LIBUSB_DIR)/lib/gcc
# compile with debug support
DEBUG=1
# include svn revision in build number
#USE_SVNREV=1
# You don't need to set this unless you are doing protocol development
# if not set, included copies in the chdk_headers directory will be used
# Used to locate CHDK ptp.h and live_view.h
# this intentionaly uses the ROOT of the CHDK tree, to avoid header name conflicts
# so core/ptp.h should be found relative to this
#CHDK_SRC_DIR=/path/to/chdk/source