1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-19 15:09:43 +00:00

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.
This commit is contained in:
fredzio 2020-10-13 09:59:02 +02:00
parent 11c938b176
commit 3cadc16f88

View file

@ -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}