X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=CMakeLists.txt;h=d19e669fec7ad13cbf9bf921ef5499e4fe98acb6;hb=cd46cab54acd39ff8c02b204844f1ce53fd2edbc;hp=ee5c085bb58d4505b031c3e982d2294ec74662db;hpb=9d23e169c127a4e291aa317e0811d42895b6dd3a;p=lugaru.git diff --git a/CMakeLists.txt b/CMakeLists.txt index ee5c085..d19e669 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ if(MINGW) endif(MINGW) if(APPLE) - set(CMAKE_OSX_ARCHITECTURES "i386;ppc" CACHE STRING "Build architectures for OSX") + set(CMAKE_OSX_ARCHITECTURES "i386;x86_64;ppc" CACHE STRING "Build architectures for OSX") set(CMAKE_OSX_DEPLOYMENT_TARGET "10.5" CACHE STRING "Minimum OS X version to target for deployment (at runtime); newer APIs weak linked. Set to empty string for default value") set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk" CACHE PATH @@ -52,6 +52,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") set(LUGARU_SRCS ${SRCDIR}/Frustum.cpp + ${SRCDIR}/Account.cpp ${SRCDIR}/GameDraw.cpp ${SRCDIR}/GameInitDispose.cpp ${SRCDIR}/GameTick.cpp @@ -77,11 +78,14 @@ set(LUGARU_SRCS ${SRCDIR}/OpenGL_Windows.cpp ${SRCDIR}/openal_wrapper.cpp ${SRCDIR}/WinInput.cpp + ${SRCDIR}/Settings.cpp + ${SRCDIR}/Stereo.cpp ) set(LUGARU_H ${SRCDIR}/Constants.h ${SRCDIR}/Frustum.h + ${SRCDIR}/Account.h ${SRCDIR}/Game.h ${SRCDIR}/Lights.h ${SRCDIR}/LinkedList.h @@ -110,6 +114,8 @@ set(LUGARU_H ${SRCDIR}/pack_private.h ${SRCDIR}/private.h ${SRCDIR}/unpack_private.h + ${SRCDIR}/Settings.h + ${SRCDIR}/Stereo.h ) if(UNIX) @@ -191,6 +197,10 @@ if(WIN32) include_directories("${DEPDIR}/OpenGL") endif(WIN32) +if(MSVC) # More Visual Studio annoyances + include_directories("${DEPDIR}/msinttypes") +endif(MSVC) + option (LUGARU_FORCE_INTERNAL_OPENAL "Force internal libOpenAL, even if there's a system version" False) if (NOT LUGARU_FORCE_INTERNAL_OPENAL) find_package(OpenAL REQUIRED)