Browse Source

CMake: Set version and soversion

pull/52/head
Max Bruckner 8 years ago
parent
commit
9a4657fbee
  1. 5
      CMakeLists.txt

5
CMakeLists.txt

@ -3,6 +3,11 @@ cmake_minimum_required(VERSION 2.8)
set(PROJ_CJSON cJSON)
project(${PROJ_CJSON} C)
set(CJSON_VERSION_MAJOR 1)
set(CJSON_VERSION_MINOR 0)
set(CJSON_VERSION_PATCH 0)
set(CJSON_VERSION_SO 1)
set(CJSON_VERSION "${CJSON_VERSION_MAJOR}.${CJSON_VERSION_MINOR}.${CJSON_VERSION_PATCH}")
file(GLOB HEADERS cJSON.h)
set(SOURCES cJSON.c)

Loading…
Cancel
Save