#!/usr/bin/env cmake -P cmake_minimum_required(VERSION 2.8.7) get_filename_component(CurrentFile ${CMAKE_CURRENT_LIST_FILE} NAME) # The script is invoked as cmake -P