Skip to content

Commit

Permalink
Attention Please!
Browse files Browse the repository at this point in the history
  • Loading branch information
JisenRen committed Jun 1, 2020
1 parent 934fac1 commit 0b8d3a7
Show file tree
Hide file tree
Showing 30 changed files with 2,189 additions and 859 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ if(MSVC)
else(MSVC)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
message("Build in Debug mode")
set(CMAKE_C_FLAGS "-O0 -g -Wall -fPIC ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-O0 -g -Wall -fPIC ${CMAKE_CXX_FLAGS}")
set(CMAKE_C_FLAGS "-O0 -g -Wno-sign-compare -Wno-deprecated-declarations -fPIC ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-O0 -g -Wno-sign-compare -Wno-deprecated-declarations -fPIC ${CMAKE_CXX_FLAGS}")
else()
set(CMAKE_C_FLAGS "-O2 -Wall -fPIC ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-O2 -Wall -fPIC ${CMAKE_CXX_FLAGS}")
set(CMAKE_C_FLAGS "-O2 -Wno-sign-compare -Wno-deprecated-declarations -fPIC ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-O2 -Wno-sign-compare -Wno-deprecated-declarations -fPIC ${CMAKE_CXX_FLAGS}")
if (HIDE_PRIVATE_SYMBOLS)
message(STATUS "Hide private symbols...")
set(CMAKE_C_FLAGS "-fvisibility=hidden ${CMAKE_C_FLAGS}")
Expand Down Expand Up @@ -87,4 +87,4 @@ add_subdirectory("3rdparty/jsoncpp"
${CMAKE_CURRENT_BINARY_DIR}/jsoncpp-build
EXCLUDE_FROM_ALL)

target_link_libraries(${LIB_NAME} jsoncpp_lib)
target_link_libraries(${LIB_NAME} jsoncpp_lib)
120 changes: 0 additions & 120 deletions README-old.md

This file was deleted.

Loading

0 comments on commit 0b8d3a7

Please sign in to comment.