Skip to content
offscalePublic

About

Compiler driven development implementation for C++

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

cdd-cpp

License C++17

Compiler driven development implementation for C++.

Dependencies

  • CMake
  • C++ compiler (e.g., clang, gcc, MSVC's cl) and linker
  • git

LLVM and clang

# ninja (builds faster than the default CMake method)
git clone --depth=1 https://github.com/martine/ninja
./configure.py --bootstrap
sudo cp ninja /usr/local/bin

git clone --depth=1 https://github.com/llvm/llvm-project
mkdir llvm-project/build && cd $_
cmake -G Ninja ../llvm -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DLLVM_BUILD_TESTS=ON
ninja

Build

Prefix exported environment variables with absolute location that you cloned above^ to:

git clone https://github.com/offscale/cdd-cpp
export LLVM_DIR='llvm-project/build-ninja/lib/cmake/llvm'
export Clang_DIR='llvm-project/build-ninja/lib/cmake/clang'
mkdir cdd-cpp/cmake-build-release && cd $_
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Compiler driven development implementation for C++

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages