Convert components to an OBJECT library. It saves space in the object

directory (about 1G on an optimized build on Windows and BSD).
Build should run somewhat fast as well.
pull/593/head
fredzio 4 years ago
parent 11c938b176
commit 3cadc16f88

@ -212,7 +212,7 @@ endif ()
include_directories(${BULLET_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR})
add_library(components STATIC ${COMPONENT_FILES} ${MOC_SRCS} ${ESM_UI_HDR})
add_library(components OBJECT ${COMPONENT_FILES} ${MOC_SRCS} ${ESM_UI_HDR})
target_link_libraries(components
${Boost_SYSTEM_LIBRARY}

Loading…
Cancel
Save