Modify the error value for access denied
[platform/core/api/vpn-service.git] / CMakeLists.txt
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
2 PROJECT("capi-vpn-service-pkg")
3
4 ############################# cmake packages ##################################
5
6 INCLUDE(FindPkgConfig)
7
8 ############################# compiler flags ##################################
9
10 SET(CMAKE_INSTALL_PREFIX /usr)
11 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
12 SET(EXEC_PREFIX ${PREFIX}/bin)
13 SET(LIBDIR ${LIB_INSTALL_DIR})
14 SET(INCLUDEDIR ${PREFIX}/include)
15
16 # If supported for the target machine, emit position-independent code,suitable
17 # for dynamic linking and avoiding any limit on the size of the global offset
18 # table. This option makes a difference on the m68k, PowerPC and SPARC.
19 # (BJ: our ARM too?)
20 ADD_DEFINITIONS("-fPIC")
21
22 # Set compiler warning flags
23
24 # ADD_DEFINITIONS("-Werror")                      # Make all warnings into errors.
25 ADD_DEFINITIONS("-Wall")                        # Generate all warnings
26
27 ADD_SUBDIRECTORY(framework)
28 ADD_SUBDIRECTORY(daemon)
29 ADD_SUBDIRECTORY(test)
30