Skip to content

Files

Latest commit

 

History

History
 
 

cmake_external_project

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

example with cmake and restc-cpp as an external project

This example shows how to compile a program using restc-cpp from cmake, delegating the compilation of restc-cpp to cmake.

This is probably the simplest way to use the library, but the external project dependencies does add some extra time each time you run make.

Currently this example is only tested under Linux.

~$ rm -rf build/
~$ mkdir build
~$ cd build/
~$ cmake ..
~$ make