This commit is contained in:
zhuzihcu 2023-06-16 17:17:25 +08:00
commit e591c483d5
2 changed files with 21 additions and 5 deletions

View File

@ -2,9 +2,21 @@ cmake_minimum_required(VERSION 3.20)
project(FluentUI VERSION 0.1 LANGUAGES CXX) project(FluentUI VERSION 0.1 LANGUAGES CXX)
add_subdirectory(src) option(FLUENTUI_BUILD_EXAMPLES "Build FluentUI demo applications." ON)
add_subdirectory(example) option(FLUENTUI_BUILD_FRAMELESSHEPLER "Build FramelessHelper." ON)
add_definitions(-DFRAMELESSHELPER_CORE_NO_DEBUG_OUTPUT) add_subdirectory(src)
add_definitions(-DFRAMELESSHELPER_QUICK_NO_DEBUG_OUTPUT)
add_subdirectory(framelesshelper) if (FLUENTUI_BUILD_EXAMPLES)
add_subdirectory(example)
endif ()
if (FLUENTUI_BUILD_FRAMELESSHEPLER)
add_definitions(-DFRAMELESSHELPER_CORE_NO_DEBUG_OUTPUT)
add_definitions(-DFRAMELESSHELPER_QUICK_NO_DEBUG_OUTPUT)
add_subdirectory(framelesshelper)
endif ()
message("------------------------ FluentUI ------------------------")
message("Build FluentUI demo applications.: ${FLUENTUI_BUILD_EXAMPLES}")
message("Build FramelessHelper.: ${FLUENTUI_BUILD_FRAMELESSHEPLER}")

View File

@ -147,4 +147,8 @@ Rectangle{
return btn_close return btn_close
} }
function darkButton(){
return btn_dark
}
} }