cmake_minimum_required(VERSION 2.8) FILE( WRITE test.c "int main(){ return 0;} " ) include_directories( "a & b" ) add_executable( test test.c )