tox-weechat/CMakeLists.txt

22 lines
474 B
CMake
Raw Normal View History

2014-09-02 10:37:00 +00:00
cmake_minimum_required(VERSION 3.0)
project(tox-weechat)
add_definitions(-std=c11)
add_library(tox SHARED
src/tox-weechat.c
src/tox-weechat-tox.c
src/tox-weechat-utils.c
2014-09-02 16:47:08 +00:00
src/tox-weechat-commands.c
src/tox-weechat-gui.c
src/tox-weechat-chats.c
src/tox-weechat-friend-requests.c
2014-09-02 10:37:00 +00:00
)
# remove lib prefix
set_target_properties(tox PROPERTIES PREFIX "")
target_link_libraries(tox toxcore)
2014-09-02 19:14:05 +00:00
install(FILES build/tox.so DESTINATION ~/.weechat/plugins)