CMakeLists.txt 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. INCLUDE(PolycodeIncludes)
  2. SET(CMAKE_DEBUG_POSTFIX "_d")
  3. IF(MSVC OR MINGW)
  4. INCLUDE_DIRECTORIES(
  5. ${LUA_INCLUDE_DIR}
  6. ${Polycode_SOURCE_DIR}/Bindings/Contents/LUA/Include
  7. ${Polycode_SOURCE_DIR}/Modules/Bindings/UI/Include
  8. ${Polycode_SOURCE_DIR}/Modules/Bindings/2DPhysics/Include
  9. ${Polycode_SOURCE_DIR}/Modules/Bindings/3DPhysics/Include
  10. Include
  11. ../../Core/Contents/PolycodeView/MSVC/
  12. )
  13. SET(polycodeplayer_SRCS
  14. Source/PolycodePlayer.cpp
  15. Source/PolycodeWindowsPlayer.cpp
  16. Source/PolycodePlayerView.cpp
  17. Platform/Windows/main.cpp
  18. )
  19. SET(polycodeplayer_HDRS
  20. Include/PolycodePlayer.h
  21. Include/PolycodeWindowsPlayer.h
  22. Include/PolycodePlayerView.h
  23. )
  24. SET(polycodeplayerstandalone_SRCS
  25. Source/PolycodePlayer.cpp
  26. Source/PolycodeWindowsPlayer.cpp
  27. Source/PolycodePlayerView.cpp
  28. Platform/Windows/Standalone/main.cpp
  29. )
  30. SET(polycodeplayerstandalone_HDRS
  31. Include/PolycodePlayer.h
  32. Include/PolycodeWindowsPlayer.h
  33. Include/PolycodePlayerView.h
  34. )
  35. ADD_EXECUTABLE(PolycodePlayer WIN32 ${polycodeplayer_SRCS} ${polycodeplayer_HDRS})
  36. ADD_EXECUTABLE(StandalonePlayer WIN32 ${polycodeplayerstandalone_SRCS} ${polycodeplayerstandalone_HDRS})
  37. TARGET_LINK_LIBRARIES(PolycodePlayer
  38. PolycodeLua
  39. Polycore
  40. ${ZLIB_LIBRARIES}
  41. ${LUA_LIBRARY}
  42. ${OPENGL_LIBRARIES}
  43. ${OPENAL_LIBRARY}
  44. ${PNG_LIBRARIES}
  45. ${FREETYPE_LIBRARIES}
  46. ${PHYSFS_LIBRARY}
  47. ${OGG_LIBRARY}
  48. ${VORBIS_LIBRARY}
  49. ${VORBISFILE_LIBRARY}
  50. opengl32
  51. glu32
  52. winmm
  53. ws2_32
  54. )
  55. TARGET_LINK_LIBRARIES(StandalonePlayer
  56. PolycodeLua
  57. Polycore
  58. ${ZLIB_LIBRARIES}
  59. ${LUA_LIBRARY}
  60. ${OPENGL_LIBRARIES}
  61. ${OPENAL_LIBRARY}
  62. ${PNG_LIBRARIES}
  63. ${FREETYPE_LIBRARIES}
  64. ${PHYSFS_LIBRARY}
  65. ${OGG_LIBRARY}
  66. ${VORBIS_LIBRARY}
  67. ${VORBISFILE_LIBRARY}
  68. opengl32
  69. glu32
  70. winmm
  71. ws2_32
  72. )
  73. ELSEIF(APPLE)
  74. # Needed for LuaJIT
  75. SET( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pagezero_size 10000 -image_base 100000000" )
  76. INCLUDE_DIRECTORIES(
  77. ${LUA_INCLUDE_DIR}
  78. ${Polycode_SOURCE_DIR}/Bindings/Contents/LUA/Include
  79. ${Polycode_SOURCE_DIR}/Modules/Contents/UI/Include
  80. ${Polycode_SOURCE_DIR}/Modules/Bindings/UI/Include
  81. ${BOX2D_INCLUDE_DIR}
  82. ${Polycode_SOURCE_DIR}/Modules/Contents/2DPhysics/Include
  83. ${Polycode_SOURCE_DIR}/Modules/Bindings/2DPhysics/Include
  84. ${BULLET_INCLUDE_DIR}
  85. ${Polycode_SOURCE_DIR}/Modules/Contents/3DPhysics/Include
  86. ${Polycode_SOURCE_DIR}/Modules/Bindings/3DPhysics/Include
  87. Include
  88. ../../Core/Contents/PolycodeView/Mac\ OS\ X/
  89. )
  90. SET(polycodeplayer_SRCS
  91. Source/PolycodePlayer.cpp
  92. Source/PolycodeCocoaPlayer.mm
  93. Platform/Darwin/main.m
  94. Platform/Darwin/MyDocument.mm
  95. Platform/Darwin/PPlayerDocumentController.mm
  96. ../../Core/Contents/PolycodeView/Mac\ OS\ X/PolycodeView.mm
  97. )
  98. SET(polycodeplayer_HDRS
  99. Include/PolycodePlayer.h
  100. Include/PolycodeCocoaPlayer.h
  101. Platform/Darwin/MyDocument.h
  102. Platform/Darwin/PPlayerDocumentController.h
  103. ../../Core/Contents/PolycodeView/Mac\ OS\ X/PolycodeView.h
  104. )
  105. SET(polycodeplayerstandalone_SRCS
  106. Source/PolycodePlayer.cpp
  107. Source/PolycodeCocoaPlayer.mm
  108. Platform/Darwin/Standalone/main.m
  109. Platform/Darwin/Standalone/StandalonePlayerAppDelegate.mm
  110. ../../Core/Contents/PolycodeView/Mac\ OS\ X/PolycodeView.mm
  111. )
  112. SET(polycodeplayerstandalone_HDRS
  113. Include/PolycodePlayer.h
  114. Include/PolycodeCocoaPlayer.h
  115. Platform/Darwin/Standalone/StandalonePlayerAppDelegate.h
  116. ../../Core/Contents/PolycodeView/Mac\ OS\ X/PolycodeView.h
  117. )
  118. # IF(POLYCODE_BUILD_SHARED)
  119. # ADD_EXECUTABLE(PolycodePlayer MACOSX_BUNDLE ${polycodeplayer_SRCS} ${polycodeplayer_HDRS})
  120. # TARGET_LINK_LIBRARIES(PolycodePlayer Polycore PolycodeLua ${LUA_LIBRARY})
  121. # ENDIF(POLYCODE_BUILD_SHARED)
  122. find_program(IBTOOL ibtool HINTS "/usr/bin" "${OSX_DEVELOPER_ROOT}/usr/bin")
  123. if (${IBTOOL} STREQUAL "IBTOOL-NOTFOUND")
  124. message(SEND_ERROR "ibtool can not be found and is needed to compile the .xib files. It should have been installed with
  125. the Apple developer tools. The default system paths were searched in addition to ${OSX_DEVELOPER_ROOT}/usr/bin")
  126. endif()
  127. set (PolycodePlayer_XIBS
  128. MainMenu
  129. MyDocument
  130. )
  131. set (PolycodePlayerStandalone_XIBS
  132. MainMenu
  133. )
  134. ADD_EXECUTABLE(PolycodePlayer MACOSX_BUNDLE ${polycodeplayer_SRCS} ${polycodeplayer_HDRS})
  135. set_target_properties( PolycodePlayer PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/Info.plist )
  136. ADD_EXECUTABLE(StandalonePlayer MACOSX_BUNDLE ${polycodeplayerstandalone_SRCS} ${polycodeplayerstandalone_HDRS})
  137. set_target_properties( StandalonePlayer PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/Standalone/Info.plist )
  138. TARGET_LINK_LIBRARIES(PolycodePlayer
  139. Polycore
  140. PolycodeLua
  141. "-framework Cocoa"
  142. "-framework IOKit"
  143. ${LUA_LIBRARY}
  144. ${OPENGL_LIBRARIES}
  145. ${OPENAL_LIBRARY}
  146. ${ZLIB_LIBRARIES}
  147. ${PNG_LIBRARIES}
  148. ${FREETYPE_LIBRARIES}
  149. ${PHYSFS_LIBRARY}
  150. ${OGG_LIBRARY}
  151. ${VORBIS_LIBRARY}
  152. ${VORBISFILE_LIBRARY}
  153. ${BOX2D_RELEASE_LIBRARY}
  154. optimized ${LIBBULLETMULTITHREADED}
  155. optimized ${LIBBULLETSOFTBODY}
  156. optimized ${LIBBULLETDYNAMICS}
  157. optimized ${LIBBULLETCOLLISION}
  158. optimized ${LIBBULLETMATH}
  159. debug ${LIBBULLETMULTITHREADED_DEBUG}
  160. debug ${LIBBULLETSOFTBODY_DEBUG}
  161. debug ${LIBBULLETDYNAMICS_DEBUG}
  162. debug ${LIBBULLETCOLLISION_DEBUG}
  163. debug ${LIBBULLETMATH_DEBUG}
  164. Polycode2DPhysics
  165. Polycode3DPhysics
  166. PolycodeUI
  167. Physics2DLua
  168. Physics3DLua
  169. UILua
  170. )
  171. TARGET_LINK_LIBRARIES(StandalonePlayer
  172. Polycore
  173. PolycodeLua
  174. "-framework Cocoa"
  175. "-framework IOKit"
  176. ${LUA_LIBRARY}
  177. ${OPENGL_LIBRARIES}
  178. ${OPENAL_LIBRARY}
  179. ${ZLIB_LIBRARIES}
  180. ${PNG_LIBRARIES}
  181. ${FREETYPE_LIBRARIES}
  182. ${PHYSFS_LIBRARY}
  183. ${OGG_LIBRARY}
  184. ${VORBIS_LIBRARY}
  185. ${VORBISFILE_LIBRARY}
  186. ${BOX2D_RELEASE_LIBRARY}
  187. optimized ${LIBBULLETMULTITHREADED}
  188. optimized ${LIBBULLETSOFTBODY}
  189. optimized ${LIBBULLETDYNAMICS}
  190. optimized ${LIBBULLETCOLLISION}
  191. optimized ${LIBBULLETMATH}
  192. debug ${LIBBULLETMULTITHREADED_DEBUG}
  193. debug ${LIBBULLETSOFTBODY_DEBUG}
  194. debug ${LIBBULLETDYNAMICS_DEBUG}
  195. debug ${LIBBULLETCOLLISION_DEBUG}
  196. debug ${LIBBULLETMATH_DEBUG}
  197. Polycode2DPhysics
  198. Polycode3DPhysics
  199. PolycodeUI
  200. Physics2DLua
  201. Physics3DLua
  202. UILua
  203. )
  204. add_custom_command (TARGET PolycodePlayer PRE_BUILD
  205. COMMAND mkdir -p ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  206. add_custom_command (TARGET PolycodePlayer PRE_BUILD
  207. COMMAND cp ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/app_file_icon.icns ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  208. add_custom_command (TARGET PolycodePlayer PRE_BUILD
  209. COMMAND cp ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/player_icon.icns ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  210. add_custom_command (TARGET PolycodePlayer PRE_BUILD
  211. COMMAND cp ${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/default.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  212. add_custom_command (TARGET PolycodePlayer PRE_BUILD
  213. COMMAND cp -R ${Polycode_SOURCE_DIR}/Bindings/Contents/LUA/API/api.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  214. add_custom_command (TARGET PolycodePlayer PRE_BUILD
  215. COMMAND cp -R ${Polycode_SOURCE_DIR}/Modules/Bindings/2DPhysics/API/Physics2D.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  216. add_custom_command (TARGET PolycodePlayer PRE_BUILD
  217. COMMAND cp -R ${Polycode_SOURCE_DIR}/Modules/Bindings/3DPhysics/API/Physics3D.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  218. add_custom_command (TARGET PolycodePlayer PRE_BUILD
  219. COMMAND cp -R ${Polycode_SOURCE_DIR}/Modules/Bindings/UI/API/UI.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  220. add_custom_command (TARGET PolycodePlayer PRE_BUILD
  221. COMMAND cp -R ${Polycode_SOURCE_DIR}/Assets/UIThemes.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  222. add_custom_command (TARGET StandalonePlayer PRE_BUILD
  223. COMMAND mkdir -p ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
  224. add_custom_command (TARGET StandalonePlayer PRE_BUILD
  225. COMMAND cp ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/player_icon.icns ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
  226. add_custom_command (TARGET StandalonePlayer PRE_BUILD
  227. COMMAND cp ${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/default.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
  228. add_custom_command (TARGET StandalonePlayer PRE_BUILD
  229. COMMAND cp -R ${Polycode_SOURCE_DIR}/Bindings/Contents/LUA/API/api.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
  230. add_custom_command (TARGET StandalonePlayer PRE_BUILD
  231. COMMAND cp ${Polycode_SOURCE_DIR}/Assets/SamplePolyapp/main.polyapp ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
  232. add_custom_command (TARGET StandalonePlayer PRE_BUILD
  233. COMMAND cp -R ${Polycode_SOURCE_DIR}/Modules/Bindings/2DPhysics/API/Physics2D.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
  234. add_custom_command (TARGET StandalonePlayer PRE_BUILD
  235. COMMAND cp -R ${Polycode_SOURCE_DIR}/Modules/Bindings/3DPhysics/API/Physics3D.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
  236. add_custom_command (TARGET StandalonePlayer PRE_BUILD
  237. COMMAND cp -R ${Polycode_SOURCE_DIR}/Modules/Bindings/UI/API/UI.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
  238. add_custom_command (TARGET StandalonePlayer PRE_BUILD
  239. COMMAND cp -R ${Polycode_SOURCE_DIR}/Assets/UIThemes.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
  240. foreach(xib ${PolycodePlayer_XIBS})
  241. add_custom_command (TARGET PolycodePlayer POST_BUILD
  242. COMMAND ${IBTOOL} --errors --warnings --notices --output-format human-readable-text
  243. --compile ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources/${xib}.nib
  244. ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/${xib}.xib
  245. COMMENT "Compiling ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/${xib}.xib")
  246. endforeach()
  247. foreach(xib ${PolycodePlayerStandalone_XIBS})
  248. add_custom_command (TARGET StandalonePlayer POST_BUILD
  249. COMMAND ${IBTOOL} --errors --warnings --notices --output-format human-readable-text
  250. --compile ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources/${xib}.nib
  251. ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/Standalone/${xib}.xib
  252. COMMENT "Compiling ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/Standalone/${xib}.xib")
  253. endforeach()
  254. ELSE(MSVC OR MINGW)
  255. INCLUDE_DIRECTORIES(
  256. ${LUA_INCLUDE_DIR}
  257. ${Polycode_SOURCE_DIR}/Bindings/Contents/LUA/Include
  258. ${Polycode_SOURCE_DIR}/Modules/Contents/UI/Include
  259. ${Polycode_SOURCE_DIR}/Modules/Bindings/UI/Include
  260. ${BOX2D_INCLUDE_DIR}
  261. ${Polycode_SOURCE_DIR}/Modules/Contents/2DPhysics/Include
  262. ${Polycode_SOURCE_DIR}/Modules/Bindings/2DPhysics/Include
  263. ${BULLET_INCLUDE_DIR}
  264. ${Polycode_SOURCE_DIR}/Modules/Contents/3DPhysics/Include
  265. ${Polycode_SOURCE_DIR}/Modules/Bindings/3DPhysics/Include
  266. Include
  267. ../../Core/Contents/PolycodeView/Linux/
  268. )
  269. SET(polycodeplayer_SRCS
  270. Source/PolycodePlayer.cpp
  271. Source/PolycodeLinuxPlayer.cpp
  272. Platform/Linux/main.cpp
  273. )
  274. SET(polycodeplayer_HDRS
  275. Include/PolycodePlayer.h
  276. Include/PolycodeLinuxPlayer.h
  277. )
  278. SET(polycodeplayerstandalone_SRCS
  279. Source/PolycodePlayer.cpp
  280. Source/PolycodeLinuxPlayer.cpp
  281. Platform/Linux/Standalone/main.cpp
  282. )
  283. SET(polycodeplayerstandalone_HDRS
  284. Include/PolycodePlayer.h
  285. Include/PolycodeLinuxPlayer.h
  286. )
  287. ADD_EXECUTABLE(PolycodePlayer ${polycodeplayer_SRCS} ${polycodeplayer_HDRS})
  288. ADD_EXECUTABLE(StandalonePlayer ${polycodeplayerstandalone_SRCS} ${polycodeplayerstandalone_HDRS})
  289. TARGET_LINK_LIBRARIES(PolycodePlayer
  290. rt
  291. dl
  292. pthread
  293. PolycodeLua
  294. Polycore
  295. ${LUA_LIBRARY}
  296. ${FREETYPE_LIBRARIES}
  297. ${VORBISFILE_LIBRARY}
  298. ${VORBIS_LIBRARY}
  299. ${OGG_LIBRARY}
  300. ${OPENAL_LIBRARY}
  301. ${PHYSFS_LIBRARY}
  302. ${PNG_LIBRARIES}
  303. ${ZLIB_LIBRARY}
  304. ${OPENGL_LIBRARIES}
  305. ${SDL_LIBRARY}
  306. Physics2DLua
  307. Physics3DLua
  308. UILua
  309. Polycode2DPhysics
  310. Polycode3DPhysics
  311. PolycodeUI
  312. ${BOX2D_RELEASE_LIBRARY}
  313. optimized ${LIBBULLETMULTITHREADED}
  314. optimized ${LIBBULLETSOFTBODY}
  315. optimized ${LIBBULLETDYNAMICS}
  316. optimized ${LIBBULLETCOLLISION}
  317. optimized ${LIBBULLETMATH}
  318. debug ${LIBBULLETMULTITHREADED_DEBUG}
  319. debug ${LIBBULLETSOFTBODY_DEBUG}
  320. debug ${LIBBULLETDYNAMICS_DEBUG}
  321. debug ${LIBBULLETCOLLISION_DEBUG}
  322. debug ${LIBBULLETMATH_DEBUG}
  323. )
  324. TARGET_LINK_LIBRARIES(StandalonePlayer
  325. rt
  326. dl
  327. pthread
  328. PolycodeLua
  329. Polycore
  330. ${LUA_LIBRARY}
  331. ${FREETYPE_LIBRARIES}
  332. ${VORBISFILE_LIBRARY}
  333. ${VORBIS_LIBRARY}
  334. ${OGG_LIBRARY}
  335. ${OPENAL_LIBRARY}
  336. ${PHYSFS_LIBRARY}
  337. ${PNG_LIBRARIES}
  338. ${ZLIB_LIBRARY}
  339. ${OPENGL_LIBRARIES}
  340. ${SDL_LIBRARY}
  341. Physics2DLua
  342. Physics3DLua
  343. UILua
  344. Polycode2DPhysics
  345. Polycode3DPhysics
  346. PolycodeUI
  347. ${BOX2D_RELEASE_LIBRARY}
  348. optimized ${LIBBULLETMULTITHREADED}
  349. optimized ${LIBBULLETSOFTBODY}
  350. optimized ${LIBBULLETDYNAMICS}
  351. optimized ${LIBBULLETCOLLISION}
  352. optimized ${LIBBULLETMATH}
  353. debug ${LIBBULLETMULTITHREADED_DEBUG}
  354. debug ${LIBBULLETSOFTBODY_DEBUG}
  355. debug ${LIBBULLETDYNAMICS_DEBUG}
  356. debug ${LIBBULLETCOLLISION_DEBUG}
  357. debug ${LIBBULLETMATH_DEBUG}
  358. )
  359. ENDIF(MSVC OR MINGW)
  360. INSTALL(TARGETS PolycodePlayer
  361. DESTINATION Player)
  362. INSTALL(TARGETS StandalonePlayer
  363. DESTINATION Player)
  364. IF(MSVC OR MINGW)
  365. INSTALL(FILES "${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/default.pak" DESTINATION Player)
  366. INSTALL(FILES "${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/hdr.pak" DESTINATION Player)
  367. INSTALL(FILES "${Polycode_SOURCE_DIR}/Assets/SamplePolyapp/main.polyapp" DESTINATION Player)
  368. INSTALL(FILES "${Polycode_SOURCE_DIR}/Bindings/Contents/LUA/API/api.pak" DESTINATION Player)
  369. ELSEIF(APPLE)
  370. ELSE(MSVC OR MINGW)
  371. INSTALL(FILES "${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/default.pak" DESTINATION Player)
  372. INSTALL(FILES "${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/hdr.pak" DESTINATION Player)
  373. INSTALL(FILES "${Polycode_SOURCE_DIR}/Assets/SamplePolyapp/main.polyapp" DESTINATION Player)
  374. INSTALL(FILES "${Polycode_SOURCE_DIR}/Bindings/Contents/LUA/API/api.pak" DESTINATION Player)
  375. ENDIF(MSVC OR MINGW)