[CMake] How to store function definitions?

jose.passes at gmx.com
Sat Oct 25 08:11:58 EDT 2014


I've defined a small function that helps add unit test definitions in a 
concise manner.  I would like to store this function on a dedicated file 
to decluter the CMakeLists.txt file where that function is currently 
defined.  Can anyone tell me what's the best way to store custom 
function definitions within a project tree?


Thanks,


More information about the CMake mailing list