Skip to content

Commit

Permalink
Embed transition exe and idd files in mac transition gui app
Browse files Browse the repository at this point in the history
  • Loading branch information
kbenne committed Sep 30, 2014
1 parent d799a05 commit 9b09631
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
15 changes: 9 additions & 6 deletions CPack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,16 @@ if( APPLE )
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/Mac/EP-Launch_Lite/build/Release/EP-Launch%20Lite.app/Contents/Resources/Scripts/Content%20Controller.scpt" "EP-Launch Lite.app/Contents/Resources/Scripts/" "Content Controller.scpt")
install_remote_plist("https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/Mac/EP-Launch_Lite/build/Release/EP-Launch%20Lite.app/Contents/Info.plist" "EP-Launch Lite.app/Contents/" "eplaunchlite")

install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/Frameworks/RBAppearancePak.rbx_0.dylib" "PreProcess/IDFVersionUpdater/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/Frameworks/RBShell.rbx_0.dylib" "PreProcess/IDFVersionUpdater/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/MacOS/IDFVersionUpdater" "PreProcess/IDFVersionUpdater/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/MacOS/rbframework.dylib" "PreProcess/IDFVersionUpdater/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/PkgInfo" "PreProcess/IDFVersionUpdater/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/Resources/ep.icns" "PreProcess/IDFVersionUpdater/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/Frameworks/RBAppearancePak.rbx_0.dylib" "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/Frameworks/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/Frameworks/RBShell.rbx_0.dylib" "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/Frameworks/")
install_remote(PROGRAMS "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/MacOS/IDFVersionUpdater" "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/MacOS/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/MacOS/rbframework.dylib" "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/MacOS/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/PkgInfo" "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/Resources/ep.icns" "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/Resources/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app/Contents/Info.plist" "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/" "idfversionupdater")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/release/Report%20Variables%208-1-0-009%20to%208-2-0.csv" "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/MacOS/" "Report Variables 8-1-0-009 to 8-2-0.csv")
install(FILES "${CMAKE_SOURCE_DIR}/idd/V8-1-0-Energy+.idd" DESTINATION "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/MacOS/")
install(FILES "${CMAKE_BINARY_DIR}/Energy+.idd" DESTINATION "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/MacOS/" RENAME "V${CMAKE_VERSION_MAJOR}-${CMAKE_VERSION_MINOR}-${CMAKE_VERSION_PATCH}-Energy+.idd" )

install_remote(PROGRAMS "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/Mac/Uninstall%20EnergyPlus.app/Contents/MacOS/applet" "Uninstall EnergyPlus.app/Contents/MacOS/")
install_remote(FILES "https://raw.github.com/NREL/EnergyPlusBuildSupport/v8.2.0/bin/Mac/Uninstall%20EnergyPlus.app/Contents/PkgInfo" "Uninstall EnergyPlus.app/Contents/")
Expand Down
3 changes: 3 additions & 0 deletions src/Transition/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,7 @@ ENDFOREACH()

include("${CMAKE_CURRENT_SOURCE_DIR}/../../cmake/ProjectMacros.cmake")
install_and_fixup_exe_target( "${LAST_NAME}" PreProcess/IDFVersionUpdater )
if( APPLE )
install_and_fixup_exe_target( "${LAST_NAME}" PreProcess/IDFVersionUpdater/IDFVersionUpdater.app/Contents/MacOS/ )
endif()

0 comments on commit 9b09631

Please sign in to comment.