mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
🔧 重构 FluWindow 后 CMakeLists 做对应修改
This commit is contained in:
parent
73ff2b45b9
commit
6bf38b5e5e
@ -25,11 +25,13 @@ find_package(Qt6 COMPONENTS Core Quick QuickControls2 Concurrent Network Multime
|
|||||||
|
|
||||||
set(SOURCES
|
set(SOURCES
|
||||||
ChatController.cpp
|
ChatController.cpp
|
||||||
|
AppInfo.cpp
|
||||||
main.cpp
|
main.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(HEADERS
|
set(HEADERS
|
||||||
ChatController.h
|
ChatController.h
|
||||||
|
AppInfo.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(RESOURCES
|
set(RESOURCES
|
||||||
|
@ -24,6 +24,7 @@ set(TARGET_SOURCES
|
|||||||
FluTheme.cpp
|
FluTheme.cpp
|
||||||
Fluent.cpp
|
Fluent.cpp
|
||||||
FluentUI.cpp
|
FluentUI.cpp
|
||||||
|
NativeEventFilter.cpp
|
||||||
WindowHelper.cpp
|
WindowHelper.cpp
|
||||||
qml_plugin.cpp
|
qml_plugin.cpp
|
||||||
)
|
)
|
||||||
@ -37,18 +38,12 @@ set(TARGET_HEADERS
|
|||||||
FluTheme.h
|
FluTheme.h
|
||||||
Fluent.h
|
Fluent.h
|
||||||
FluentUI.h
|
FluentUI.h
|
||||||
FramelessView.h
|
NativeEventFilter.h
|
||||||
WindowHelper.h
|
WindowHelper.h
|
||||||
qml_plugin.h
|
qml_plugin.h
|
||||||
stdafx.h
|
stdafx.h
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
|
||||||
set(TARGET_SOURCES ${TARGET_SOURCES} FramelessView_win.cpp)
|
|
||||||
else()
|
|
||||||
set(TARGET_SOURCES ${TARGET_SOURCES} FramelessView_unix.cpp)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_definitions(-DVERSION_IN="1.0.0")
|
add_definitions(-DVERSION_IN="1.0.0")
|
||||||
add_definitions(-DVURI_STR="FluentUI")
|
add_definitions(-DVURI_STR="FluentUI")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user