mirror of https://gitee.com/cxasm/notepad--.git
repo: 在整体构建之前增加全局定义
This commit is contained in:
parent
44de15f3de
commit
51b678e5dc
|
@ -8,6 +8,13 @@ include(cmake/SparkFindQt5Config.cmake)
|
||||||
# include(cmake/SparkFindQt6Config.cmake)
|
# include(cmake/SparkFindQt6Config.cmake)
|
||||||
include(cmake/SparkMacrosExtendConfig.cmake)
|
include(cmake/SparkMacrosExtendConfig.cmake)
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------- 构建之前 全局定义 ----------------- #
|
||||||
|
# 在 Windows 中开启 UNICODE 以支持 TCHAR 功能
|
||||||
|
if(WIN32)
|
||||||
|
add_compile_definitions(-D_UNICODE -DUNICODE)
|
||||||
|
endif()
|
||||||
|
|
||||||
# ----------------- 构建 QSci 静态库 ----------------- #
|
# ----------------- 构建 QSci 静态库 ----------------- #
|
||||||
if(TRUE)
|
if(TRUE)
|
||||||
# add_subdirectory(${PROJECT_SOURCE_DIR}/src/qscint)
|
# add_subdirectory(${PROJECT_SOURCE_DIR}/src/qscint)
|
||||||
|
|
Loading…
Reference in New Issue