bcm icon indicating copy to clipboard operation
bcm copied to clipboard

COMPILE_ONLY in bcm_test should use object library

Open pfultz2 opened this issue 8 years ago • 0 comments

See this comment from @eldiener:

Why not have the line:

add_library(${PARSE_NAME} STATIC EXCLUDE_FROM_ALL ${SOURCES})

be instead:

add_library(${PARSE_NAME} OBJECT EXCLUDE_FROM_ALL ${SOURCES})

if it works. This would allow just the creation of object files rather than the creation of a static library, which is overkill in this situation.

pfultz2 avatar Sep 07 '17 18:09 pfultz2