summaryrefslogtreecommitdiffstats
path: root/Source/TODO
blob: 8d912a480156b84899da97c37d414f521f62bb13 (plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
HP cc is used to link execuables
ld is used to link shared libraries built with c, the rpath is shared
if ld, you have to remove the -Wl,+b and just have a +b


CMAKE_CXX_FLAGS are used to link executables


Variables:

CMAKE_SYSTEM

CMAKE_BUILD_TOOL  borlandmake make nmake msdev devenv
CMAKE_MAKE_PROGRAM  make nmake msdev devenv  *** HAS TO BE IN CACHE for try compile to work
CMAKE_BUILD_TYPE   Debug Release RelWithDebInfo MinSizeRel
BUILD_COMMAND needs to be removed

CMAKE_ANSI_CFLAGS
CMAKE_ANSI_CXXFLAGS
CMAKE_NO_ANSI_STRING_STREAM
CMAKE_NO_STD_NAMESPACE
CMAKE_NO_ANSI_FOR_SCOPE
CMAKE_COMPILER_IS_GNUCXX
CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION


CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELWITHDEBINFO

CMAKE_C_FLAGS
CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELWITHDEBINFO

CMAKE_CXX_LINK_DEBUG_FLAGS
CMAKE_CXX_LINK_RELEASE_FLAGS
CMAKE_CXX_LINK_RELWITHDEBINFO_FLAGS
CMAKE_CXX_LINK_MINSIZEREL_FLAGS

CMAKE_C_LINK_DEBUG_FLAGS
CMAKE_C_LINK_RELEASE_FLAGS
CMAKE_C_LINK_RELWITHDEBINFO_FLAGS
CMAKE_C_LINK_MINSIZEREL_FLAGS


CMAKE_USE_WIN32_THREADS
CMAKE_USE_SPROC
CMAKE_USE_PTHREADS
CMAKE_HP_PTHREADS
CMAKE_THREAD_LIBS
CMAKE_DL_LIBS

CMAKE_X_LIBS
CMAKE_X_CFLAGS
CMAKE_HAS_X

# executable linker flags

SET (CMAKE_EXE_LINKER_FLAGS "/nologo /STACK:10000000 /machine:I386 /INCREMENTAL:YES"
     CACHE STRING "Flags used by the linker.")

SET (CMAKE_EXE_LINKER_FLAGS_DEBUG "/debug /pdbtype:sept" CACHE STRING
     "Flags used by the linker during debug builds.")

SET (CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "" CACHE STRING
     "Flags used by the linker during release minsize builds.")

SET (CMAKE_EXE_LINKER_FLAGS_RELEASE "" CACHE STRING
     "Flags used by the linker during release builds.")

SET (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "/debug /pdbtype:sept" CACHE STRING
     "Flags used by the linker during Release with Debug Info builds.")

# shared linker flags

SET (CMAKE_SHARED_LINKER_FLAGS "/nologo /STACK:10000000 /machine:I386 /INCREMENTAL:YES"
     CACHE STRING "Flags used by the linker.")

SET (CMAKE_SHARED_LINKER_FLAGS_DEBUG "/debug /pdbtype:sept" CACHE STRING
     "Flags used by the linker during debug builds.")

SET (CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL "" CACHE STRING
     "Flags used by the linker during release minsize builds.")

SET (CMAKE_SHARED_LINKER_FLAGS_RELEASE "" CACHE STRING
     "Flags used by the linker during release builds.")

SET (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO "/debug /pdbtype:sept" CACHE STRING
     "Flags used by the linker during Release with Debug Info builds.")


# module linker flags
SET (CMAKE_MODULE_LINKER_FLAGS "/nologo /STACK:10000000 /machine:I386 /INCREMENTAL:YES"
     CACHE STRING "Flags used by the linker.")

SET (CMAKE_MODULE_LINKER_FLAGS_DEBUG "/debug /pdbtype:sept" CACHE STRING
     "Flags used by the linker during debug builds.")

SET (CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL "" CACHE STRING
     "Flags used by the linker during release minsize builds.")

SET (CMAKE_MODULE_LINKER_FLAGS_RELEASE "" CACHE STRING
     "Flags used by the linker during release builds.")

SET (CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO "/debug /pdbtype:sept" CACHE STRING
     "Flags used by the linker during Release with Debug Info builds.")