CMake: Build unity as library

This commit is contained in:
Max Bruckner 2017-01-16 14:36:11 +01:00
parent 12acc57967
commit 896e52255b
2 changed files with 3 additions and 0 deletions

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
tests/CMakeLists.txt Normal file
View File

@ -0,0 +1 @@
add_library(unity unity/src/unity.c)