Re: [CMake] add_compile_options query

2016-08-15 Thread Alexander Biddulph
gcc: error: unrecognized command line option ‘--param l2-cache-size=512’ If I only specify one of the flags (with no single/double quotes) gcc accepts the flag. Thanks, Alex From: CHEVRIER, Marc <marc.chevr...@sap.com> Sent: Friday, 12 August

Re: [CMake] add_compile_options query

2016-08-12 Thread CHEVRIER, Marc
Specify flags as strings rather than lists (i.e. add quotes): add_compile_options("--param l1-cache-size=24") add_compile_options("--param l1-cache-line-size=64") add_compile_options("--param l2-cache-size=512") On 12/08/16 11:08, "CMake on behalf of Alex Biddulph"