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:
parent
f07f363a21
commit
27cba6c624
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
build
|
build
|
||||||
*~
|
*~
|
||||||
Doxygen
|
Doxygen
|
||||||
prebuilt
|
prebuilt
|
||||||
|
apps/openmw/config.hpp
|
||||||
|
@ -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
|
||||||
|
9
apps/openmw/config.hpp.cmake
Normal file
9
apps/openmw/config.hpp.cmake
Normal 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
|
Loading…
x
Reference in New Issue
Block a user