source: pacpusframework/trunk/src/RoadTime/CMakeLists.txt@ 23

Last change on this file since 23 was 23, checked in by Marek Kurdej, 12 years ago

Major: using pacpus_add_executable and pacpus_add_library.

File size: 1.3 KB
Line 
1#################################################
2# ___________ ____ ______ __ __ _____ #
3# \____ \__ \ _/ ___\\____ \| | \/ ___/ #
4# | |_> > __ \\ \___| |_> > | /\___ \ #
5# | __(____ /\___ > __/|____//____ > #
6# |__| \/ \/|__| \/ #
7# #
8#################################################
9project(ROAD_TIME)
10
11# ========================================
12# Compiler definitions
13# ========================================
14add_definitions(
15 -DROAD_TIME_EXPORTS
16)
17
18# ========================================
19# Include directories
20# ========================================
21include_directories(
22 ${PACPUS_INCLUDE_DIR}
23)
24
25# ========================================
26# List of sources
27# ========================================
28set(
29 PROJECT_SRCS
30 ./src/road_time.c
31)
32
33# ========================================
34# Build a library
35# ========================================
36pacpus_add_library(
37 ${PROJECT_NAME} SHARED
38 ${PROJECT_SRCS}
39)
40
41# ========================================
42# Install
43# ========================================
44pacpus_install(${PROJECT_NAME})
45
46# ========================================
47# Folder
48# ========================================
49pacpus_folder(${PROJECT_NAME} "libraries")
Note: See TracBrowser for help on using the repository browser.