Skip to content

LinderPi/cpp-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Example

Repository Structure

  • profiles/: Contains Conan profiles for build and host systems.
  • scripts/: Contains scripts for the development process.
  • src/: Contains the C++ source code.

Setup

python3 -m venv .venv/
source .venv/bin/activate

pip install conan --upgrade
conan profile detect --force

deactivate

Build

The release version for a MacOS development system can be built manually with following commands. Alternatively, there is a build script to easily switch between host targets.

source .venv/bin/activate

conan install . --build=missing --profile:host=./profiles/macos --profile:build=./profiles/macos
source build/Release/generators/conanbuild.sh
cmake --preset conan-release
cmake --build --preset conan-release
source build/Release/generators/deactivate_conanbuild.sh

deactivate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages