mirror of https://github.com/OpenRCT2/OpenRCT2.git
cmake build
This commit is contained in:
parent
04a2d27c9a
commit
3a4c4938a9
|
@ -24,11 +24,14 @@ set (ORCT2_RESOURCE_DIR ${CMAKE_INSTALL_PREFIX}/share/${PROJECT}/)
|
||||||
project(${PROJECT})
|
project(${PROJECT})
|
||||||
|
|
||||||
add_definitions(-DORCT2_RESOURCE_DIR="${ORCT2_RESOURCE_DIR}")
|
add_definitions(-DORCT2_RESOURCE_DIR="${ORCT2_RESOURCE_DIR}")
|
||||||
|
add_definitions(-DHAVE_CONFIG_H)
|
||||||
|
|
||||||
# include lodepng header
|
# include lodepng header
|
||||||
include_directories("lodepng/")
|
include_directories("lodepng/")
|
||||||
|
# include speex header
|
||||||
|
include_directories("libspeex/")
|
||||||
# add source files
|
# add source files
|
||||||
file(GLOB_RECURSE ORCT2_SOURCES "src/*.c" "lodepng/*.c")
|
file(GLOB_RECURSE ORCT2_SOURCES "src/*.c" "src/*.cpp" "libspeex/*.c" "lodepng/*.c")
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
# force 32bit build for now and set necessary flags to compile code as is
|
# force 32bit build for now and set necessary flags to compile code as is
|
||||||
|
|
Loading…
Reference in New Issue