Skip to content

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

Open
nicholas477 wants to merge 3 commits intoange-yaghi:masterfrom
nicholas477:build-as-lib
Open

Add cmake options for building engine simulator as a library#338
nicholas477 wants to merge 3 commits intoange-yaghi:masterfrom
nicholas477:build-as-lib

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

Co-authored-by: Miouzora <91665686+Miou-zora@users.noreply.github.com>
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