source:
pacpusframework/trunk/src/RoadTime/CMakeLists.txt@
12
Last change on this file since 12 was 3, checked in by , 12 years ago | |
---|---|
File size: 1.5 KB |
Line | |
---|---|
1 | ################################################# |
2 | # ___________ ____ ______ __ __ _____ # |
3 | # \____ \__ \ _/ ___\\____ \| | \/ ___/ # |
4 | # | |_> > __ \\ \___| |_> > | /\___ \ # |
5 | # | __(____ /\___ > __/|____//____ > # |
6 | # |__| \/ \/|__| \/ # |
7 | # # |
8 | ################################################# |
9 | project(ROAD_TIME) |
10 | |
11 | # ======================================== |
12 | # Compiler definitions |
13 | # ======================================== |
14 | add_definitions( |
15 | -DROAD_TIME_EXPORTS |
16 | ) |
17 | |
18 | # ======================================== |
19 | # Include directories |
20 | # ======================================== |
21 | include_directories( |
22 | ${PACPUS_INCLUDE_DIR} |
23 | ) |
24 | |
25 | # ======================================== |
26 | # List of sources |
27 | # ======================================== |
28 | set( |
29 | PROJECT_SRCS |
30 | ./src/road_time.c |
31 | ) |
32 | |
33 | # ======================================== |
34 | # Build a library |
35 | # ======================================== |
36 | add_library( |
37 | ${PROJECT_NAME} SHARED |
38 | ${PROJECT_SRCS} |
39 | ) |
40 | |
41 | # ======================================== |
42 | # Properties |
43 | # ======================================== |
44 | set_target_properties( |
45 | ${PROJECT_NAME} |
46 | PROPERTIES DEBUG_POSTFIX "_d" |
47 | ) |
48 | |
49 | # ======================================== |
50 | # Install directories |
51 | # ======================================== |
52 | install( |
53 | TARGETS ${PROJECT_NAME} |
54 | RUNTIME DESTINATION ${PACPUS_INSTALL_DIR}/bin |
55 | LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/lib |
56 | ARCHIVE DESTINATION ${PACPUS_INSTALL_DIR}/lib |
57 | ) |
Note:
See TracBrowser
for help on using the repository browser.