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

Add cmake options for building engine simulator as a library #338

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nicholas477
Copy link

This PR splits up the executable into a static lib (engine-sim-app-lib) and fixes unused dependencies being added and compiled.

It also adds two more options to CMake: BUILD_APP and BUILD_APP_LIB.

  • BUILD_APP builds the executable and the application library.
  • BUILD_APP_LIB builds just the application library, in case you want to use just the library (like I do in my game)

Copy link

@Abdullah-Ajeebi Abdullah-Ajeebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

CMakeLists.txt Outdated Show resolved Hide resolved
Co-authored-by: Miouzora <[email protected]>
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

Successfully merging this pull request may close these issues.

4 participants