|
@@ -101,7 +101,7 @@ include_directories(
|
|
|
append_gameplay_lib(GAMEPLAY_LIBRARIES)
|
|
append_gameplay_lib(GAMEPLAY_LIBRARIES)
|
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "GLEW" "glew" "glew32")
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "GLEW" "glew" "glew32")
|
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "lua" "lua")
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "lua" "lua")
|
|
|
-append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "png" "libpng" "libpng16")
|
|
|
|
|
|
|
+append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "png" "png" "libpng")
|
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "BulletDynamics" "bullet")
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "BulletDynamics" "bullet")
|
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "BulletCollision" "bullet")
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "BulletCollision" "bullet")
|
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "LinearMath" "bullet")
|
|
append_gameplay_ext_lib(GAMEPLAY_LIBRARIES "LinearMath" "bullet")
|
|
@@ -148,5 +148,6 @@ set_target_properties(${GAME_NAME} PROPERTIES
|
|
|
#TODO: Copy res files to the bin dir, it is done that way so we can make post
|
|
#TODO: Copy res files to the bin dir, it is done that way so we can make post
|
|
|
#processing to the the res files in the future like zipping or preparation to
|
|
#processing to the the res files in the future like zipping or preparation to
|
|
|
#per platfom format.
|
|
#per platfom format.
|
|
|
|
|
+copy_files(CopyShaders * "${GAMEPLAY_PATH}/gameplay/res/shaders" "$<TARGET_FILE_DIR:${GAME_NAME}>/res/shaders" 1)
|
|
|
copy_files(CopyRes * "${CMAKE_SOURCE_DIR}/res" "$<TARGET_FILE_DIR:${GAME_NAME}>/res" 1)
|
|
copy_files(CopyRes * "${CMAKE_SOURCE_DIR}/res" "$<TARGET_FILE_DIR:${GAME_NAME}>/res" 1)
|
|
|
copy_files(CopyConfig *.config "${CMAKE_SOURCE_DIR}" "$<TARGET_FILE_DIR:${GAME_NAME}>" 0)
|
|
copy_files(CopyConfig *.config "${CMAKE_SOURCE_DIR}" "$<TARGET_FILE_DIR:${GAME_NAME}>" 0)
|