Don't print private compile options
parent
75e24ef867
commit
f64ced8791
|
@ -46,16 +46,16 @@ endfunction()
|
||||||
# Prints all the relevant CMake build options for a given target:
|
# Prints all the relevant CMake build options for a given target:
|
||||||
function(print_build_options_for_target target_name_)
|
function(print_build_options_for_target target_name_)
|
||||||
print_padded(GTSAM_COMPILE_FEATURES_PUBLIC)
|
print_padded(GTSAM_COMPILE_FEATURES_PUBLIC)
|
||||||
print_padded(GTSAM_COMPILE_OPTIONS_PRIVATE)
|
# print_padded(GTSAM_COMPILE_OPTIONS_PRIVATE)
|
||||||
print_padded(GTSAM_COMPILE_OPTIONS_PUBLIC)
|
print_padded(GTSAM_COMPILE_OPTIONS_PUBLIC)
|
||||||
print_padded(GTSAM_COMPILE_DEFINITIONS_PRIVATE)
|
# print_padded(GTSAM_COMPILE_DEFINITIONS_PRIVATE)
|
||||||
print_padded(GTSAM_COMPILE_DEFINITIONS_PUBLIC)
|
print_padded(GTSAM_COMPILE_DEFINITIONS_PUBLIC)
|
||||||
|
|
||||||
foreach(build_type ${GTSAM_CMAKE_CONFIGURATION_TYPES})
|
foreach(build_type ${GTSAM_CMAKE_CONFIGURATION_TYPES})
|
||||||
string(TOUPPER "${build_type}" build_type_toupper)
|
string(TOUPPER "${build_type}" build_type_toupper)
|
||||||
print_padded(GTSAM_COMPILE_OPTIONS_PRIVATE_${build_type_toupper})
|
# print_padded(GTSAM_COMPILE_OPTIONS_PRIVATE_${build_type_toupper})
|
||||||
print_padded(GTSAM_COMPILE_OPTIONS_PUBLIC_${build_type_toupper})
|
print_padded(GTSAM_COMPILE_OPTIONS_PUBLIC_${build_type_toupper})
|
||||||
print_padded(GTSAM_COMPILE_DEFINITIONS_PRIVATE_${build_type_toupper})
|
# print_padded(GTSAM_COMPILE_DEFINITIONS_PRIVATE_${build_type_toupper})
|
||||||
print_padded(GTSAM_COMPILE_DEFINITIONS_PUBLIC_${build_type_toupper})
|
print_padded(GTSAM_COMPILE_DEFINITIONS_PUBLIC_${build_type_toupper})
|
||||||
endforeach()
|
endforeach()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
Loading…
Reference in New Issue