1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 12:32:36 +00:00

created config.hpp file for appps/openmw

This commit is contained in:
Marc Zinnschlag 2011-07-08 14:39:23 +02:00
parent f07f363a21
commit 27cba6c624
3 changed files with 17 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
build build
*~ *~
Doxygen Doxygen
prebuilt prebuilt
apps/openmw/config.hpp

View File

@ -1,5 +1,9 @@
project(OpenMW) project(OpenMW)
# config file
configure_file ("${OpenMW_SOURCE_DIR}/config.hpp.cmake" "${OpenMW_SOURCE_DIR}/config.hpp")
# local files # local files
set(GAME set(GAME
@ -7,7 +11,8 @@ set(GAME
engine.cpp engine.cpp
) )
set(GAME_HEADER set(GAME_HEADER
engine.hpp) engine.hpp
config.hpp)
source_group(game FILES ${GAME} ${GAME_HEADER}) source_group(game FILES ${GAME} ${GAME_HEADER})
set(GAMEREND set(GAMEREND

View File

@ -0,0 +1,9 @@
#ifndef CONFIG_H
#define CONFIG_H
#define OPENMW_VERSION_MAJOR @OPENMW_VERSION_MAJOR@
#define OPENMW_VERSION_MINOR @OPENMW_VERSION_MINOR@
#define OPENMW_VERSION_PATCH @OPENMW_VERSION_PATCH@
#define OPENMW_VERSION @OPENMW_VERSION@
#endif