Skip to content

Files

Latest commit

 

History

History
 
 

nori

nori

A Clang/GCC-compatible C/C++ project file generator for coding sketch.

It is distributed under the MIT License.

Features

  • Easily generate Xcode project (.xcodeproj)
  • Easily generate Visual Studio solution (sln) and project (vcxproj) files

Build and run

# Build
make bootstrap
make xcode

# Run
./bin/nori -help

Usage

# Generate myapp.xcodeproj file
nori -generator=xcode -o myapp myapp.cpp

# Generate myapp.sln and myapp.vcxproj file
nori -generator=msbuild -o myapp myapp.cpp

To build your application with Xcode

# Generate myapp.xcodeproj file
nori \
  -generator=xcode \
  -o myapp \
  -std=c++14 \
  -stdlib=libc++ \
  -Ipath/to/include \
  *.cpp

# Build your project with Xcode
xcodebuild -project myapp.xcodeproj -configuration Release

The command-line tool is Clang/GCC-compatible, so it is the same as running the following commands in terminal:

clang \
  -o myapp \
  -std=c++14 \
  -stdlib=libc++ \
  -Ipath/to/include \
  *.cpp