mirror of
https://github.com/uowuo/abaddon.git
synced 2024-11-10 06:00:10 +00:00
use file(GLOB) in cmake
This commit is contained in:
parent
ec8117a24b
commit
925d7afaf8
@ -125,70 +125,21 @@ if(mingw)
|
||||
link_libraries(ws2_32 wsock2)
|
||||
endif()
|
||||
|
||||
add_executable(abaddon
|
||||
abaddon.hpp
|
||||
util.hpp
|
||||
settings.hpp
|
||||
settings.cpp
|
||||
abaddon.cpp
|
||||
filecache.hpp
|
||||
filecache.cpp
|
||||
imgmanager.hpp
|
||||
imgmanager.cpp
|
||||
emojis.hpp
|
||||
emojis.cpp
|
||||
components/channels.hpp
|
||||
components/channels.cpp
|
||||
components/chatmessage.hpp
|
||||
components/chatmessage.cpp
|
||||
components/chatwindow.hpp
|
||||
components/chatwindow.cpp
|
||||
components/memberlist.hpp
|
||||
components/memberlist.cpp
|
||||
dialogs/confirm.hpp
|
||||
dialogs/confirm.cpp
|
||||
dialogs/editmessage.hpp
|
||||
dialogs/editmessage.cpp
|
||||
dialogs/joinguild.hpp
|
||||
dialogs/joinguild.cpp
|
||||
dialogs/token.hpp
|
||||
dialogs/token.cpp
|
||||
discord/discord.hpp
|
||||
discord/discord.cpp
|
||||
discord/http.hpp
|
||||
discord/http.cpp
|
||||
discord/objects.hpp
|
||||
discord/objects.cpp
|
||||
discord/store.hpp
|
||||
discord/store.cpp
|
||||
discord/websocket.hpp
|
||||
discord/websocket.cpp
|
||||
discord/user.hpp
|
||||
discord/snowflake.hpp
|
||||
discord/snowflake.cpp
|
||||
discord/user.cpp
|
||||
discord/json.hpp
|
||||
discord/role.hpp
|
||||
discord/role.cpp
|
||||
discord/member.hpp
|
||||
discord/member.cpp
|
||||
discord/channel.hpp
|
||||
discord/channel.cpp
|
||||
discord/guild.hpp
|
||||
discord/guild.cpp
|
||||
discord/usersettings.hpp
|
||||
discord/usersettings.cpp
|
||||
discord/message.hpp
|
||||
discord/message.cpp
|
||||
discord/invite.hpp
|
||||
discord/invite.cpp
|
||||
discord/permissions.hpp
|
||||
discord/permissions.cpp
|
||||
discord/emoji.hpp
|
||||
discord/emoji.cpp
|
||||
windows/mainwindow.hpp
|
||||
windows/mainwindow.cpp
|
||||
file(GLOB ABADDON_SOURCES
|
||||
"*.h"
|
||||
"*.hpp"
|
||||
"*.cpp"
|
||||
"discord/*.hpp"
|
||||
"discord/*.cpp"
|
||||
"components/*.hpp"
|
||||
"components/*.cpp"
|
||||
"windows/*.hpp"
|
||||
"windows/*.cpp"
|
||||
"dialogs/*.hpp"
|
||||
"dialogs/*.cpp"
|
||||
)
|
||||
|
||||
add_executable(abaddon ${ABADDON_SOURCES})
|
||||
target_link_libraries(abaddon ${GTKMM_LIBRARIES})
|
||||
target_link_libraries(abaddon ${GDKMM_LIBRARIES})
|
||||
target_link_libraries(abaddon ${GLIBMM_LIBRARIES})
|
||||
|
Loading…
Reference in New Issue
Block a user