it's already defined in cmake project rulles.
 warning C4005: '_CRT_SECURE_NO_WARNINGS' : macro redefinition