libtins icon indicating copy to clipboard operation
libtins copied to clipboard

prevent unnecessary recompilation

Open lzy1g1225 opened this issue 4 years ago • 1 comments

I found that libtins got recompile everytime which drive me crazy when I switched debug/release mode or when I switched from win32/linux. The reason is the cmake generates config.h for those build types into source folder and got the config.h overwritten, which causing the compiler to recompile the whole project. I suggest to generate config.h in binary directory. That make every config.h stay with there own build type.

lzy1g1225 avatar Jun 30 '20 10:06 lzy1g1225

Looks like the appveyor build check failed because tests and examples didn't update include path for config.h. Will add this later.

lzy1g1225 avatar Jul 01 '20 00:07 lzy1g1225