@@ -20,7 +20,7 @@ endif()
2020set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR} /cmake" )
2121
2222#libnick Definition
23- project ("libnick" LANGUAGES C CXX VERSION 2025.8 .0 DESCRIPTION "A cross-platform base for native Nickvision applications." )
23+ project ("libnick" LANGUAGES C CXX VERSION 2025.9 .0 DESCRIPTION "A cross-platform base for native Nickvision applications." )
2424include (CMakePackageConfigHelpers)
2525include (GNUInstallDirs)
2626include (CTest)
@@ -36,14 +36,12 @@ if(NOT WIN32)
3636endif ()
3737add_library (${PROJECT_NAME}
3838 "include/app/appinfo.h"
39- "include/app/cancellationtoken.h"
40- "include/app/datafilebase.h"
41- "include/app/datafilemanager.h"
4239 "include/app/windowgeometry.h"
43- "include/database/sqlcontext.h"
44- "include/database/sqldatabase.h"
45- "include/database/sqlstatement.h"
46- "include/database/sqlvalue.h"
40+ "include/database/sqlite.h"
41+ "include/database/sqlitedatabase.h"
42+ "include/database/sqlitefunctioncontext.h"
43+ "include/database/sqlitestatement.h"
44+ "include/database/sqlitevalue.h"
4745 "include/events/event.h"
4846 "include/events/eventargs.h"
4947 "include/events/parameventargs.h"
@@ -54,33 +52,30 @@ add_library (${PROJECT_NAME}
5452 "include/filesystem/userdirectories.h"
5553 "include/filesystem/userdirectory.h"
5654 "include/filesystem/watcherflags.h"
55+ "include/helpers/cancellationtoken.h"
5756 "include/helpers/codehelpers.h"
57+ "include/helpers/ijsonserializable.h"
58+ "include/helpers/jsonfilebase.h"
5859 "include/helpers/pairhash.h"
5960 "include/helpers/stringhelpers.h"
6061 "include/keyring/credential.h"
61- "include/keyring/credentialcheckstatus.h"
6262 "include/keyring/keyring.h"
6363 "include/keyring/passwordcontent.h"
6464 "include/keyring/passwordgenerator.h"
65- "include/keyring/passwordstrength.h"
66- "include/keyring/systemcredentials.h"
6765 "include/localization/documentation.h"
6866 "include/localization/gettext.h"
69- "include/network/addressfamily.h"
70- "include/network/dns.h"
7167 "include/network/ipv4address.h"
7268 "include/network/macaddress.h"
7369 "include/network/networkmonitor.h"
7470 "include/network/networkstate.h"
7571 "include/network/networkstatechangedeventargs.h"
76- "include/network/socket.h"
77- "include/network/sockettype.h"
7872 "include/network/web.h"
7973 "include/notifications/appnotification.h"
8074 "include/notifications/notificationsenteventargs.h"
8175 "include/notifications/notificationseverity.h"
8276 "include/notifications/shellnotification.h"
8377 "include/notifications/shellnotificationsenteventargs.h"
78+ "include/system/credentials.h"
8479 "include/system/dependencysearchoption.h"
8580 "include/system/deploymentmode.h"
8681 "include/system/environment.h"
@@ -90,49 +85,42 @@ add_library (${PROJECT_NAME}
9085 "include/system/processexitedeventargs.h"
9186 "include/system/processstate.h"
9287 "include/system/suspendinhibitor.h"
93- "include/taskbar/progressstate.h"
94- "include/taskbar/taskbaritem.h"
9588 "include/update/updater.h"
9689 "include/update/version.h"
9790 "include/update/versiontype.h"
9891 "src/app/appinfo.cpp"
99- "src/app/cancellationtoken.cpp"
100- "src/app/datafilebase.cpp"
101- "src/app/datafilemanager.cpp"
10292 "src/app/windowgeometry.cpp"
103- "src/database/sqlcontext .cpp"
104- "src/database/sqldatabase .cpp"
105- "src/database/sqlstatement .cpp"
106- "src/database/sqlvalue .cpp"
93+ "src/database/sqlitedatabase .cpp"
94+ "src/database/sqlitefunctioncontext .cpp"
95+ "src/database/sqlitestatement .cpp"
96+ "src/database/sqlitevalue .cpp"
10797 "src/filesystem/filesystemchangedeventargs.cpp"
10898 "src/filesystem/filesystemwatcher.cpp"
10999 "src/filesystem/userdirectories.cpp"
100+ "src/helpers/cancellationtoken.cpp"
110101 "src/helpers/codehelpers.cpp"
102+ "src/helpers/jsonfilebase.cpp"
111103 "src/helpers/stringhelpers.cpp"
112104 "src/keyring/credential.cpp"
113105 "src/keyring/keyring.cpp"
114106 "src/keyring/passwordgenerator.cpp"
115- "src/keyring/passwordstrength.cpp"
116- "src/keyring/systemcredentials.cpp"
117107 "src/localization/documentation.cpp"
118108 "src/localization/gettext.cpp"
119- "src/network/dns.cpp"
120109 "src/network/ipv4address.cpp"
121110 "src/network/macaddress.cpp"
122111 "src/network/networkmonitor.cpp"
123112 "src/network/networkstatechangedeventargs.cpp"
124- "src/network/socket.cpp"
125113 "src/network/web.cpp"
126114 "src/notifications/appnotification.cpp"
127115 "src/notifications/notificationsenteventargs.cpp"
128116 "src/notifications/shellnotification.cpp"
129117 "src/notifications/shellnotificationsenteventargs.cpp"
118+ "src/system/credentials.cpp"
130119 "src/system/environment.cpp"
131120 "src/system/hardwareinfo.cpp"
132121 "src/system/process.cpp"
133122 "src/system/processexitedeventargs.cpp"
134123 "src/system/suspendinhibitor.cpp"
135- "src/taskbar/taskbaritem.cpp"
136124 "src/update/updater.cpp"
137125 "src/update/version.cpp" )
138126target_include_directories (${PROJECT_NAME} PUBLIC "$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR} /include>" "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} /${PROJECT_NAME} >" )
@@ -152,7 +140,7 @@ find_package(maddy CONFIG REQUIRED)
152140target_link_libraries (${PROJECT_NAME} PUBLIC Boost::json cpr::cpr Intl::Intl maddy::maddy)
153141if (WIN32 )
154142 find_package (sqlcipher CONFIG REQUIRED)
155- target_link_libraries (${PROJECT_NAME} PUBLIC sqlcipher::sqlcipher Advapi32 Dnsapi Dwmapi Gdiplus Kernel32 Shell32 UxTheme Ws2_32 )
143+ target_link_libraries (${PROJECT_NAME} PUBLIC sqlcipher::sqlcipher Advapi32 Dnsapi Dwmapi Gdiplus Kernel32 Shell32 UxTheme)
156144elseif (APPLE )
157145 set (THREADS_PREFER_PTHREAD_FLAG ON )
158146 find_library (CF_LIBRARY CoreFoundation)
@@ -204,11 +192,10 @@ if (BUILD_TESTING)
204192 add_executable (${PROJECT_NAME} _test
205193 "tests/codetests.cpp"
206194 "tests/databasetests.cpp"
207- "tests/datafiletests.cpp"
208- "tests/dnstests.cpp"
209195 "tests/eventtests.cpp"
210196 "tests/filewatchertests.cpp"
211197 "tests/hardwaretests.cpp"
198+ "tests/jsonfiletests.cpp"
212199 "tests/keyringtests.cpp"
213200 "tests/localizationtests.cpp"
214201 "tests/main.cpp"
@@ -217,9 +204,7 @@ if (BUILD_TESTING)
217204 "tests/passwordtests.cpp"
218205 "tests/processtests.cpp"
219206 "tests/stringtests.cpp"
220- "tests/systemcredentialstests.cpp"
221207 "tests/systemtests.cpp"
222- "tests/taskbartests.cpp"
223208 "tests/updatertests.cpp"
224209 "tests/versiontests.cpp"
225210 "tests/webtests.cpp" )
0 commit comments