diff options
-rw-r--r-- | doc/CMakeLists.txt | 22 | ||||
-rw-r--r-- | src/gui/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/gui/curses/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/gui/gtk/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/plugins/scripts/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/plugins/scripts/lua/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/plugins/scripts/perl/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/plugins/scripts/python/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/plugins/scripts/ruby/CMakeLists.txt | 3 |
9 files changed, 65 insertions, 8 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 5475ff701..c953efc38 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -114,6 +114,13 @@ IF(BUILD_HTML OR BUILD_PDF) COMMAND ${XSLTPROC} ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html ${CMAKE_CURRENT_BINARY_DIR}/weechat-html-one.xsl ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build/weechat.${dlang}.xml DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/intro.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/install.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/usage.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugins.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugin_api.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugin_scripts.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/authors.${dlang}.xml ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml @@ -138,6 +145,14 @@ IF(BUILD_HTML OR BUILD_PDF) ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" + COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/intro.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" + COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/install.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" + COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/usage.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" + COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugins.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" + COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugin_api.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" + COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugin_charset.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" + COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugin_scripts.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" + COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/authors.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build" @@ -146,6 +161,13 @@ IF(BUILD_HTML OR BUILD_PDF) COMMAND ${DBLATEX} ARGS -c ${CMAKE_CURRENT_SOURCE_DIR}/dblatex.conf -o ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build/weechat.${dlang}.xml DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/intro.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/install.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/usage.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugins.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugin_api.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/plugin_scripts.${dlang}.xml + ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/authors.${dlang}.xml ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 962147e55..fef192a8f 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -23,7 +23,8 @@ gui-bar-item.c gui-bar-item.h gui-buffer.c gui-buffer.h gui-chat.c gui-chat.h gui-color.c gui-color.h gui-completion.c gui-completion.h gui-history.c gui-history.h gui-hotlist.c gui-hotlist.h gui-infobar.c gui-infobar.h gui-input.c gui-input.h gui-keyboard.c gui-keyboard.h gui-main.h -gui-nicklist.c gui-nicklist.h gui-status.h gui-window.c gui-window.h) +gui-nicklist.c gui-nicklist.h gui-status.c gui-status.h gui-window.c +gui-window.h) INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}) ADD_LIBRARY(weechat_gui_common STATIC ${LIB_GUI_COMMON_SRC}) diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt index 4d2b8cca9..8a30cc68d 100644 --- a/src/gui/curses/CMakeLists.txt +++ b/src/gui/curses/CMakeLists.txt @@ -39,7 +39,21 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") LIST(APPEND EXTRA_LIBS "utf8") ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") -ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_CURSES_SRC}) +ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_CURSES_SRC} +../../core/weechat.o +../../core/wee-backtrace.o +../../core/wee-command.o +../../core/wee-config.o +../../core/wee-config-file.o +../../core/wee-debug.o +../../core/wee-hook.o +../../core/wee-input.o +../../core/wee-list.o +../../core/wee-log.o +../../core/wee-upgrade.o +../../core/wee-string.o +../../core/wee-utf8.o +../../core/wee-util.o) INCLUDE_DIRECTORIES(.. ../../core ../../plugins) TARGET_LINK_LIBRARIES(${EXECUTABLE} ${STATIC_LIBS} ${EXTRA_LIBS}) diff --git a/src/gui/gtk/CMakeLists.txt b/src/gui/gtk/CMakeLists.txt index 5d5ec2315..ab2358573 100644 --- a/src/gui/gtk/CMakeLists.txt +++ b/src/gui/gtk/CMakeLists.txt @@ -31,7 +31,21 @@ IF(PKG_CONFIG_FOUND) ENDIF(GTK2_FOUND) ENDIF(PKG_CONFIG_FOUND) -ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_GTK_SRC}) +ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_GTK_SRC} +../../core/weechat.o +../../core/wee-backtrace.o +../../core/wee-command.o +../../core/wee-config.o +../../core/wee-config-file.o +../../core/wee-debug.o +../../core/wee-hook.o +../../core/wee-input.o +../../core/wee-list.o +../../core/wee-log.o +../../core/wee-upgrade.o +../../core/wee-string.o +../../core/wee-utf8.o +../../core/wee-util.o) INCLUDE_DIRECTORIES(.. ../../core ../../plugins) TARGET_LINK_LIBRARIES(${EXECUTABLE} ${STATIC_LIBS} ${EXTRA_LIBS}) diff --git a/src/plugins/scripts/CMakeLists.txt b/src/plugins/scripts/CMakeLists.txt index 7f3858d69..653c2237d 100644 --- a/src/plugins/scripts/CMakeLists.txt +++ b/src/plugins/scripts/CMakeLists.txt @@ -14,7 +14,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -SET(LIB_SCRIPTS_SRC script.c script.h) +SET(LIB_SCRIPTS_SRC script.c script.h script-callback.c script-callback.h +script-api.c script-api.h) ADD_DEFINITIONS(${CMAKE_SHARED_LIBRARY_C_FLAGS}) INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}) diff --git a/src/plugins/scripts/lua/CMakeLists.txt b/src/plugins/scripts/lua/CMakeLists.txt index a3ebf96ae..0e827e61b 100644 --- a/src/plugins/scripts/lua/CMakeLists.txt +++ b/src/plugins/scripts/lua/CMakeLists.txt @@ -14,7 +14,9 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -ADD_LIBRARY(lua MODULE lua.c) +ADD_LIBRARY(lua MODULE weechat-lua.c weechat-lua.h weechat-lua-api.c +weechat-lua-api.h) + SET_TARGET_PROPERTIES(lua PROPERTIES PREFIX "") IF(LUA_FOUND) diff --git a/src/plugins/scripts/perl/CMakeLists.txt b/src/plugins/scripts/perl/CMakeLists.txt index f5384665f..46c82097e 100644 --- a/src/plugins/scripts/perl/CMakeLists.txt +++ b/src/plugins/scripts/perl/CMakeLists.txt @@ -14,7 +14,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -ADD_LIBRARY(perl MODULE perl.c) +ADD_LIBRARY(perl MODULE weechat-perl.c weechat-perl.h weechat-perl-api.c +weechat-perl-api.h) SET_TARGET_PROPERTIES(perl PROPERTIES PREFIX "") diff --git a/src/plugins/scripts/python/CMakeLists.txt b/src/plugins/scripts/python/CMakeLists.txt index cb61b4e9a..004fa190a 100644 --- a/src/plugins/scripts/python/CMakeLists.txt +++ b/src/plugins/scripts/python/CMakeLists.txt @@ -14,7 +14,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -ADD_LIBRARY(python MODULE python.c) +ADD_LIBRARY(python MODULE weechat-python.c weechat-python.h +weechat-python-api.c weechat-python-api.h) SET_TARGET_PROPERTIES(python PROPERTIES PREFIX "") diff --git a/src/plugins/scripts/ruby/CMakeLists.txt b/src/plugins/scripts/ruby/CMakeLists.txt index c88de75d6..3702e0e48 100644 --- a/src/plugins/scripts/ruby/CMakeLists.txt +++ b/src/plugins/scripts/ruby/CMakeLists.txt @@ -14,7 +14,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -ADD_LIBRARY(ruby MODULE ruby.c) +ADD_LIBRARY(ruby MODULE weechat-ruby.c weechat-ruby.h weechat-ruby-api.c +weechat-ruby-api.h) SET_TARGET_PROPERTIES(ruby PROPERTIES PREFIX "") |