Made library easier to use from a CMake project: simply add_subdirectory(ArduinoJson/src)

This commit is contained in:
Benoit Blanchon committed 2015-11-19 21:53:27 +01:00
1 parent 9cc49da68a
commit 96245dd3b4
5 files changed
+17 -8

No files matched your search

-3
View File
@@ -1,10 +1,8 @@
set(GTEST_DIR ../third-party/gtest-1.7.0)
file(GLOB_RECURSE INC_FILES ../include/*.h)
file(GLOB TESTS_FILES *.hpp *.cpp)
include_directories(
../include
${GTEST_DIR}
${GTEST_DIR}/include)
@@ -17,7 +15,6 @@ endif()
add_executable(ArduinoJsonTests
${TESTS_FILES}
${INC_FILES}
${GTEST_DIR}/src/gtest-all.cc
${GTEST_DIR}/src/gtest_main.cc)