-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathskeledit.project
64 lines (47 loc) · 1.14 KB
/
skeledit.project
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
64
# perl highlighting
LIBC = shared
#LIBC = static
#OUT = Release
#MAPFILES = 1
#CONSOLE = 1
OPTIMIZE = size
PDB = 2
DEFINES = EDITOR
INCLUDES = Core Editor Anim
OBJDIR = obj/$PLATFORM
!if "$PLATFORM" eq "win32" || "$PLATFORM" eq "win64"
IS_WINDOWS = 1
!else
IS_WINDOWS = 0
!endif
# wxWidgets setup
!if "$COMPILER" eq "VisualC"
!if -d "libs/include"
# using locally placed libraries
wx_inc = libs/include
wx_lib = libs
!else
# using global libraries
wx_inc = ../Libs/wxWidgets3/include
wx_lib = ../Libs/wxWidgets3/lib/vc14x_dll
!endif
DEFINES += WXUSINGDLL
INCLUDES += $wx_inc $wx_lib/mswu
LIBRARIES += $wx_lib
STDLIBS = wxbase31u.lib wxmsw31u_core wxmsw31u_xrc wxmsw31u_gl wxmsw31u_propgrid
STDLIBS += opengl32 user32
!else
OPTIONS += `wx-config --cxxflags` #`bash --version`
LINKFLAGS += `wx-config --libs core,base,xrc,gl,propgrid`
STDLIBS = stdc++ m GL # libm for math.h functions
!endif
ALLOW_MISSING_INCLUDES = 1
sources(MAIN) = {
Editor/*.cpp
Anim/*.cpp
Core/*.cpp
!if "$IS_WINDOWS" eq "1"
Editor/MainApp.rc
!endif
}
target(executable, SkelEdit, MAIN, MAIN)