2020-05-06 18:40:06 +03:00
|
|
|
set(SOURCES
|
2021-01-16 17:18:58 +01:00
|
|
|
AnonymousBuffer.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
ArgsParser.cpp
|
2020-09-15 21:45:21 +03:00
|
|
|
Command.cpp
|
2022-10-13 14:07:09 -06:00
|
|
|
ConfigFile.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
DateTime.cpp
|
2023-02-08 21:08:01 +01:00
|
|
|
DeprecatedFile.cpp
|
2022-04-10 18:28:43 +02:00
|
|
|
Directory.cpp
|
2023-03-02 15:39:07 +00:00
|
|
|
DirectoryEntry.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
DirIterator.cpp
|
|
|
|
|
ElapsedTimer.cpp
|
|
|
|
|
Event.cpp
|
|
|
|
|
EventLoop.cpp
|
2023-02-09 03:02:46 +01:00
|
|
|
File.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
IODevice.cpp
|
2021-07-21 21:04:24 -06:00
|
|
|
LockFile.cpp
|
2021-11-23 11:32:25 +01:00
|
|
|
MappedFile.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
MimeData.cpp
|
|
|
|
|
NetworkJob.cpp
|
|
|
|
|
Notifier.cpp
|
|
|
|
|
Object.cpp
|
2021-08-06 01:04:11 +02:00
|
|
|
Process.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
ProcessStatisticsReader.cpp
|
2020-09-15 21:33:37 +02:00
|
|
|
Property.cpp
|
2021-09-12 06:54:57 -07:00
|
|
|
SecretString.cpp
|
2022-09-05 22:10:46 -06:00
|
|
|
SessionManagement.cpp
|
2023-02-08 23:05:44 +01:00
|
|
|
Socket.cpp
|
2022-04-06 04:14:18 +04:30
|
|
|
SOCKSProxyClient.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
StandardPaths.cpp
|
2021-11-23 10:59:50 +01:00
|
|
|
System.cpp
|
2022-01-15 11:56:48 +00:00
|
|
|
SystemServerTakeover.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
TCPServer.cpp
|
|
|
|
|
Timer.cpp
|
|
|
|
|
UDPServer.cpp
|
2021-08-29 11:54:59 +02:00
|
|
|
Version.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
)
|
2022-11-20 06:53:14 +03:30
|
|
|
if (NOT ANDROID AND NOT WIN32 AND NOT EMSCRIPTEN)
|
2022-10-13 14:07:09 -06:00
|
|
|
list(APPEND SOURCES
|
|
|
|
|
Account.cpp
|
|
|
|
|
FilePermissionsMask.cpp
|
|
|
|
|
GetPassword.cpp
|
|
|
|
|
Group.cpp
|
|
|
|
|
LocalServer.cpp
|
|
|
|
|
)
|
2022-07-11 01:06:29 -06:00
|
|
|
endif()
|
2020-05-06 18:40:06 +03:00
|
|
|
|
2023-01-17 14:43:36 -05:00
|
|
|
# FIXME: Implement Core::FileWatcher for macOS, *BSD, and Windows.
|
2023-01-17 13:49:21 -05:00
|
|
|
if (SERENITYOS)
|
|
|
|
|
list(APPEND SOURCES FileWatcherSerenity.cpp)
|
2023-01-17 14:43:36 -05:00
|
|
|
elseif (LINUX AND NOT EMSCRIPTEN)
|
|
|
|
|
list(APPEND SOURCES FileWatcherLinux.cpp)
|
2023-01-18 14:03:14 -05:00
|
|
|
elseif (APPLE)
|
|
|
|
|
list(APPEND SOURCES FileWatcherMacOS.mm)
|
2023-01-17 13:49:21 -05:00
|
|
|
else()
|
|
|
|
|
list(APPEND SOURCES FileWatcherUnimplemented.cpp)
|
|
|
|
|
endif()
|
|
|
|
|
|
2020-05-06 18:40:06 +03:00
|
|
|
serenity_lib(LibCore core)
|
2022-10-21 21:43:56 +02:00
|
|
|
target_link_libraries(LibCore PRIVATE LibCrypt LibSystem)
|
2023-01-18 14:03:14 -05:00
|
|
|
|
|
|
|
|
if (APPLE)
|
|
|
|
|
target_link_libraries(LibCore PUBLIC "-framework CoreFoundation")
|
|
|
|
|
target_link_libraries(LibCore PUBLIC "-framework CoreServices")
|
|
|
|
|
target_link_libraries(LibCore PUBLIC "-framework Foundation")
|
|
|
|
|
endif()
|