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

Last change on this file since 54 was 28, checked in by sgosseli, 12 years ago

Major: to avoid names collision with other libraries, we should include 'Pacpus/kernel/file.h' instead of 'kernel/file.h'
To work-around this patch, if you use old stuff, you can add in your cmake: include_directories(${PACPUS_INCLUDE_DIR}/Pacpus)

File size: 1.1 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# List of sources
20# ========================================
21set(
22 PROJECT_SRCS
23 ./src/road_time.c
24)
25
26# ========================================
27# Build a library
28# ========================================
29pacpus_add_library(
30 ${PROJECT_NAME} SHARED
31 ${PROJECT_SRCS}
32)
33
34# ========================================
35# Install
36# ========================================
37pacpus_install(${PROJECT_NAME})
38
39# ========================================
40# Folder
41# ========================================
42pacpus_folder(${PROJECT_NAME} "libraries")
Note: See TracBrowser for help on using the repository browser.