CMakeLists.txt 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. if(APPLE)
  2. set(COCOS_BASE_SPECIFIC_SRC
  3. base/CCUserDefault-apple.mm
  4. base/CCController-apple.mm
  5. )
  6. elseif(ANDROID)
  7. set(COCOS_BASE_SPECIFIC_SRC
  8. base/CCUserDefault-android.cpp
  9. base/CCController-android.cpp
  10. )
  11. elseif(LINUX)
  12. set(COCOS_BASE_SPECIFIC_SRC
  13. base/CCController-linux-win32.cpp
  14. )
  15. endif()
  16. set(COCOS_BASE_HEADER
  17. base/pvr.h
  18. base/CCValue.h
  19. base/CCEventListenerMouse.h
  20. base/atitc.h
  21. base/utlist.h
  22. base/CCEventTouch.h
  23. base/CCData.h
  24. base/ccMacros.h
  25. base/CCEventAcceleration.h
  26. base/CCEventListenerKeyboard.h
  27. base/CCController.h
  28. base/CCTouch.h
  29. base/base64.h
  30. base/CCEventListenerController.h
  31. base/s3tc.h
  32. base/etc1.h
  33. base/CCGameController.h
  34. base/CCConsole.h
  35. base/CCEvent.h
  36. base/ccTypes.h
  37. base/CCAsyncTaskPool.h
  38. base/ccRandom.h
  39. base/CCRef.h
  40. base/CCProfiling.h
  41. base/ObjectFactory.h
  42. base/CCProperties.h
  43. base/CCVector.h
  44. base/CCEventCustom.h
  45. base/CCEventKeyboard.h
  46. base/CCNinePatchImageParser.h
  47. base/CCEventListenerCustom.h
  48. base/CCEventDispatcher.h
  49. base/uthash.h
  50. base/ccUtils.h
  51. base/CCEventController.h
  52. base/CCRefPtr.h
  53. base/CCDirector.h
  54. base/CCEventListenerFocus.h
  55. base/CCUserDefault.h
  56. base/ccConfig.h
  57. base/ccFPSImages.h
  58. base/ZipUtils.h
  59. base/CCMap.h
  60. base/ccUTF8.h
  61. base/CCScriptSupport.h
  62. base/allocator/CCAllocatorBase.h
  63. base/allocator/CCAllocatorDiagnostics.h
  64. base/allocator/CCAllocatorMacros.h
  65. base/allocator/CCAllocatorMutex.h
  66. base/allocator/CCAllocatorStrategyGlobalSmallBlock.h
  67. base/allocator/CCAllocatorStrategyDefault.h
  68. base/allocator/CCAllocatorStrategyPool.h
  69. base/allocator/CCAllocatorGlobal.h
  70. base/allocator/CCAllocatorStrategyFixedBlock.h
  71. base/CCEventFocus.h
  72. base/CCConfiguration.h
  73. base/CCProtocols.h
  74. base/TGAlib.h
  75. base/CCDataVisitor.h
  76. base/CCEventMouse.h
  77. base/CCIMEDelegate.h
  78. base/CCNS.h
  79. base/CCAutoreleasePool.h
  80. base/CCStencilStateManager.h
  81. base/CCEventListenerTouch.h
  82. base/CCEventListenerAcceleration.h
  83. base/firePngData.h
  84. base/ccCArray.h
  85. base/CCEventListener.h
  86. base/CCScheduler.h
  87. base/CCEventType.h
  88. base/CCIMEDispatcher.h
  89. )
  90. set(COCOS_BASE_SRC
  91. base/CCAsyncTaskPool.cpp
  92. base/CCAutoreleasePool.cpp
  93. base/CCConfiguration.cpp
  94. base/CCConsole.cpp
  95. base/CCController.cpp
  96. base/CCData.cpp
  97. base/CCDataVisitor.cpp
  98. base/CCNinePatchImageParser.cpp
  99. base/CCDirector.cpp
  100. base/CCEvent.cpp
  101. base/CCEventAcceleration.cpp
  102. base/CCEventController.cpp
  103. base/CCEventCustom.cpp
  104. base/CCEventDispatcher.cpp
  105. base/CCEventFocus.cpp
  106. base/CCEventKeyboard.cpp
  107. base/CCEventListener.cpp
  108. base/CCEventListenerAcceleration.cpp
  109. base/CCEventListenerController.cpp
  110. base/CCEventListenerCustom.cpp
  111. base/CCEventListenerFocus.cpp
  112. base/CCEventListenerKeyboard.cpp
  113. base/CCEventListenerMouse.cpp
  114. base/CCEventListenerTouch.cpp
  115. base/CCEventMouse.cpp
  116. base/CCEventTouch.cpp
  117. base/CCIMEDispatcher.cpp
  118. base/CCNS.cpp
  119. base/CCProfiling.cpp
  120. base/CCProperties.cpp
  121. base/CCRef.cpp
  122. base/CCScheduler.cpp
  123. base/CCScriptSupport.cpp
  124. base/CCTouch.cpp
  125. base/CCUserDefault.cpp
  126. base/CCValue.cpp
  127. base/ObjectFactory.cpp
  128. base/CCStencilStateManager.cpp
  129. base/TGAlib.cpp
  130. base/ZipUtils.cpp
  131. base/allocator/CCAllocatorDiagnostics.cpp
  132. base/allocator/CCAllocatorGlobal.cpp
  133. base/allocator/CCAllocatorGlobalNewDelete.cpp
  134. base/atitc.cpp
  135. base/base64.cpp
  136. base/ccCArray.cpp
  137. base/ccFPSImages.c
  138. base/ccRandom.cpp
  139. base/ccTypes.cpp
  140. base/ccUTF8.cpp
  141. base/ccUtils.cpp
  142. base/etc1.cpp
  143. base/pvr.cpp
  144. base/s3tc.cpp
  145. ${COCOS_BASE_SPECIFIC_SRC}
  146. )