Line
Link Here
|
0 |
-- install.cmake |
0 |
++ install.cmake |
Lines 2-12
Link Here
|
2 |
############### Prepare the installation of the compiled stuff here! |
2 |
############### Prepare the installation of the compiled stuff here! |
3 |
|
3 |
|
4 |
IF(BUILD_TYPE STREQUAL WIN32) |
4 |
IF(BUILD_TYPE STREQUAL WIN32) |
5 |
SET(SHAREDIR CGenius) |
5 |
SET(SHAREDIR CGenius CACHE PATH "") |
6 |
SET(APPDIR CGenius) |
6 |
SET(APPDIR CGenius CACHE PATH "") |
7 |
ELSE(BUILD_TYPE STREQUAL WIN32) |
7 |
ELSE(BUILD_TYPE STREQUAL WIN32) |
8 |
SET(SHAREDIR share/CommanderGenius) |
8 |
SET(SHAREDIR share/CommanderGenius CACHE PATH "") |
9 |
SET(APPDIR games) |
9 |
SET(APPDIR games CACHE PATH "") |
|
|
10 |
SET(DOCDIR ${SHAREDIR} CACHE PATH "") |
10 |
ENDIF(BUILD_TYPE STREQUAL WIN32) |
11 |
ENDIF(BUILD_TYPE STREQUAL WIN32) |
11 |
|
12 |
|
12 |
# This will install the application itself |
13 |
# This will install the application itself |
Lines 19-29
Link Here
|
19 |
|
20 |
|
20 |
# This will copy the readme file. |
21 |
# This will copy the readme file. |
21 |
INSTALL(FILES readme.txt |
22 |
INSTALL(FILES readme.txt |
22 |
DESTINATION ${SHAREDIR}) |
23 |
DESTINATION ${DOCDIR}) |
23 |
|
24 |
|
24 |
# This will copy the readme file. |
25 |
# This will copy the readme file. |
25 |
INSTALL(FILES changelog.txt |
26 |
INSTALL(FILES changelog.txt |
26 |
DESTINATION ${SHAREDIR}) |
27 |
DESTINATION ${DOCDIR}) |
27 |
|
28 |
|
28 |
# Windows might not have those dlls so we ship them with the packages |
29 |
# Windows might not have those dlls so we ship them with the packages |
29 |
IF(BUILD_TYPE STREQUAL WIN32) |
30 |
IF(BUILD_TYPE STREQUAL WIN32) |