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
Post a Comment