created config.hpp file for appps/openmw

pull/21/head
Marc Zinnschlag 13 years ago
parent f07f363a21
commit 27cba6c624

3
.gitignore vendored

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

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

@ -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
Loading…
Cancel
Save