mirror of
https://github.com/HackHerz/pusher
synced 2025-12-06 02:10:19 +00:00
new version of JSON for Modern C++
The new version of JSON for Modern C++ is a header-only library with better UTF-8 support. See https://github.com/nlohmann/json#updates-since-last-version for more information.
This commit is contained in:
parent
e8355f1556
commit
cbd9fcfdc9
5 changed files with 3847 additions and 3120 deletions
13
makefile
13
makefile
|
|
@ -13,16 +13,8 @@ LIBS = -lcurl
|
|||
# Build
|
||||
all: pusher
|
||||
|
||||
pusher: json simpleini pushhandler main
|
||||
$(BUILDCOMMAND) src/json/json.o src/simpleini/ConvertUTF.o src/pushhandler.o src/main.o $(LIBS) -o $(TARGET)
|
||||
|
||||
|
||||
# json library
|
||||
.PHONY: json
|
||||
json: src/json/json.o
|
||||
|
||||
src/json/json.o: src/json/json.cc
|
||||
$(BUILDCOMMAND) -c src/json/json.cc -o src/json/json.o
|
||||
pusher: simpleini pushhandler main
|
||||
$(BUILDCOMMAND) src/simpleini/ConvertUTF.o src/pushhandler.o src/main.o $(LIBS) -o $(TARGET)
|
||||
|
||||
|
||||
# simpleini
|
||||
|
|
@ -53,7 +45,6 @@ src/main.o: src/main.cpp
|
|||
.PHONY: clean
|
||||
clean:
|
||||
rm -f src/*.o
|
||||
rm -f src/json/*.o
|
||||
rm -f src/simpleini/*.o
|
||||
rm -f $(TARGET)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue