-
-
Notifications
You must be signed in to change notification settings - Fork 418
Expand file tree
/
Copy pathLinuxPaths.cmake
More file actions
60 lines (49 loc) · 1.88 KB
/
LinuxPaths.cmake
File metadata and controls
60 lines (49 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Below, the user can specify where all generated file can be placed
# through a set of variables, being them:
#
# PGM_PREFIX -> the root directory where the files will be placed
# PGM_BINDIR -> where executables accessible by the user resides
# PGM_PRIVATEBINDIR -> where executables not directly accessible by the user resides
# PGM_PRIVATELIBDIR -> where libraries not directly shared through the system resides
# PGM_PLUGINSDIR -> where third party plugins are installed
# PGM_SHAREDIR -> where shared files and resources should be placed
# PGM_CONFDIR -> where the pgModeler's configuration folder (conf) resides
# PGM_DOCDIR -> where documentation related files are placed
# PGM_LANGDIR -> where the UI translation folder (lang) resides
# PGM_SAMPLESDIR -> where the sample models folder (samples) resides
# PGM_SCHEMASDIR -> where the object's schemas folder (schema) resides
# Default configuration for package pgModeler.
# The default prefix is /usr/local
if(NOT DEFINED PGM_PREFIX)
set(PGM_PREFIX /usr/local)
endif()
if(NOT DEFINED PGM_BINDIR)
set(PGM_BINDIR ${PGM_PREFIX}/bin)
endif()
if(NOT DEFINED PGM_PRIVATEBINDIR)
set(PGM_PRIVATEBINDIR ${PGM_PREFIX}/bin)
endif()
if(NOT DEFINED PGM_PRIVATELIBDIR)
set(PGM_PRIVATELIBDIR ${PGM_PREFIX}/lib/pgmodeler)
endif()
if(NOT DEFINED PGM_PLUGINSDIR)
set(PGM_PLUGINSDIR ${PGM_PREFIX}/lib/pgmodeler/plugins)
endif()
if(NOT DEFINED PGM_SHAREDIR)
set(PGM_SHAREDIR ${PGM_PREFIX}/share/pgmodeler)
endif()
if(NOT DEFINED PGM_CONFDIR)
set(PGM_CONFDIR ${PGM_PREFIX}/conf)
endif()
if(NOT DEFINED PGM_DOCDIR)
set(PGM_DOCDIR ${PGM_SHAREDIR})
endif()
if(NOT DEFINED PGM_LANGDIR)
set(PGM_LANGDIR ${PGM_PREFIX}/lang)
endif()
if(NOT DEFINED PGM_SAMPLESDIR)
set(PGM_SAMPLESDIR ${PGM_PREFIX}/samples)
endif()
if(NOT DEFINED PGM_SCHEMASDIR)
set(PGM_SCHEMASDIR ${PGM_PREFIX}/schemas)
endif()