Moved "bigobj" MSVC compile flag to affect testSerializationSLAM
parent
f602049484
commit
3be4be9039
|
@ -24,10 +24,6 @@ if (GTSAM_BUILD_TESTS)
|
|||
gtsam_add_subdir_tests(slam "${slam_local_libs}" "gtsam-static" "${slam_excluded_files}")
|
||||
endif(GTSAM_BUILD_TESTS)
|
||||
|
||||
if(MSVC)
|
||||
add_definitions("/bigobj")
|
||||
endif()
|
||||
|
||||
# Build timing scripts
|
||||
if (GTSAM_BUILD_TIMING)
|
||||
gtsam_add_subdir_timing(slam "${slam_local_libs}" "gtsam-static" "${slam_excluded_files}")
|
||||
|
|
|
@ -25,6 +25,10 @@ set (tests_exclude
|
|||
#"${CMAKE_CURRENT_SOURCE_DIR}/testOccupancyGrid.cpp"
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
add_definitions("/bigobj") # testSerializationSLAM needs this
|
||||
endif()
|
||||
|
||||
# Build tests
|
||||
if (GTSAM_BUILD_TESTS)
|
||||
# Subdirectory target for tests
|
||||
|
|
Loading…
Reference in New Issue