/alps/fastwriter

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/fastwriter

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2011-12-14 17:13:06 UTC
  • Revision ID: csa@dside.dyndns.org-20111214171306-prdeidj7awy1zq6x
Adjust cmake scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
include(CheckIncludeFiles)
10
10
check_include_files("linux/falloc.h" HAVE_LINUX_FALLOC_H)
11
11
 
12
 
set(HEADERS fastwriter.h)
 
12
include_directories(
 
13
    ${CMAKE_SOURCE_DIR}/src 
 
14
    ${CMAKE_CURRENT_BINARY_DIR}
 
15
)
 
16
 
13
17
add_definitions("-fPIC --std=c99 -Wall -O2 -pthread")
14
18
 
 
19
set(HEADERS fastwriter.h sysinfo.h default.h private.h)
15
20
add_library(fastwriter SHARED fastwriter.c sysinfo.c default.c) 
16
21
 
17
22
set_target_properties(fastwriter PROPERTIES