mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-12 10:13:51 +01:00
More aggressive compiler warnings
This commit is contained in:
parent
77d2ef8299
commit
73a8e440c0
@ -104,10 +104,11 @@ if(valijson_BUILD_TESTS)
|
||||
# Unit tests executable
|
||||
add_executable(test_suite ${TEST_SOURCES})
|
||||
|
||||
set_target_properties(test_suite PROPERTIES COMPILE_FLAGS " -pedantic -Werror -Wshadow -Wunused")
|
||||
|
||||
# Definition for using picojson
|
||||
set_target_properties(test_suite PROPERTIES COMPILE_DEFINITIONS "PICOJSON_USE_INT64")
|
||||
|
||||
|
||||
if(Boost_FOUND)
|
||||
add_definitions(-DBOOST_ALL_DYN_LINK)
|
||||
set(Boost_USE_STATIC_LIBS OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user