diff --git a/CPack.cmake b/CPack.cmake index ea7fcffd5b9..a03e6c80827 100644 --- a/CPack.cmake +++ b/CPack.cmake @@ -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/") diff --git a/src/Transition/CMakeLists.txt b/src/Transition/CMakeLists.txt index e523fd907bf..c71f0c1fb79 100644 --- a/src/Transition/CMakeLists.txt +++ b/src/Transition/CMakeLists.txt @@ -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()