Commit 87aaacdb authored by louiz’'s avatar louiz’

Rename libirc and libxmpp to irc and xmpp

parent e332d7a2
......@@ -20,20 +20,20 @@ add_library(network STATIC ${source_network})
#
## irclib
#
file(GLOB source_libirc
src/libirc/*.[hc]pp)
add_library(libirc STATIC ${source_libirc})
target_link_libraries(libirc network)
file(GLOB source_irc
src/irc/*.[hc]pp)
add_library(irc STATIC ${source_irc})
target_link_libraries(irc network ${CRYPTO++_LIBRARIES})
#
## xmpplib
#
file(GLOB source_libxmpp
src/libxmpp/*.[hc]pp)
add_library(libxmpp STATIC ${source_libxmpp})
target_link_libraries(libxmpp network)
file(GLOB source_xmpp
src/xmpp/*.[hc]pp)
add_library(xmpp STATIC ${source_xmpp})
target_link_libraries(xmpp network )
add_executable(${PROJECT_NAME} src/main.cpp)
target_link_libraries(${PROJECT_NAME}
libxmpp
libirc)
\ No newline at end of file
xmpp
irc)
\ No newline at end of file
#include <libirc/irc_client.hpp>
#include <libirc/irc_message.hpp>
#include <irc/irc_client.hpp>
#include <irc/irc_message.hpp>
#include <iostream>
#include <stdexcept>
......
#ifndef IRC_CLIENT_INCLUDED
# define IRC_CLIENT_INCLUDED
#include <libirc/irc_message.hpp>
#include <irc/irc_message.hpp>
#include <network/socket_handler.hpp>
......
#include <libirc/irc_message.hpp>
#include <irc/irc_message.hpp>
#include <iostream>
IrcMessage::IrcMessage(std::string&& line)
......
#include <libirc/irc_client.hpp>
#include <irc/irc_client.hpp>
#include <network/poller.hpp>
int main()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment