Commit 1e217ac0 authored by Simon Giesecke's avatar Simon Giesecke

Problem: unity built with unnecessary float but without command line argument support

Solution: add appropriate definitions to build
parent f92cdf94
......@@ -429,7 +429,7 @@ test_apps = \
tests/test_reconnect_ivl \
tests/test_socket_null
UNITY_CPPFLAGS = -I$(top_srcdir)/external/unity
UNITY_CPPFLAGS = -I$(top_srcdir)/external/unity -DUNITY_USE_COMMAND_LINE_ARGS -DUNITY_EXCLUDE_FLOAT
UNITY_LIBS = $(top_builddir)/external/unity/libunity.a
noinst_LIBRARIES = external/unity/libunity.a
external_unity_libunity_a_SOURCES = external/unity/unity.c \
......
......@@ -153,6 +153,7 @@ add_library (unity
"${CMAKE_CURRENT_LIST_DIR}/../external/unity/unity_internals.h")
set_target_properties (unity PROPERTIES
PUBLIC_HEADER "${CMAKE_CURRENT_LIST_DIR}/../external/unity/unity.h")
target_compile_definitions (unity PUBLIC "UNITY_USE_COMMAND_LINE_ARGS" "UNITY_EXCLUDE_FLOAT")
target_include_directories (unity
PUBLIC "${CMAKE_CURRENT_LIST_DIR}/../external/unity")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment