# ArduinoJson - arduinojson.org
# Copyright Benoit Blanchon 2014-2020
# MIT License

# we need C++11 for 'long long'
set(CMAKE_CXX_STANDARD 11)

add_executable(MixedConfigurationTests
	cpp11.cpp
	decode_unicode_0.cpp
	decode_unicode_1.cpp
	enable_infinity_0.cpp
	enable_infinity_1.cpp
	enable_nan_0.cpp
	enable_nan_1.cpp
	use_double_0.cpp
	use_double_1.cpp
	use_long_long_0.cpp
	use_long_long_1.cpp
	enable_progmem_1.cpp
	enable_comments_1.cpp
	enable_comments_0.cpp
)

target_link_libraries(MixedConfigurationTests catch)
set_target_properties(MixedConfigurationTests PROPERTIES UNITY_BUILD OFF)

add_test(MixedConfiguration MixedConfigurationTests)
