only print cmake compile options for current build version
parent
a1ed2f9866
commit
09d5380514
|
@ -51,11 +51,10 @@ function(print_build_options_for_target target_name_)
|
||||||
# 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})
|
string(TOUPPER "${CMAKE_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()
|
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
Loading…
Reference in New Issue