Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
eranif committed Feb 27, 2023
1 parent 8382595 commit edcdf13
Show file tree
Hide file tree
Showing 6 changed files with 1,633,002 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
project(tinyjson)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
set(TEST_SRCS "${CMAKE_CURRENT_LIST_DIR}/main.cpp")
set(LIB_SRCS "${CMAKE_CURRENT_LIST_DIR}/tinyjson.cpp")

add_executable(tinytest "${TEST_SRCS}")
target_link_libraries(tinytest tinyjson)

add_library(tinyjson STATIC "${LIB_SRCS}")
Loading

0 comments on commit edcdf13

Please sign in to comment.