Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Jul 31, 2012
1 parent f43d0f2 commit fc86c0f
Show file tree
Hide file tree
Showing 58 changed files with 90 additions and 5,568 deletions.
31 changes: 26 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
CMakeCache.txt
CMakeFiles
Makefile
cmake_install.cmake
install_manifest.txt
/build*/
cscope.*
.*
!.gitignore
*~
/tmp/
generated*.*
*.so
*.o
*.a
*.aux
*.out
*.log
*.nav
*.snm
*.glo
*.ist
*.toc
*.vrb
*.bbl
*.blg
*.pre
__pycache__/
*.pyc
*.pya
*.fdb_latexmk
26 changes: 23 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
Project(libwebqq)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
project(libwebqq)
cmake_minimum_required(VERSION 2.6)

SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/src)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})

find_package(PkgConfig REQUIRED)
pkg_check_modules(PURPLE REQUIRED purple)
pkg_check_modules(GLIB REQUIRED glib-2.0)
pkg_check_modules(CURL REQUIRED libcurl)

if(NOT PURPLE_MAJOR_VERSION)
set(PURPLE_MAJOR_VERSION "2")
endif(NOT PURPLE_MAJOR_VERSION)

SET(PURPLE_LIB_INSTALL_DIR
"${CMAKE_INSTALL_PREFIX}/lib/purple-${PURPLE_MAJOR_VERSION}")

add_definitions(-DINST_PREFIX="${CMAKE_INSTALL_PREFIX}")

option(NLS "Native language support" On)
if(NLS)
find_package(Gettext)
endif(NLS)

add_subdirectory(src)
add_subdirectory(res)
202 changes: 0 additions & 202 deletions include/libghttp/.deps/libghttp_la-ghttp.Plo

This file was deleted.

111 changes: 0 additions & 111 deletions include/libghttp/.deps/libghttp_la-http_base64.Plo

This file was deleted.

Loading

0 comments on commit fc86c0f

Please sign in to comment.