Skip to content

Commit

Permalink
use cmake instead of libtools
Browse files Browse the repository at this point in the history
  • Loading branch information
halayli committed Jul 29, 2012
1 parent 9476dd9 commit 048fb3f
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 1,013 deletions.
13 changes: 13 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
cmake_minimum_required (VERSION 2.6)
project (lthread)
SET(CMAKE_BUILD_TYPE release)
SET (CMAKE_C_FLAGS_RELEASE "-Werror -g -Wall")

set (lthread_files src/lthread.c src/lthread_socket.c
src/lthread_sched.c src/rbtree.c
src/time_utils.c src/poller.c)
add_library(lthread src/lthread_compute.c ${lthread_files})
set_property(SOURCE ${lthread_files} PROPERTY COMPILE_FLAGS "-O2")

install (TARGETS lthread DESTINATION lib)
install (FILES src/lthread.h DESTINATION include)
24 changes: 0 additions & 24 deletions COPYING

This file was deleted.

Empty file removed ChangeLog
Empty file.
Loading

0 comments on commit 048fb3f

Please sign in to comment.