mirror of
https://github.com/reactos/CMake.git
synced 2024-11-26 13:00:25 +00:00
111 lines
3.2 KiB
Plaintext
111 lines
3.2 KiB
Plaintext
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.")
|