Skip to content

Commit

Permalink
[compile]display warning
Browse files Browse the repository at this point in the history
  • Loading branch information
盛志强 committed Apr 29, 2024
1 parent 346a44f commit 737f785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/CGraph-env-include.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ ELSEIF(WIN32)
# 本工程也支持在windows平台上的mingw环境使用
ENDIF()

#打开这个选项,就会出现一大波warning
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
include_directories(${CGRAPH_PROJECT_ROOT_DIR}/src/) # 直接加入"CGraph.h"文件对应的位置

# 以下三选一,本地编译执行,推荐OBJECT方式
Expand Down

0 comments on commit 737f785

Please sign in to comment.