cmake: how to define target without linking (compilation only) -


is there simple way create target object files aren't linked? need additional target tests if compiles arm. don't want create executable (it not link anyway), because project part of bigger, has own old stable make-based build system.

so need compile sources. tests done other, pc target compiled gcc.

you can use object library.

add_library(dummy object <source files>) 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -