1 2 3 4 5 6 7 8 9 10
#ifndef CONFIG_H #define CONFIG_H #define PROGRAM_NAME "${CMAKE_PROJECT_NAME}" #define PROGRAM_VERSION "${project_VERSION}" #cmakedefine WITH_LUA #define PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/${plugin_dir}" #endif // ! CONFIG_H