string(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UP) 
add_definitions(-D${PROJECT_NAME_UP}_VERSION="${${PROJECT_NAME}_VERSION}") 
twice