File tree Expand file tree Collapse file tree
examples/bundle_adjustment_in_the_large Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,10 @@ function(add_matrix_multiplication_benchmark matrix_name)
112112 matrix_multiplication/gen/matrix_multiplication_benchmark_${matrix_name}.cc
113113 )
114114
115+ target_compile_options (matrix_multiplication_benchmark_${matrix_name}
116+ PRIVATE ${SYMFORCE_COMPILE_OPTIONS}
117+ )
118+
115119 target_link_libraries (
116120 matrix_multiplication_benchmark_${matrix_name}
117121 Catch2::Catch2WithMain
@@ -138,6 +142,8 @@ add_executable(
138142 inverse_compose_jacobian/inverse_compose_jacobian_benchmark.cc
139143)
140144
145+ target_compile_options (inverse_compose_jacobian_benchmark PRIVATE ${SYMFORCE_COMPILE_OPTIONS} )
146+
141147find_package (Sophus REQUIRED )
142148target_link_libraries (
143149 inverse_compose_jacobian_benchmark
@@ -159,6 +165,8 @@ add_executable(
159165 robot_3d_localization/robot_3d_localization_benchmark.cc
160166)
161167
168+ target_compile_options (robot_3d_localization_benchmark PRIVATE ${SYMFORCE_COMPILE_OPTIONS} )
169+
162170target_link_libraries (
163171 robot_3d_localization_benchmark
164172 gtsam
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ add_executable(
88 bundle_adjustment_in_the_large.cc
99)
1010
11+ target_compile_options (bundle_adjustment_in_the_large_example PRIVATE ${SYMFORCE_COMPILE_OPTIONS} )
12+
1113target_link_libraries (
1214 bundle_adjustment_in_the_large_example
1315 symforce_gen
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ foreach(SOURCE_FILE ${SYMFORCE_TEST_CC_SOURCES})
5252 set_target_properties (${TARGET_NAME} PROPERTIES OUTPUT_NAME ${BINARY_NAME} )
5353 set_target_properties (${TARGET_NAME} PROPERTIES TEST_NAME ${TEST_NAME} )
5454 set_target_properties (${TARGET_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /bin )
55+ target_compile_options (${TARGET_NAME} PRIVATE ${SYMFORCE_COMPILE_OPTIONS} )
5556 target_link_libraries (
5657 ${TARGET_NAME}
5758 symforce_gen
You can’t perform that action at this time.
0 commit comments