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

Adding CMake support #58

Closed
wants to merge 1 commit into from
Closed

Adding CMake support #58

wants to merge 1 commit into from

Conversation

tdegeus
Copy link
Contributor

@tdegeus tdegeus commented Feb 9, 2021

Here is my proposal to define a CMake target and pkg-config support. A disadvantage is a bit the name, since tqdm is already used for the executable, the target should be something else. I chose tqdm.cpp, but I think not all files can be named that way.

Anyway, one can now have a CMakeLists.txt as follows:

cmake_minimum_required(VERSION 3.1)

project(Run)

find_package(tqdm)
add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} tqdm.cpp)

Happy to discuss!

Fixes #55

@tdegeus
Copy link
Contributor Author

tdegeus commented Mar 8, 2022

Closing due to a lack of interest

@tdegeus tdegeus closed this Mar 8, 2022
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.

CMake support
1 participant