Adds a CMake script for the level editor.