CMake: Build unity as library

This commit is contained in:
Max Bruckner
2017-02-07 21:35:19 +01:00
parent 12acc57967
commit 896e52255b
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -1,6 +1,8 @@
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
cmake_minimum_required(VERSION 2.8)
subdirs(tests)
include(GNUInstallDirs)
project(cJSON C)
+1
View File
@@ -0,0 +1 @@
add_library(unity unity/src/unity.c)