Compare commits

...

2 Commits
v1.0.0 ... main

Author SHA1 Message Date
57f8b37a42 only change. 2024-11-04 21:44:05 +08:00
88fcd7702b config:添加默认策略可以从环境中获取boost。 2024-11-04 21:23:48 +08:00
3 changed files with 8 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
build
.vs
.cache
cmake-*
cmake-*
.DS_Store

View File

@ -1,7 +1,7 @@
{
"files.autoSave": "onFocusChange",
"editor.fontSize": 14,
"editor.fontFamily": "'FiraCode Nerd Font Mono', 'FiraCode Nerd Font Mono', 'FiraCode Nerd Font Mono'",
//"editor.fontSize": 14,
//"editor.fontFamily": "'FiraCode Nerd Font Mono', 'FiraCode Nerd Font Mono', 'FiraCode Nerd Font Mono'",
"cmake.configureOnOpen": true,
"cmake.debugConfig": {
"console": "integratedTerminal",

View File

@ -22,6 +22,10 @@ set(SOURCES_FILE
resource.h resource.cpp
)
# boost
if (${CMAKE_VERSION} VERSION_GREATER "3.30")
cmake_policy(SET CMP0167 NEW)
endif()
set(Boost_USE_STATIC_LIBS OFF)
find_package(Boost REQUIRED program_options filesystem)
include_directories(${Boost_INCLUDE_DIR})