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 CmakeList files to use as external library with Cmake #397

Closed
wants to merge 1 commit into from

Conversation

gamedolphin
Copy link

Now you can add ImGui as a cmake library dependency.

include_directories("${PROJECT_SOURCE_DIR}/src/ImGui")
add_subdirectory ("src/ImGui")
set (EXTRA_LIBS ${EXTRA_LIBS} ImGui)

target_link_libraries(ProjectName ${EXTRA_LIBS})

@ocornut
Copy link
Owner

ocornut commented Nov 4, 2015

Can't take this sorry, don't want a cmakelist file visible by users.
Also see #255

However your code being so small I may include it as a comment somewhere in the documentation.

@gamedolphin
Copy link
Author

I understand. 👍 Thanks for this library, its really cool.

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

Successfully merging this pull request may close these issues.

2 participants