CMakeLists.inc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. ADDINCL(${PYTHON_SRC_DIR})
  2. ADDINCL(${PYTHON_SRC_DIR}/Include)
  3. ADDINCL(${PYTHON_SRC_DIR}/Python)
  4. IF (WIN32)
  5. ADDINCL(${PYTHON_SRC_DIR}/PC)
  6. ENDIF ()
  7. SRCDIR(${PYTHON_SRC_DIR})
  8. SRCS(
  9. Parser/acceler.c
  10. Parser/grammar1.c
  11. Parser/listnode.c
  12. Parser/node.c
  13. Parser/parser.c
  14. Parser/parsetok.c
  15. Parser/bitset.c
  16. Parser/metagrammar.c
  17. Parser/firstsets.c
  18. Parser/grammar.c
  19. Parser/pgen.c
  20. Parser/myreadline.c
  21. Parser/tokenizer.c
  22. Objects/unicodeobject.c
  23. Objects/unicodectype.c
  24. Objects/abstract.c
  25. Objects/boolobject.c
  26. Objects/bufferobject.c
  27. Objects/bytes_methods.c
  28. Objects/bytearrayobject.c
  29. Objects/capsule.c
  30. Objects/cellobject.c
  31. Objects/classobject.c
  32. Objects/cobject.c
  33. Objects/codeobject.c
  34. Objects/complexobject.c
  35. Objects/descrobject.c
  36. Objects/enumobject.c
  37. Objects/exceptions.c
  38. Objects/genobject.c
  39. Objects/fileobject.c
  40. Objects/floatobject.c
  41. Objects/frameobject.c
  42. Objects/funcobject.c
  43. Objects/intobject.c
  44. Objects/iterobject.c
  45. Objects/listobject.c
  46. Objects/longobject.c
  47. Objects/dictobject.c
  48. Objects/memoryobject.c
  49. Objects/methodobject.c
  50. Objects/moduleobject.c
  51. Objects/object.c
  52. Objects/obmalloc.c
  53. Objects/rangeobject.c
  54. Objects/setobject.c
  55. Objects/sliceobject.c
  56. Objects/stringobject.c
  57. Objects/structseq.c
  58. Objects/tupleobject.c
  59. Objects/typeobject.c
  60. Objects/weakrefobject.c
  61. Python/thread.c
  62. Python/_warnings.c
  63. Python/Python-ast.c
  64. Python/asdl.c
  65. Python/ast.c
  66. Python/bltinmodule.c
  67. Python/ceval.c
  68. Python/compile.c
  69. Python/codecs.c
  70. Python/errors.c
  71. Python/future.c
  72. Python/getargs.c
  73. Python/getcompiler.c
  74. Python/getcopyright.c
  75. Python/getplatform.c
  76. Python/getversion.c
  77. Python/graminit.c
  78. Python/import.c
  79. Python/importdl.c
  80. Python/marshal.c
  81. Python/modsupport.c
  82. Python/mystrtoul.c
  83. Python/mysnprintf.c
  84. Python/peephole.c
  85. Python/pyarena.c
  86. Python/pyctype.c
  87. Python/pyfpe.c
  88. Python/pymath.c
  89. Python/pystate.c
  90. Python/pythonrun.c
  91. Python/random.c
  92. Python/structmember.c
  93. Python/symtable.c
  94. Python/sysmodule.c
  95. Python/traceback.c
  96. Python/getopt.c
  97. Python/pystrcmp.c
  98. Python/pystrtod.c
  99. Python/dtoa.c
  100. Python/formatter_unicode.c
  101. Python/formatter_string.c
  102. Modules/config.c
  103. Modules/main.c
  104. Modules/gcmodule.c
  105. Modules/threadmodule.c
  106. Modules/signalmodule.c
  107. Modules/errnomodule.c
  108. Modules/_sre.c
  109. Modules/_codecsmodule.c
  110. Modules/_weakref.c
  111. Modules/zipimport.c
  112. Modules/symtablemodule.c
  113. Modules/xxsubtype.c
  114. Modules/getbuildinfo.c
  115. )
  116. IF (UNIX)
  117. SRCS(
  118. Modules/getpath.c
  119. Python/dynload_shlib.c
  120. )
  121. ELSEIF (WIN32)
  122. SRCS(
  123. PC/dl_nt.c
  124. PC/getpathp.c
  125. PC/import_nt.c
  126. PC/msvcrtmodule.c
  127. PC/_subprocess.c
  128. PC/_winreg.c
  129. Python/dynload_win.c
  130. )
  131. ENDIF ()
  132. CFLAGS(
  133. ${PYTHON_FLAGS}
  134. )
  135. INCLUDE(CMakeModules.inc)