mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-18 10:59:49 +00:00
CMake: Build unity as library
This commit is contained in:
1 parent
12acc57967
commit
896e52255b
2 files changed
+3
No files matched your search
@@ -1,6 +1,8 @@
|
|||||||
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
|
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
|
||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
|
||||||
|
subdirs(tests)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
project(cJSON C)
|
project(cJSON C)
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
add_library(unity unity/src/unity.c)
|
||||||
Reference in new issue
Block a user