Skip to content

A simple example of how to integrate Junction into a CMake project

License

Notifications You must be signed in to change notification settings

preshing/junction-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository demonstrates how to integrate Junction (and Turf) into a CMake-based project.

Clone this repository, Junction and Turf into adjacent folders, then run CMake on this repository's CMakeLists.txt.

$ git clone https://github.com/preshing/junction-sample.git
$ git clone https://github.com/preshing/junction.git
$ git clone https://github.com/preshing/turf.git
$ cd junction-sample
$ mkdir build
$ cd build
$ cmake <additional options> ..

On Unix-like environments, cmake will generate a Makefile by default. On Windows, it will create a Visual Studio solution. To use a specific version of Visual Studio:

$ cmake -G "Visual Studio 14 2015" ..

To generate an Xcode project on OS X:

$ cmake -G "Xcode" ..

About

A simple example of how to integrate Junction into a CMake project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published