Add extract-cmake definition
Add compile definition