cmake_minimum_required (VERSION 2.8) project(SuperSimpleTypeSystem) option (DEBUG "Enable debug flags and macros in project" TRUE) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11") set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -g") set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Wall") add_subdirectory (src) add_library (ssts SHARED ${SRC})