Commit 5fc51470 authored by Bastien Jacquet's avatar Bastien Jacquet
Browse files

Branding on OSX

parent 9c871b23
......@@ -93,7 +93,7 @@ string (STRIP "${cxxflags}" cxxflags)
string (STRIP "${cflags}" cflags)
#-----------------------------------------------------------------------------
## Top-level options. These must be limited to a commonly used subset with
## default values being used for building VeloView binaries.
## default values being used for building the binaries.
#option(PV_COMMAND_LINE_TOOLS_ONLY
# "Turn this ON to build command lines tools alone." OFF)
......
......@@ -5,16 +5,16 @@ include(CPack)
install(CODE "
file(INSTALL DESTINATION \"\${CMAKE_INSTALL_PREFIX}\" USE_SOURCE_PERMISSIONS TYPE DIRECTORY FILES
\"${install_location}/bin/VeloView.app\")
\"${install_location}/bin/${SOFTWARE_NAME}.app\")
file(INSTALL DESTINATION \"\${CMAKE_INSTALL_PREFIX}\" USE_SOURCE_PERMISSIONS TYPE FILE FILES
\"${VeloViewSuperBuild_SOURCE_DIR}/../Documentation/VeloView_Developer_Guide.pdf\")
file(WRITE \"\${CMAKE_INSTALL_PREFIX}/VeloView.app/Contents/Resources/qt.conf\"
file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${SOFTWARE_NAME}.app/Contents/Resources/qt.conf\"
\"\")
execute_process(
COMMAND ${CMAKE_CURRENT_LIST_DIR}/fixup_bundle.py
\"\${CMAKE_INSTALL_PREFIX}/VeloView.app\"
\"\${CMAKE_INSTALL_PREFIX}/${SOFTWARE_NAME}.app\"
\"${install_location}/lib\"
\"${SuperBuild_BINARY_DIR}/paraview/src/paraview-build/lib\"
\"${install_location}/Applications/paraview.app/Contents/Plugins\")
......
......@@ -56,7 +56,7 @@ if (qt_ENABLED AND NOT USE_SYSTEM_qt)
endif()
# install executables
foreach(executable VeloView)
foreach(executable ${SOFTWARE_NAME})
install(PROGRAMS "${install_location}/bin/${executable}"
DESTINATION "bin"
COMPONENT superbuild)
......
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