mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
cmake: make BUILD_SHARED_LIBS a visible option
It could only be specified on the commandline, and wouldn't show up as an option in the GUI or when invoked via `cmake -i` at all. This also tells CMake that it's a BOOL, rather than "UNINITIALIZED". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3a14d0f0fd
commit
bb7cd0cf31
@ -94,6 +94,9 @@ else( MSVC )
|
||||
CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
|
||||
endif( MSVC )
|
||||
|
||||
option(BUILD_SHARED_LIBS
|
||||
"Build all libraries as shared libraries instead of static" OFF)
|
||||
|
||||
option(LLVM_ENABLE_CBE_PRINTF_A "Set to ON if CBE is enabled for printf %a output" ON)
|
||||
if(LLVM_ENABLE_CBE_PRINTF_A)
|
||||
set(ENABLE_CBE_PRINTF_A 1)
|
||||
|
Loading…
Reference in New Issue
Block a user