tools/CMakeLists.txt
changeset 2220 110266ba2ef7
parent 2219 07f5345ecae7
child 2401 2a694ea2a437
equal deleted inserted replaced
2219:07f5345ecae7 2220:110266ba2ef7
     4 
     4 
     5 if(NOT macdeployqt_EXE)
     5 if(NOT macdeployqt_EXE)
     6 	message(FATAL_ERROR "The utility macdeployqt is required to create the bundle!")
     6 	message(FATAL_ERROR "The utility macdeployqt is required to create the bundle!")
     7 endif()
     7 endif()
     8 
     8 
     9 #if(HAVE_NETSERVER)
     9 #dummy target, we're interested in the postscript
    10 add_custom_target(bundle)
    10 add_custom_target(bundle)
    11 #set(deps_list hedgewars "${EXECUTABLE_OUTPUT_PATH}/hwengine${CMAKE_EXECUTABLE_SUFFIX}" "${EXECUTABLE_OUTPUT_PATH}/hedgewars-server${CMAKE_EXECUTABLE_SUFFIX}")
       
    12 #else(HAVE_NETSERVER)
       
    13 #add_custom_target(bundle )
       
    14 #set(deps_list hedgewars "${EXECUTABLE_OUTPUT_PATH}/hwengine${CMAKE_EXECUTABLE_SUFFIX}")
       
    15 #endif(HAVE_NETSERVER)
       
    16 
    11 
    17 set_target_properties(bundle PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake)
    12 set_target_properties(bundle PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake)
    18 
    13 
    19 set(frameworks_dir ${bundle_name}/Contents/Frameworks/)
    14 set(frameworks_dir ${bundle_name}/Contents/Frameworks/)
    20 
    15