https://github.com/ahajha/glfwpp-conan
A basic Conan package for the glfwpp library
https://github.com/ahajha/glfwpp-conan
Last synced: 2 months ago
JSON representation
A basic Conan package for the glfwpp library
- Host: GitHub
- URL: https://github.com/ahajha/glfwpp-conan
- Owner: Ahajha
- License: mit
- Created: 2022-10-13T22:23:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T06:39:41.000Z (over 2 years ago)
- Last Synced: 2023-08-23T06:49:04.171Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# glfwpp-conan
A basic Conan package for the glfwpp library## How to install the package
```
git clone https://github.com/Ahajha/glfwpp-conan.git
conan create glfwpp-conan latest@/
```(I may look into getting a remote for this in the future, or uploading to conan-center-index directly)
Using the package: (Basic CMake example)
conanfile.txt:
```
[requires]
glfwpp/latest@/[generators]
CMakeDeps
CMakeToolchain
```CMakeLists.txt:
```cmake
cmake_minimum_required(VERSION 3.15)project(glfwpp-conan-test CXX)
find_package(glfwpp REQUIRED)
add_executable(main main.cpp)
target_link_libraries(main PRIVATE glfwpp::glfwpp)
target_compile_features(main PRIVATE cxx_std_17)
```