Commit 0f291e3209ff9aa6093c1023261427627b4da8fd
1 parent
25fe3e1b
Exists in
master
and in
5 other branches
Experimentando módulo python.
Showing
1 changed file
with
9 additions
and
2 deletions
Show diff stats
src/python/py3270.cbp
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | <Option compiler="gcc" /> | 7 | <Option compiler="gcc" /> |
8 | <Build> | 8 | <Build> |
9 | <Target title="Debug"> | 9 | <Target title="Debug"> |
10 | - <Option output=".bin/Debug/py3270" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="1" extension_auto="1" /> | 10 | + <Option output=".bin/Debug/py3270" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" /> |
11 | <Option object_output=".obj/Debug/" /> | 11 | <Option object_output=".obj/Debug/" /> |
12 | <Option type="3" /> | 12 | <Option type="3" /> |
13 | <Option compiler="gcc" /> | 13 | <Option compiler="gcc" /> |
@@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
21 | </Linker> | 21 | </Linker> |
22 | </Target> | 22 | </Target> |
23 | <Target title="Release"> | 23 | <Target title="Release"> |
24 | - <Option output=".bin/Release/py3270" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="1" extension_auto="1" /> | 24 | + <Option output=".bin/Release/py3270" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" /> |
25 | <Option object_output=".obj/Release/" /> | 25 | <Option object_output=".obj/Release/" /> |
26 | <Option type="3" /> | 26 | <Option type="3" /> |
27 | <Option compiler="gcc" /> | 27 | <Option compiler="gcc" /> |
@@ -38,12 +38,19 @@ | @@ -38,12 +38,19 @@ | ||
38 | <Add option="-Wall" /> | 38 | <Add option="-Wall" /> |
39 | <Add option="-fPIC" /> | 39 | <Add option="-fPIC" /> |
40 | <Add option="`pkg-config --cflags dbus-1`" /> | 40 | <Add option="`pkg-config --cflags dbus-1`" /> |
41 | + <Add option="`python2-config --cflags`" /> | ||
41 | </Compiler> | 42 | </Compiler> |
43 | + <Linker> | ||
44 | + <Add option="`python2-config --libs`" /> | ||
45 | + </Linker> | ||
42 | <Unit filename="../classlib/exception.cc" /> | 46 | <Unit filename="../classlib/exception.cc" /> |
43 | <Unit filename="../classlib/local.cc" /> | 47 | <Unit filename="../classlib/local.cc" /> |
44 | <Unit filename="../classlib/module.cc" /> | 48 | <Unit filename="../classlib/module.cc" /> |
45 | <Unit filename="../classlib/remote.cc" /> | 49 | <Unit filename="../classlib/remote.cc" /> |
46 | <Unit filename="../classlib/session.cc" /> | 50 | <Unit filename="../classlib/session.cc" /> |
51 | + <Unit filename="../include/pw3270/class.h" /> | ||
52 | + <Unit filename="main.cc" /> | ||
53 | + <Unit filename="private.h" /> | ||
47 | <Extensions> | 54 | <Extensions> |
48 | <code_completion /> | 55 | <code_completion /> |
49 | <envvars /> | 56 | <envvars /> |