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

CMAKE_ARCHIVE_OUTPUT_DIRECTORY prevents building in multiple directories #167

Open
donn opened this issue Jan 7, 2025 · 1 comment
Open

Comments

@donn
Copy link

donn commented Jan 7, 2025

This line in CMakeLists.txt:

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${STA_HOME}/app)

It makes it so it's cumbersome to build multiple configurations of OpenSTA in the same worktree using different cmake build directories. This is useful for a couple purposes:

  • Different cmake configurations (Debug/Release)
  • Emulating different architectures (macOS x86-64/aarch64)

The line appears to be a vestige from an older build system, so I wonder if it can be removed. When I tried removing it, all that has had happened is that libOpenSTA.a is in the build directory instead of app.

@jjcherry56
Copy link
Collaborator

If you want to submit a PR that writes it to both places so it doesn't break existing references I will approve it.

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

No branches or pull requests

2 participants