@@ -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.6.5 DESCRIPTION "A cross-platform base for native Nickvision applications." )
23+ project ("libnick" LANGUAGES C CXX VERSION 2025.7.0 DESCRIPTION "A cross-platform base for native Nickvision applications." )
2424include (CMakePackageConfigHelpers )
2525include (GNUInstallDirs )
2626include (CTest )
@@ -35,10 +35,68 @@ if(NOT WIN32)
3535 add_compile_definitions (HAVE_USLEEP )
3636endif ()
3737add_library (${PROJECT_NAME}
38+ "include/app/appinfo.h"
39+ "include/app/datafilebase.h"
40+ "include/app/datafilemanager.h"
41+ "include/app/windowgeometry.h"
42+ "include/database/sqlcontext.h"
43+ "include/database/sqldatabase.h"
44+ "include/database/sqlstatement.h"
45+ "include/database/sqlvalue.h"
46+ "include/events/event.h"
47+ "include/events/eventargs.h"
48+ "include/events/parameventargs.h"
49+ "include/filesystem/applicationuserdirectory.h"
50+ "include/filesystem/fileaction.h"
51+ "include/filesystem/filesystemchangedeventargs.h"
52+ "include/filesystem/filesystemwatcher.h"
53+ "include/filesystem/userdirectories.h"
54+ "include/filesystem/userdirectory.h"
55+ "include/filesystem/watcherflags.h"
56+ "include/helpers/codehelpers.h"
57+ "include/helpers/pairhash.h"
58+ "include/helpers/stringhelpers.h"
59+ "include/keyring/credential.h"
60+ "include/keyring/credentialcheckstatus.h"
61+ "include/keyring/keyring.h"
62+ "include/keyring/passwordcontent.h"
63+ "include/keyring/passwordgenerator.h"
64+ "include/keyring/passwordstrength.h"
65+ "include/keyring/systemcredentials.h"
66+ "include/localization/documentation.h"
67+ "include/localization/gettext.h"
68+ "include/network/addressfamily.h"
69+ "include/network/dns.h"
70+ "include/network/ipv4address.h"
71+ "include/network/macaddress.h"
72+ "include/network/networkmonitor.h"
73+ "include/network/networkstate.h"
74+ "include/network/networkstatechangedeventargs.h"
75+ "include/network/socket.h"
76+ "include/network/sockettype.h"
77+ "include/network/web.h"
78+ "include/notifications/appnotification.h"
79+ "include/notifications/notificationsenteventargs.h"
80+ "include/notifications/notificationseverity.h"
81+ "include/notifications/shellnotification.h"
82+ "include/notifications/shellnotificationsenteventargs.h"
83+ "include/system/dependencysearchoption.h"
84+ "include/system/deploymentmode.h"
85+ "include/system/environment.h"
86+ "include/system/hardwareinfo.h"
87+ "include/system/operatingsystem.h"
88+ "include/system/process.h"
89+ "include/system/processexitedeventargs.h"
90+ "include/system/processstate.h"
91+ "include/system/suspendinhibitor.h"
92+ "include/taskbar/progressstate.h"
93+ "include/taskbar/taskbaritem.h"
94+ "include/update/updater.h"
95+ "include/update/version.h"
96+ "include/update/versiontype.h"
3897 "src/app/appinfo.cpp"
3998 "src/app/datafilebase.cpp"
4099 "src/app/datafilemanager.cpp"
41- "src/app/interprocesscommunicator.cpp"
42100 "src/app/windowgeometry.cpp"
43101 "src/database/sqlcontext.cpp"
44102 "src/database/sqldatabase.cpp"
@@ -56,8 +114,6 @@ add_library (${PROJECT_NAME}
56114 "src/keyring/systemcredentials.cpp"
57115 "src/localization/documentation.cpp"
58116 "src/localization/gettext.cpp"
59- "src/logging/logger.cpp"
60- "src/network/curleasy.cpp"
61117 "src/network/dns.cpp"
62118 "src/network/ipv4address.cpp"
63119 "src/network/macaddress.cpp"
@@ -88,9 +144,9 @@ endif()
88144
89145#libnick Packages
90146find_package (Boost REQUIRED COMPONENTS json )
91- find_package (CURL REQUIRED )
147+ find_package (cpr CONFIG REQUIRED )
92148find_package (Intl REQUIRED )
93- target_link_libraries (${PROJECT_NAME} PUBLIC Boost::json CURL::libcurl Intl::Intl )
149+ target_link_libraries (${PROJECT_NAME} PUBLIC Boost::json cpr::cpr Intl::Intl )
94150if (USING_VCPKG)
95151 find_package (unofficial-maddy CONFIG REQUIRED )
96152 target_link_libraries (${PROJECT_NAME} PRIVATE unofficial::maddy::maddy )
@@ -154,10 +210,8 @@ if (BUILD_TESTING)
154210 "tests/eventtests.cpp"
155211 "tests/filewatchertests.cpp"
156212 "tests/hardwaretests.cpp"
157- "tests/ipctests.cpp"
158213 "tests/keyringtests.cpp"
159214 "tests/localizationtests.cpp"
160- "tests/loggingtests.cpp"
161215 "tests/main.cpp"
162216 "tests/networktests.cpp"
163217 "tests/notificationtests.cpp"
0 commit comments