Skip to content

Commit

Permalink
C/C++/QML formatted code (#61)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Jan 1, 2025
1 parent 99ef61c commit 49254e8
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ if(USE_Vault)
target_link_libraries(
appqmlonline
PRIVATE
Esterv::Vault
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::Vault,TYPE>,STATIC_LIBRARY>:Esterv::Vaultplugin>
Esterv::Vault
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::Vault,TYPE>,STATIC_LIBRARY>:Esterv::Vaultplugin>
)
list(APPEND qmlimport "Esterv.Crypto.Vault")
endif(USE_Vault)
if(USE_OMClient)
FetchContent_Declare(
EstervOpenMeteo
EstervOpenMeteo
GIT_REPOSITORY https://github.com/EddyTheCo/Esterv.Utils.OMClient.git
GIT_TAG v0.4.0
FIND_PACKAGE_ARGS 0.4 CONFIG)
FetchContent_MakeAvailable(EstervOpenMeteo)
target_link_libraries(
appqmlonline
PRIVATE
Esterv::OMClient
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::OMClient,TYPE>,STATIC_LIBRARY>:Esterv::OMClientplugin>
Esterv::OMClient
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::OMClient,TYPE>,STATIC_LIBRARY>:Esterv::OMClientplugin>
)
list(APPEND qmlimport Esterv.CustomControls.OpenMeteo)
endif(USE_OMClient)
Expand Down Expand Up @@ -101,10 +101,10 @@ if(USE_QtQr)
target_link_libraries(
appqmlonline
PRIVATE
Esterv::QtQrGen
Esterv::QtQrDec
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::QtQrGen,TYPE>,STATIC_LIBRARY>:Esterv::QtQrGenplugin>
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::QtQrDec,TYPE>,STATIC_LIBRARY>:Esterv::QtQrDecplugin>
Esterv::QtQrGen
Esterv::QtQrDec
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::QtQrGen,TYPE>,STATIC_LIBRARY>:Esterv::QtQrGenplugin>
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::QtQrDec,TYPE>,STATIC_LIBRARY>:Esterv::QtQrDecplugin>
)
target_compile_definitions(appqmlonline PRIVATE USE_QtQr)
list(APPEND qmlimport "Esterv.CustomControls.QrGen"
Expand All @@ -113,15 +113,16 @@ endif(USE_QtQr)
if(USE_DateTimePickers)
FetchContent_Declare(
EstervDTPickers
GIT_REPOSITORY https://github.com/EddyTheCo/Esterv.CustomControls.DateTimePickers.git
GIT_REPOSITORY
https://github.com/EddyTheCo/Esterv.CustomControls.DateTimePickers.git
GIT_TAG v1.0.0
FIND_PACKAGE_ARGS 1 CONFIG)
FetchContent_MakeAvailable(EstervDTPickers)
target_link_libraries(
appqmlonline
PRIVATE
Esterv::DTPickers
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::DTPickers,TYPE>,STATIC_LIBRARY>:Esterv::DTPickersplugin>
Esterv::DTPickers
$<$<STREQUAL:$<TARGET_PROPERTY:Esterv::DTPickers,TYPE>,STATIC_LIBRARY>:Esterv::DTPickersplugin>
)
target_compile_definitions(appqmlonline PRIVATE USE_QtQr)
list(APPEND qmlimport "Esterv.CustomControls.DateTimePickers")
Expand Down

0 comments on commit 49254e8

Please sign in to comment.