Compiler Option - different option per code file
Posted: Mon May 01, 2017 6:08 pm
Using: Codelite version 10.0.0 : not self compiled : Windows 7 : gcc 5.1.0
I am new to codelite, I am working on a simple test project that creates a .dll and an .exe that uses the .dll.
Two files: add.c and addtest.c, The first file is compiled as .dll the second as .exe
I would like to setting different compiler options for each .c file.
I found how to set the option at the project level but not a way to set option at the file level.
I guess one way is to set the project option for the .dll once that's done change projects/options and compile .exe
Thanks,
doublec
I am new to codelite, I am working on a simple test project that creates a .dll and an .exe that uses the .dll.
Two files: add.c and addtest.c, The first file is compiled as .dll the second as .exe
I would like to setting different compiler options for each .c file.
I found how to set the option at the project level but not a way to set option at the file level.
I guess one way is to set the project option for the .dll once that's done change projects/options and compile .exe
Thanks,
doublec