Skip to content

It's a demo of how to build a open source form zero base.

License

Notifications You must be signed in to change notification settings

HSUAN221/architect

Repository files navigation

What Skills Do You Need to Become a Opensource Maker for c++???

What you need to prepare??

Install conan

$ pip install conan

Let's start your first opensource ^^

Use conan install to download all package

$ conan install conanfile.txt -of build

Build your cmakeFile

$ cmake -S . -B build/ -DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
or
$ cmake -S . -B build/ --preset=conan-release

Export env variables for building

$ source build/conanbuild.sh

Build your project

$ cmake --build build/

Export env variables for running executables

$ source build/conanrun.sh

Run test executables

$ cmake --build build/ --target test

Install your open source for other users

$ cmake --install build/ --prefix "build/"

About

It's a demo of how to build a open source form zero base.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published