Mass refactor 💥
This commit is contained in:
parent
6dfacdf04c
commit
8f1d0070c3
47 changed files with 3440 additions and 3205 deletions
|
@ -32,24 +32,24 @@ endif()
|
|||
set(INSTALL_PATH "${INSTALL_PATH}" CACHE PATH "Path to install the plugin binary to.")
|
||||
|
||||
add_library(tox MODULE
|
||||
src/tox-weechat.c
|
||||
src/tox-weechat-identities.c
|
||||
src/tox-weechat-chats.c
|
||||
src/tox-weechat-friend-requests.c
|
||||
src/tox-weechat-tox-callbacks.c
|
||||
src/tox-weechat-commands.c
|
||||
src/tox-weechat-gui.c
|
||||
src/tox-weechat-utils.c
|
||||
src/tox-weechat-config.c
|
||||
src/tox-weechat-data.c
|
||||
src/tox-weechat-completion.c
|
||||
src/tox-weechat-messages.c
|
||||
src/twc.c
|
||||
src/twc-bootstrap.c
|
||||
src/twc-chat.c
|
||||
src/twc-commands.c
|
||||
src/twc-completion.c
|
||||
src/twc-config.c
|
||||
src/twc-friend-request.c
|
||||
src/twc-gui.c
|
||||
src/twc-list.c
|
||||
src/twc-message-queue.c
|
||||
src/twc-profile.c
|
||||
src/twc-tox-callbacks.c
|
||||
src/twc-utils.c
|
||||
)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra -Werror-implicit-function-declaration -Wno-unused-parameter")
|
||||
|
||||
target_link_libraries(tox toxcore)
|
||||
target_link_libraries(tox jansson)
|
||||
|
||||
# remove lib prefix (libtox.so -> tox.so)
|
||||
set_target_properties(tox PROPERTIES PREFIX "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue