axmol/external/json/CMakeLists.txt

21 lines
302 B
CMake
Raw Normal View History

2013-11-02 18:07:34 +08:00
set(JSONCPP_SRC
json_reader.cpp
2013-11-04 14:49:42 +08:00
json_value.cpp
2013-11-02 18:07:34 +08:00
json_writer.cpp
)
include_directories(
)
add_library(jsoncpp STATIC
${JSONCPP_SRC}
)
2013-11-04 14:49:42 +08:00
set_target_properties(jsoncpp
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
)