mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-09-12 17:59:54 +00:00
CMake: Build unity as library
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
subdirs(tests)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
project(cJSON C)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
add_library(unity unity/src/unity.c)
|
||||
Reference in New Issue
Block a user