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 | <Option compiler="gcc" /> |
8 | 8 | <Build> |
9 | 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 | 11 | <Option object_output=".obj/Debug/" /> |
12 | 12 | <Option type="3" /> |
13 | 13 | <Option compiler="gcc" /> |
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | </Linker> |
22 | 22 | </Target> |
23 | 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 | 25 | <Option object_output=".obj/Release/" /> |
26 | 26 | <Option type="3" /> |
27 | 27 | <Option compiler="gcc" /> |
... | ... | @@ -38,12 +38,19 @@ |
38 | 38 | <Add option="-Wall" /> |
39 | 39 | <Add option="-fPIC" /> |
40 | 40 | <Add option="`pkg-config --cflags dbus-1`" /> |
41 | + <Add option="`python2-config --cflags`" /> | |
41 | 42 | </Compiler> |
43 | + <Linker> | |
44 | + <Add option="`python2-config --libs`" /> | |
45 | + </Linker> | |
42 | 46 | <Unit filename="../classlib/exception.cc" /> |
43 | 47 | <Unit filename="../classlib/local.cc" /> |
44 | 48 | <Unit filename="../classlib/module.cc" /> |
45 | 49 | <Unit filename="../classlib/remote.cc" /> |
46 | 50 | <Unit filename="../classlib/session.cc" /> |
51 | + <Unit filename="../include/pw3270/class.h" /> | |
52 | + <Unit filename="main.cc" /> | |
53 | + <Unit filename="private.h" /> | |
47 | 54 | <Extensions> |
48 | 55 | <code_completion /> |
49 | 56 | <envvars /> | ... | ... |