Skip to content

Commit

Permalink
create CMake config.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicdk committed Jun 6, 2014
1 parent d4a5316 commit 197386c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 24 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@ acceltcp
*.i*86
*.x86_64
*.hex


## https://raw.githubusercontent.com/github/gitignore/master/CMake.gitignore
CMakeCache.txt
CMakeFiles
Makefile
cmake_install.cmake
install_manifest.txt
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
project(acceltcp)
cmake_minimum_required(VERSION 2.8)
include_directories(~/include /usr/local/include /usr/include)

set(acceltcp_srcs acceltcp.c evsock.c http_handler.c http_parser.c)
add_executable(acceltcp ${acceltcp_srcs})
target_link_libraries(acceltcp ev)
target_link_libraries(acceltcp ssl)
target_link_libraries(acceltcp crypto)
24 changes: 0 additions & 24 deletions Makefile

This file was deleted.

0 comments on commit 197386c

Please sign in to comment.