Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TGZ installer on Mac #512

Closed
macumber opened this issue May 1, 2022 · 3 comments
Closed

Fix TGZ installer on Mac #512

macumber opened this issue May 1, 2022 · 3 comments

Comments

@macumber
Copy link
Collaborator

macumber commented May 1, 2022

Enhancement Request

Symlinks are created in the OpenStudioApplication/src/openstudio_app/install_operations.qs

We should cmake install that symlink instead of having it in the install_operations.qs so that the tar.gz installer works too.

See #499

@jmarrec
Copy link
Collaborator

jmarrec commented Jun 21, 2022

What would be great is also to have a functional OpenStudioApp inside the build folder. Currently I have to build a package everytime I want to test something, and that's annoying. Maybe we should fixup_bundle and co inside the build folder, and then try to just install everything when packaging, instead of delaying the fixup inside the package step (no sure if it's possible)

@jmarrec
Copy link
Collaborator

jmarrec commented Aug 29, 2024

I think this works now.

install(CODE [[
execute_process(
COMMAND echo "CMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}"
COMMAND "${CMAKE_COMMAND}" -E create_symlink
"../../../../../../../Frameworks"
"${CMAKE_INSTALL_PREFIX}/OpenStudioApp.app/Contents/Frameworks/QtWebEngineCore.framework/Versions/A/Helpers/QtWebEngineProcess.app/Contents/Frameworks"

@jmarrec jmarrec closed this as completed Aug 29, 2024
@jmarrec
Copy link
Collaborator

jmarrec commented Aug 29, 2024

9b44ca2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants