Using arduinoJson outside arduino
Created by: zizyx
Hello,
I'm using Json on arduino and it works like a charm, now I want to implement some unit tests around this but i cant seem to get them working on cmake and gtest, They should work without arduino libraries which is not the case. When i add the ArduinoJson directory to my cmake file it says it cant find the WString.h so i included that one then i asked for another file so i included that one too but after a while i got stuck on some avr/interrupt.h which i cant include for some reason. How do i turn off ArduinoJson so it wont use the arduino libary but instead just works for cpp?