Commit ed1bf53a authored by Jan Möbius's avatar Jan Möbius
Browse files

dos2unix


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10877 383ad7c9-94d9-4d36-a494-682f7c89f535
parent be827fb5
# gp_item_default_embedded_path_override item default_embedded_path_var # gp_item_default_embedded_path_override item default_embedded_path_var
# #
# Return the path that others should refer to the item by when the item # Return the path that others should refer to the item by when the item
# is embedded inside a bundle. # is embedded inside a bundle.
# #
# This is a project-specific override of BundleUtilities.cmake's # This is a project-specific override of BundleUtilities.cmake's
# gp_item_default_embedded_path # gp_item_default_embedded_path
# #
function(gp_item_default_embedded_path_override item default_embedded_path_var) function(gp_item_default_embedded_path_override item default_embedded_path_var)
# By default, embed items as set by gp_item_default_embedded_path: # By default, embed items as set by gp_item_default_embedded_path:
# #
set(path "${${default_embedded_path_var}}") set(path "${${default_embedded_path_var}}")
# ...embed *.dll in the Plugins folder: # ...embed *.dll in the Plugins folder:
# Or better: leave them where they are # Or better: leave them where they are
if(item MATCHES ".*Plugin-.*.dll") if(item MATCHES ".*Plugin-.*.dll")
set(path "@CMAKE_BINARY_DIR@/Build/Plugins") set(path "@CMAKE_BINARY_DIR@/Build/Plugins")
endif() endif()
set(${default_embedded_path_var} "${path}" PARENT_SCOPE) set(${default_embedded_path_var} "${path}" PARENT_SCOPE)
endfunction(gp_item_default_embedded_path_override) endfunction(gp_item_default_embedded_path_override)
include (BundleUtilities) include (BundleUtilities)
get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH) get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH)
# Find all plugins # Find all plugins
file (GLOB _plugins "@CMAKE_BINARY_DIR@/Build/Plugins/*.dll") file (GLOB _plugins "@CMAKE_BINARY_DIR@/Build/Plugins/*.dll")
# fix all dependencies # fix all dependencies
fixup_bundle ("@CMAKE_BINARY_DIR@/Build/OpenFlipper.exe" "${_plugins}" "${_GlutDir};@Qwt5_Qt4_LIBRARY_DIR@;@GLEW_LIBRARY_DIR@;@QT_BINARY_DIR@;@FTGL_LIBRARY_DIRS@;@FREETYPE_LIBRARY_DIR@;@WINDOWS_COPY_LIBDIRS@") fixup_bundle ("@CMAKE_BINARY_DIR@/Build/OpenFlipper.exe" "${_plugins}" "${_GlutDir};@Qwt5_Qt4_LIBRARY_DIR@;@GLEW_LIBRARY_DIR@;@QT_BINARY_DIR@;@FTGL_LIBRARY_DIRS@;@FREETYPE_LIBRARY_DIR@;@WINDOWS_COPY_LIBDIRS@")
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment