2013-03-12 21:31:09 -04:00
|
|
|
# CMakeLists.txt for Irrlicht in STK
|
|
|
|
|
2014-02-21 14:09:10 -05:00
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include/"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/jpeglib"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/libpng"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/zlib"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/bzip2")
|
2013-03-12 21:31:09 -04:00
|
|
|
|
2013-03-13 00:03:26 -04:00
|
|
|
if(APPLE)
|
2014-02-21 14:09:10 -05:00
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/MacOSX" "${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht")
|
2013-03-14 19:10:20 -04:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -arch i386")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch i386 -F/Library/Frameworks")
|
2013-03-13 00:03:26 -04:00
|
|
|
endif()
|
|
|
|
|
2013-07-25 03:19:30 -04:00
|
|
|
add_definitions(-DNDEBUG=1 -DIRRLICHT_EXPORTS=1 -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES)
|
|
|
|
if(MSVC)
|
|
|
|
add_definitions(/D_IRR_STATIC_LIB_)
|
2013-11-14 17:29:12 -05:00
|
|
|
add_definitions(/D_CRT_SECURE_NO_WARNINGS) # Shut up about unsafe stuff
|
2014-09-03 08:05:34 -04:00
|
|
|
elseif(MINGW)
|
|
|
|
add_definitions(-D_IRR_STATIC_LIB_)
|
|
|
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS) # Shut up about unsafe stuff
|
2013-07-25 03:19:30 -04:00
|
|
|
else()
|
2013-12-30 20:03:46 -05:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall -pipe -O3 -fno-exceptions -fstrict-aliasing -fexpensive-optimizations -I/usr/X11R6/include")
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pipe -O3 -fno-exceptions -fstrict-aliasing -fexpensive-optimizations -I/usr/X11R6/include")
|
2013-07-25 03:19:30 -04:00
|
|
|
endif()
|
2013-03-12 21:31:09 -04:00
|
|
|
|
2014-05-12 14:06:44 -04:00
|
|
|
# Xrandr
|
|
|
|
if(UNIX AND USE_XRANDR)
|
|
|
|
add_definitions(-DNO_IRR_LINUX_X11_VIDMODE_)
|
|
|
|
add_definitions(-D_IRR_LINUX_X11_RANDR_)
|
|
|
|
endif()
|
|
|
|
|
2013-03-13 00:03:26 -04:00
|
|
|
set(IRRLICHT_SOURCES
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUIListBox.cpp
|
|
|
|
source/Irrlicht/CZBuffer.cpp
|
|
|
|
source/Irrlicht/CGUIModalScreen.cpp
|
|
|
|
source/Irrlicht/CParticleCylinderEmitter.cpp
|
|
|
|
source/Irrlicht/CLimitReadFile.cpp
|
|
|
|
source/Irrlicht/CVideoModeList.cpp
|
|
|
|
source/Irrlicht/CDefaultGUIElementFactory.cpp
|
|
|
|
source/Irrlicht/CCubeSceneNode.cpp
|
|
|
|
source/Irrlicht/CGUIMeshViewer.cpp
|
|
|
|
source/Irrlicht/CParticleSphereEmitter.cpp
|
|
|
|
source/Irrlicht/CParticleAnimatedMeshSceneNodeEmitter.cpp
|
|
|
|
source/Irrlicht/CGUITabControl.cpp
|
|
|
|
source/Irrlicht/CGUIToolBar.cpp
|
|
|
|
source/Irrlicht/CTerrainTriangleSelector.cpp
|
|
|
|
source/Irrlicht/CFileSystem.cpp
|
|
|
|
source/Irrlicht/CTerrainSceneNode.cpp
|
|
|
|
source/Irrlicht/os.cpp
|
|
|
|
source/Irrlicht/CFPSCounter.cpp
|
|
|
|
source/Irrlicht/CGUIContextMenu.cpp
|
|
|
|
source/Irrlicht/CImageWriterJPG.cpp
|
|
|
|
source/Irrlicht/CZipReader.cpp
|
|
|
|
source/Irrlicht/CImageLoaderPNG.cpp
|
|
|
|
source/Irrlicht/CImageLoaderBMP.cpp
|
|
|
|
source/Irrlicht/CVolumeLightSceneNode.cpp
|
|
|
|
source/Irrlicht/CDefaultSceneNodeAnimatorFactory.cpp
|
|
|
|
source/Irrlicht/CSkyDomeSceneNode.cpp
|
|
|
|
source/Irrlicht/CGUIFileOpenDialog.cpp
|
|
|
|
source/Irrlicht/CGUISpriteBank.cpp
|
|
|
|
source/Irrlicht/CParticleFadeOutAffector.cpp
|
|
|
|
source/Irrlicht/CGUIMenu.cpp
|
|
|
|
source/Irrlicht/CImageWriterPSD.cpp
|
|
|
|
source/Irrlicht/CSphereSceneNode.cpp
|
|
|
|
source/Irrlicht/CImageWriterTGA.cpp
|
|
|
|
source/Irrlicht/CImageWriterPNG.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorFollowSpline.cpp
|
|
|
|
source/Irrlicht/CGUIMessageBox.cpp
|
|
|
|
source/Irrlicht/CParticleGravityAffector.cpp
|
|
|
|
source/Irrlicht/CGUISkin.cpp
|
|
|
|
source/Irrlicht/CBoneSceneNode.cpp
|
|
|
|
source/Irrlicht/CNPKReader.cpp
|
|
|
|
source/Irrlicht/COpenGLSLMaterialRenderer.cpp
|
|
|
|
source/Irrlicht/CParticleRotationAffector.cpp
|
|
|
|
source/Irrlicht/CDepthBuffer.cpp
|
|
|
|
source/Irrlicht/CImageLoaderPSD.cpp
|
|
|
|
source/Irrlicht/CTriangleBBSelector.cpp
|
|
|
|
source/Irrlicht/CGUIComboBox.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorTexture.cpp
|
|
|
|
source/Irrlicht/COpenGLTexture.cpp
|
|
|
|
source/Irrlicht/COctreeSceneNode.cpp
|
|
|
|
source/Irrlicht/CWaterSurfaceSceneNode.cpp
|
|
|
|
source/Irrlicht/CQuake3ShaderSceneNode.cpp
|
|
|
|
source/Irrlicht/CWADReader.cpp
|
|
|
|
source/Irrlicht/CParticleAttractionAffector.cpp
|
|
|
|
source/Irrlicht/CMeshSceneNode.cpp
|
|
|
|
source/Irrlicht/CGUIScrollBar.cpp
|
|
|
|
source/Irrlicht/CAttributes.cpp
|
|
|
|
source/Irrlicht/CGUIStaticText.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCollisionResponse.cpp
|
|
|
|
source/Irrlicht/CGUIFont.cpp
|
|
|
|
source/Irrlicht/CTriangleSelector.cpp
|
|
|
|
source/Irrlicht/CParticlePointEmitter.cpp
|
|
|
|
source/Irrlicht/CTextSceneNode.cpp
|
|
|
|
source/Irrlicht/COpenGLCgMaterialRenderer.cpp
|
|
|
|
source/Irrlicht/CIrrDeviceLinux.cpp
|
|
|
|
source/Irrlicht/CIrrDeviceStub.cpp
|
|
|
|
source/Irrlicht/CQ3LevelMesh.cpp
|
|
|
|
source/Irrlicht/CImageWriterPCX.cpp
|
|
|
|
source/Irrlicht/CGUIInOutFader.cpp
|
|
|
|
source/Irrlicht/CGUITreeView.cpp
|
|
|
|
source/Irrlicht/CAnimatedMeshSceneNode.cpp
|
|
|
|
source/Irrlicht/CGUICheckBox.cpp
|
|
|
|
source/Irrlicht/CGUIWindow.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCameraMaya.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorFlyCircle.cpp
|
|
|
|
source/Irrlicht/CColorConverter.cpp
|
|
|
|
source/Irrlicht/CMeshCache.cpp
|
|
|
|
source/Irrlicht/CIrrDeviceFB.cpp
|
|
|
|
source/Irrlicht/CMemoryFile.cpp
|
|
|
|
source/Irrlicht/CImageWriterPPM.cpp
|
|
|
|
source/Irrlicht/CMountPointReader.cpp
|
|
|
|
source/Irrlicht/CBillboardSceneNode.cpp
|
|
|
|
source/Irrlicht/CGUIImageList.cpp
|
|
|
|
source/Irrlicht/CSceneCollisionManager.cpp
|
|
|
|
source/Irrlicht/CIrrDeviceWin32.cpp
|
|
|
|
source/Irrlicht/CSceneLoaderIrr.cpp
|
|
|
|
source/Irrlicht/CEmptySceneNode.cpp
|
|
|
|
source/Irrlicht/CParticleBoxEmitter.cpp
|
|
|
|
source/Irrlicht/CParticleSystemSceneNode.cpp
|
|
|
|
source/Irrlicht/CIrrDeviceConsole.cpp
|
|
|
|
source/Irrlicht/CPakReader.cpp
|
|
|
|
source/Irrlicht/CImage.cpp
|
|
|
|
source/Irrlicht/CTarReader.cpp
|
|
|
|
source/Irrlicht/CGUIButton.cpp
|
|
|
|
source/Irrlicht/COpenGLParallaxMapRenderer.cpp
|
|
|
|
source/Irrlicht/CGUIEditBox.cpp
|
|
|
|
source/Irrlicht/CLogger.cpp
|
|
|
|
source/Irrlicht/CMeshManipulator.cpp
|
|
|
|
source/Irrlicht/CLightSceneNode.cpp
|
|
|
|
source/Irrlicht/CImageLoaderDDS.cpp
|
|
|
|
source/Irrlicht/CSkyBoxSceneNode.cpp
|
|
|
|
source/Irrlicht/CWriteFile.cpp
|
|
|
|
source/Irrlicht/COctreeTriangleSelector.cpp
|
|
|
|
source/Irrlicht/CFileList.cpp
|
|
|
|
source/Irrlicht/CImageLoaderPCX.cpp
|
|
|
|
source/Irrlicht/CIrrDeviceSDL.cpp
|
|
|
|
source/Irrlicht/COSOperator.cpp
|
|
|
|
source/Irrlicht/CImageLoaderJPG.cpp
|
|
|
|
source/Irrlicht/COpenGLExtensionHandler.cpp
|
|
|
|
source/Irrlicht/CImageLoaderWAL.cpp
|
|
|
|
source/Irrlicht/CXMLWriter.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCameraFPS.cpp
|
|
|
|
source/Irrlicht/CImageLoaderPPM.cpp
|
|
|
|
source/Irrlicht/CGUIColorSelectDialog.cpp
|
|
|
|
source/Irrlicht/CSceneManager.cpp
|
|
|
|
source/Irrlicht/Irrlicht.cpp
|
|
|
|
source/Irrlicht/COpenGLShaderMaterialRenderer.cpp
|
|
|
|
source/Irrlicht/CImageLoaderTGA.cpp
|
|
|
|
source/Irrlicht/COpenGLDriver.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorFlyStraight.cpp
|
|
|
|
source/Irrlicht/irrXML.cpp
|
|
|
|
source/Irrlicht/CImageLoaderRGB.cpp
|
|
|
|
source/Irrlicht/CSkinnedMesh.cpp
|
|
|
|
source/Irrlicht/CXMLReader.cpp
|
|
|
|
source/Irrlicht/CDummyTransformationSceneNode.cpp
|
|
|
|
source/Irrlicht/CGUITable.cpp
|
|
|
|
source/Irrlicht/CB3DMeshFileLoader.cpp
|
|
|
|
source/Irrlicht/CGeometryCreator.cpp
|
|
|
|
source/Irrlicht/CNullDriver.cpp
|
|
|
|
source/Irrlicht/CCameraSceneNode.cpp
|
|
|
|
source/Irrlicht/CGUISpinBox.cpp
|
|
|
|
source/Irrlicht/CReadFile.cpp
|
|
|
|
source/Irrlicht/CParticleRingEmitter.cpp
|
|
|
|
source/Irrlicht/CMetaTriangleSelector.cpp
|
|
|
|
source/Irrlicht/CShadowVolumeSceneNode.cpp
|
|
|
|
source/Irrlicht/CDefaultSceneNodeFactory.cpp
|
|
|
|
source/Irrlicht/CGUIImage.cpp
|
|
|
|
source/Irrlicht/CGUIEnvironment.cpp
|
|
|
|
source/Irrlicht/CParticleScaleAffector.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorDelete.cpp
|
|
|
|
source/Irrlicht/CImageWriterBMP.cpp
|
|
|
|
source/Irrlicht/CParticleMeshEmitter.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorRotation.cpp
|
|
|
|
source/Irrlicht/COpenGLNormalMapRenderer.cpp
|
|
|
|
source/Irrlicht/glext.h
|
|
|
|
source/Irrlicht/CB3DMeshFileLoader.h
|
|
|
|
source/Irrlicht/CIrrDeviceLinux.h
|
|
|
|
source/Irrlicht/CMeshCache.h
|
|
|
|
source/Irrlicht/CAttributes.h
|
|
|
|
source/Irrlicht/CParticleMeshEmitter.h
|
|
|
|
source/Irrlicht/CImageWriterPPM.h
|
|
|
|
source/Irrlicht/CParticlePointEmitter.h
|
|
|
|
source/Irrlicht/CParticleRotationAffector.h
|
|
|
|
source/Irrlicht/CMountPointReader.h
|
|
|
|
source/Irrlicht/CIrrDeviceConsole.h
|
|
|
|
source/Irrlicht/CTerrainSceneNode.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCollisionResponse.h
|
|
|
|
source/Irrlicht/CImageLoaderWAL.h
|
|
|
|
source/Irrlicht/CSceneLoaderIrr.h
|
|
|
|
source/Irrlicht/CImageLoaderBMP.h
|
|
|
|
source/Irrlicht/CSkinnedMesh.h
|
|
|
|
source/Irrlicht/COpenGLParallaxMapRenderer.h
|
|
|
|
source/Irrlicht/CParticleRingEmitter.h
|
|
|
|
source/Irrlicht/COpenGLShaderMaterialRenderer.h
|
|
|
|
source/Irrlicht/CImageWriterTGA.h
|
|
|
|
source/Irrlicht/CImageLoaderPNG.h
|
|
|
|
source/Irrlicht/COctreeTriangleSelector.h
|
|
|
|
source/Irrlicht/COpenGLTexture.h
|
|
|
|
source/Irrlicht/Octree.h
|
|
|
|
source/Irrlicht/os.h
|
|
|
|
source/Irrlicht/CDefaultGUIElementFactory.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorFlyCircle.h
|
|
|
|
source/Irrlicht/CTriangleBBSelector.h
|
|
|
|
source/Irrlicht/S2DVertex.h
|
|
|
|
source/Irrlicht/CDefaultSceneNodeAnimatorFactory.h
|
|
|
|
source/Irrlicht/CGUIMessageBox.h
|
|
|
|
source/Irrlicht/CBoneSceneNode.h
|
|
|
|
source/Irrlicht/CGUITable.h
|
|
|
|
source/Irrlicht/CGUIColorSelectDialog.h
|
|
|
|
source/Irrlicht/CCubeSceneNode.h
|
|
|
|
source/Irrlicht/resource.h
|
|
|
|
source/Irrlicht/COpenGLNormalMapRenderer.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCameraMaya.h
|
|
|
|
source/Irrlicht/SoftwareDriver2_helper.h
|
|
|
|
source/Irrlicht/CGUIWindow.h
|
|
|
|
source/Irrlicht/dmfsupport.h
|
|
|
|
source/Irrlicht/CGUICheckBox.h
|
|
|
|
source/Irrlicht/CMeshManipulator.h
|
|
|
|
source/Irrlicht/IImagePresenter.h
|
|
|
|
source/Irrlicht/CGUIMeshViewer.h
|
|
|
|
source/Irrlicht/CMeshSceneNode.h
|
|
|
|
source/Irrlicht/CGUIImage.h
|
|
|
|
source/Irrlicht/CCameraSceneNode.h
|
|
|
|
source/Irrlicht/IZBuffer.h
|
|
|
|
source/Irrlicht/CAnimatedMeshSceneNode.h
|
|
|
|
source/Irrlicht/CGUIStaticText.h
|
|
|
|
source/Irrlicht/wglext.h
|
|
|
|
source/Irrlicht/CTimer.h
|
|
|
|
source/Irrlicht/CWADReader.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCameraFPS.h
|
|
|
|
source/Irrlicht/CParticleFadeOutAffector.h
|
|
|
|
source/Irrlicht/COpenGLSLMaterialRenderer.h
|
|
|
|
source/Irrlicht/CParticleAttractionAffector.h
|
|
|
|
source/Irrlicht/MacOSX/AppDelegate.h
|
|
|
|
source/Irrlicht/MacOSX/CIrrDeviceMacOSX.h
|
|
|
|
source/Irrlicht/MacOSX/OSXClipboard.h
|
|
|
|
source/Irrlicht/CSceneManager.h
|
|
|
|
source/Irrlicht/CImageLoaderPSD.h
|
|
|
|
source/Irrlicht/COpenGLDriver.h
|
|
|
|
source/Irrlicht/CGUIComboBox.h
|
|
|
|
source/Irrlicht/CVolumeLightSceneNode.h
|
|
|
|
source/Irrlicht/CSceneCollisionManager.h
|
|
|
|
source/Irrlicht/ISceneNodeAnimatorFinishing.h
|
|
|
|
source/Irrlicht/aesGladman/pwd2key.h
|
|
|
|
source/Irrlicht/aesGladman/sha2.h
|
|
|
|
source/Irrlicht/aesGladman/hmac.h
|
|
|
|
source/Irrlicht/aesGladman/fileenc.h
|
|
|
|
source/Irrlicht/aesGladman/aes.h
|
|
|
|
source/Irrlicht/aesGladman/sha1.h
|
|
|
|
source/Irrlicht/aesGladman/prng.h
|
|
|
|
source/Irrlicht/aesGladman/aesopt.h
|
|
|
|
source/Irrlicht/CGUITabControl.h
|
|
|
|
source/Irrlicht/CSphereSceneNode.h
|
|
|
|
source/Irrlicht/CIrrDeviceStub.h
|
|
|
|
source/Irrlicht/CDummyTransformationSceneNode.h
|
|
|
|
source/Irrlicht/CParticleBoxEmitter.h
|
|
|
|
source/Irrlicht/CShadowVolumeSceneNode.h
|
|
|
|
source/Irrlicht/COctreeSceneNode.h
|
|
|
|
source/Irrlicht/CReadFile.h
|
|
|
|
source/Irrlicht/CImageLoaderDDS.h
|
|
|
|
source/Irrlicht/COSOperator.h
|
|
|
|
source/Irrlicht/CLightSceneNode.h
|
|
|
|
source/Irrlicht/CParticleSphereEmitter.h
|
|
|
|
source/Irrlicht/CZBuffer.h
|
|
|
|
source/Irrlicht/CImage.h
|
|
|
|
source/Irrlicht/CIrrDeviceWin32.h
|
|
|
|
source/Irrlicht/CGUIEditBox.h
|
|
|
|
source/Irrlicht/CGUISpriteBank.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorFlyStraight.h
|
|
|
|
source/Irrlicht/COpenGLExtensionHandler.h
|
|
|
|
source/Irrlicht/CImageWriterPSD.h
|
|
|
|
source/Irrlicht/CGUIScrollBar.h
|
|
|
|
source/Irrlicht/CImageLoaderPCX.h
|
|
|
|
source/Irrlicht/CTriangleSelector.h
|
|
|
|
source/Irrlicht/CParticleGravityAffector.h
|
|
|
|
source/Irrlicht/CGUIModalScreen.h
|
|
|
|
source/Irrlicht/CDefaultSceneNodeFactory.h
|
|
|
|
source/Irrlicht/CImageLoaderPPM.h
|
|
|
|
source/Irrlicht/CXMLReaderImpl.h
|
|
|
|
source/Irrlicht/COpenGLMaterialRenderer.h
|
|
|
|
source/Irrlicht/CVideoModeList.h
|
|
|
|
source/Irrlicht/CParticleAnimatedMeshSceneNodeEmitter.h
|
|
|
|
source/Irrlicht/CImageLoaderTGA.h
|
|
|
|
source/Irrlicht/CColorConverter.h
|
|
|
|
source/Irrlicht/CWaterSurfaceSceneNode.h
|
|
|
|
source/Irrlicht/SoftwareDriver2_compile_config.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorTexture.h
|
|
|
|
source/Irrlicht/CXMLReader.h
|
|
|
|
source/Irrlicht/CEmptySceneNode.h
|
|
|
|
source/Irrlicht/CParticleSystemSceneNode.h
|
|
|
|
source/Irrlicht/CImageWriterPNG.h
|
|
|
|
source/Irrlicht/CParticleScaleAffector.h
|
|
|
|
source/Irrlicht/CImageWriterPCX.h
|
|
|
|
source/Irrlicht/CImageLoaderJPG.h
|
|
|
|
source/Irrlicht/CBillboardSceneNode.h
|
|
|
|
source/Irrlicht/CIrrDeviceSDL.h
|
|
|
|
source/Irrlicht/CSkyDomeSceneNode.h
|
|
|
|
source/Irrlicht/CDepthBuffer.h
|
|
|
|
source/Irrlicht/CGUIInOutFader.h
|
|
|
|
source/Irrlicht/CGUIFont.h
|
|
|
|
source/Irrlicht/CGUIImageList.h
|
|
|
|
source/Irrlicht/CFileSystem.h
|
|
|
|
source/Irrlicht/CQ3LevelMesh.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorRotation.h
|
|
|
|
source/Irrlicht/CGUISkin.h
|
|
|
|
source/Irrlicht/CNPKReader.h
|
|
|
|
source/Irrlicht/IDepthBuffer.h
|
|
|
|
source/Irrlicht/S4DVertex.h
|
|
|
|
source/Irrlicht/CGUIMenu.h
|
|
|
|
source/Irrlicht/CBlit.h
|
|
|
|
source/Irrlicht/CZipReader.h
|
|
|
|
source/Irrlicht/CGUIToolBar.h
|
|
|
|
source/Irrlicht/CImageWriterJPG.h
|
|
|
|
source/Irrlicht/IAttribute.h
|
|
|
|
source/Irrlicht/CNullDriver.h
|
|
|
|
source/Irrlicht/CImageLoaderRGB.h
|
|
|
|
source/Irrlicht/CWriteFile.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorFollowSpline.h
|
|
|
|
source/Irrlicht/CQuake3ShaderSceneNode.h
|
|
|
|
source/Irrlicht/glxext.h
|
|
|
|
source/Irrlicht/CMetaTriangleSelector.h
|
|
|
|
source/Irrlicht/CTarReader.h
|
|
|
|
source/Irrlicht/CXMLWriter.h
|
|
|
|
source/Irrlicht/CParticleCylinderEmitter.h
|
|
|
|
source/Irrlicht/ITriangleRenderer.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorDelete.h
|
|
|
|
source/Irrlicht/CIrrDeviceFB.h
|
|
|
|
source/Irrlicht/CGUIEnvironment.h
|
|
|
|
source/Irrlicht/CTerrainTriangleSelector.h
|
|
|
|
source/Irrlicht/CAttributeImpl.h
|
|
|
|
source/Irrlicht/CGeometryCreator.h
|
|
|
|
source/Irrlicht/CSkyBoxSceneNode.h
|
|
|
|
source/Irrlicht/CImageWriterBMP.h
|
|
|
|
source/Irrlicht/BuiltInFont.h
|
|
|
|
source/Irrlicht/CMemoryFile.h
|
|
|
|
source/Irrlicht/CFPSCounter.h
|
|
|
|
source/Irrlicht/CGUITreeView.h
|
|
|
|
source/Irrlicht/CGUIContextMenu.h
|
|
|
|
source/Irrlicht/CFileList.h
|
|
|
|
source/Irrlicht/CPakReader.h
|
|
|
|
source/Irrlicht/CLimitReadFile.h
|
|
|
|
source/Irrlicht/COpenGLCgMaterialRenderer.h
|
|
|
|
source/Irrlicht/CGUISpinBox.h
|
|
|
|
source/Irrlicht/CGUIButton.h
|
|
|
|
source/Irrlicht/CGUIListBox.h
|
|
|
|
source/Irrlicht/CGUIFileOpenDialog.h
|
|
|
|
source/Irrlicht/CTextSceneNode.h
|
|
|
|
|
|
|
|
include/ESceneNodeAnimatorTypes.h
|
|
|
|
include/IParticleGravityAffector.h
|
|
|
|
include/IGUIFontBitmap.h
|
|
|
|
include/IEventReceiver.h
|
|
|
|
include/EMessageBoxFlags.h
|
|
|
|
include/IParticleSphereEmitter.h
|
|
|
|
include/IParticleFadeOutAffector.h
|
|
|
|
include/IGeometryCreator.h
|
|
|
|
include/IVolumeLightSceneNode.h
|
|
|
|
include/IGUIEnvironment.h
|
|
|
|
include/irrunpack.h
|
|
|
|
include/IParticleRingEmitter.h
|
|
|
|
include/IGUIElement.h
|
|
|
|
include/IMaterialRenderer.h
|
|
|
|
include/SVertexIndex.h
|
|
|
|
include/SMaterialLayer.h
|
|
|
|
include/irrMap.h
|
|
|
|
include/EMaterialTypes.h
|
|
|
|
include/IAnimatedMeshSceneNode.h
|
|
|
|
include/IParticleCylinderEmitter.h
|
|
|
|
include/IAttributeExchangingObject.h
|
|
|
|
include/IVertexBuffer.h
|
|
|
|
include/ISkinnedMesh.h
|
|
|
|
include/irrList.h
|
|
|
|
include/SAnimatedMesh.h
|
|
|
|
include/IGUITreeView.h
|
|
|
|
include/IGUIFont.h
|
|
|
|
include/IGUIElementFactory.h
|
|
|
|
include/IParticleSystemSceneNode.h
|
|
|
|
include/ITerrainSceneNode.h
|
|
|
|
include/SMeshBuffer.h
|
|
|
|
include/IGUIEditBox.h
|
|
|
|
include/ILogger.h
|
|
|
|
include/ILightManager.h
|
|
|
|
include/IMeshBuffer.h
|
|
|
|
include/irrlicht.h
|
|
|
|
include/ITimer.h
|
|
|
|
include/IImage.h
|
|
|
|
include/position2d.h
|
|
|
|
include/IGUIToolbar.h
|
|
|
|
include/IGUISpinBox.h
|
|
|
|
include/IGUITabControl.h
|
|
|
|
include/IBillboardTextSceneNode.h
|
|
|
|
include/IGUIInOutFader.h
|
|
|
|
include/path.h
|
|
|
|
include/IMetaTriangleSelector.h
|
|
|
|
include/ISceneUserDataSerializer.h
|
|
|
|
include/irrArray.h
|
|
|
|
include/irrString.h
|
|
|
|
include/IMesh.h
|
|
|
|
include/line3d.h
|
|
|
|
include/IMeshLoader.h
|
|
|
|
include/aabbox3d.h
|
|
|
|
include/CMeshBuffer.h
|
|
|
|
include/ETerrainElements.h
|
|
|
|
include/EDebugSceneTypes.h
|
|
|
|
include/driverChoice.h
|
|
|
|
include/IParticleAttractionAffector.h
|
|
|
|
include/IGUISpriteBank.h
|
|
|
|
include/IGUISkin.h
|
|
|
|
include/irrAllocator.h
|
|
|
|
include/IDummyTransformationSceneNode.h
|
|
|
|
include/SSkinMeshBuffer.h
|
|
|
|
include/ISceneLoader.h
|
|
|
|
include/IrrlichtDevice.h
|
|
|
|
include/IMaterialRendererServices.h
|
|
|
|
include/SColor.h
|
|
|
|
include/IXMLWriter.h
|
|
|
|
include/CDynamicMeshBuffer.h
|
|
|
|
include/IFileArchive.h
|
|
|
|
include/IGUIContextMenu.h
|
|
|
|
include/IVideoDriver.h
|
|
|
|
include/irrMath.h
|
|
|
|
include/ISceneNode.h
|
|
|
|
include/line2d.h
|
|
|
|
include/irrpack.h
|
|
|
|
include/plane3d.h
|
|
|
|
include/ISceneManager.h
|
|
|
|
include/IImageWriter.h
|
|
|
|
include/EGUIElementTypes.h
|
|
|
|
include/IParticleMeshEmitter.h
|
|
|
|
include/IGUIColorSelectDialog.h
|
|
|
|
include/IGUIImage.h
|
|
|
|
include/IGUIListBox.h
|
|
|
|
include/IQ3LevelMesh.h
|
|
|
|
include/vector2d.h
|
|
|
|
include/CIndexBuffer.h
|
|
|
|
include/IAnimatedMesh.h
|
|
|
|
include/SMaterial.h
|
|
|
|
include/rect.h
|
|
|
|
include/EDriverFeatures.h
|
|
|
|
include/IVideoModeList.h
|
|
|
|
include/fast_atof.h
|
|
|
|
include/IGUICheckBox.h
|
|
|
|
include/ISceneNodeAnimatorFactory.h
|
|
|
|
include/SVertexManipulator.h
|
|
|
|
include/ITextSceneNode.h
|
|
|
|
include/IDynamicMeshBuffer.h
|
|
|
|
include/SExposedVideoData.h
|
|
|
|
include/IReferenceCounted.h
|
|
|
|
include/irrXML.h
|
|
|
|
include/SKeyMap.h
|
|
|
|
include/ECullingTypes.h
|
|
|
|
include/IBillboardSceneNode.h
|
|
|
|
include/ITriangleSelector.h
|
|
|
|
include/coreutil.h
|
|
|
|
include/SMeshBufferTangents.h
|
|
|
|
include/ILightSceneNode.h
|
|
|
|
include/IAnimatedMeshMD3.h
|
|
|
|
include/dimension2d.h
|
|
|
|
include/ISceneCollisionManager.h
|
|
|
|
include/heapsort.h
|
|
|
|
include/IGUIComboBox.h
|
|
|
|
include/Keycodes.h
|
|
|
|
include/SParticle.h
|
|
|
|
include/IQ3Shader.h
|
|
|
|
include/EDriverTypes.h
|
|
|
|
include/IFileSystem.h
|
|
|
|
include/SMesh.h
|
|
|
|
include/IParticleAffector.h
|
|
|
|
include/IGUIImageList.h
|
|
|
|
include/EShaderTypes.h
|
|
|
|
include/SceneParameters.h
|
|
|
|
include/IGUIScrollBar.h
|
|
|
|
include/IImageLoader.h
|
|
|
|
include/IParticleBoxEmitter.h
|
|
|
|
include/ICursorControl.h
|
|
|
|
include/ICameraSceneNode.h
|
|
|
|
include/ISceneNodeAnimatorCameraMaya.h
|
|
|
|
include/IMeshManipulator.h
|
|
|
|
include/CVertexBuffer.h
|
|
|
|
include/SSharedMeshBuffer.h
|
|
|
|
include/vector3d.h
|
|
|
|
include/IShadowVolumeSceneNode.h
|
|
|
|
include/ISceneNodeAnimatorCameraFPS.h
|
|
|
|
include/IGUIMeshViewer.h
|
|
|
|
include/triangle3d.h
|
|
|
|
include/matrix4.h
|
|
|
|
include/IGUIStaticText.h
|
|
|
|
include/IMeshWriter.h
|
|
|
|
include/IMeshSceneNode.h
|
|
|
|
include/IParticleAnimatedMeshSceneNodeEmitter.h
|
|
|
|
include/IMeshCache.h
|
|
|
|
include/EMeshWriterEnums.h
|
|
|
|
include/EPrimitiveTypes.h
|
|
|
|
include/SViewFrustum.h
|
|
|
|
include/IXMLReader.h
|
|
|
|
include/EHardwareBufferFlags.h
|
|
|
|
include/IOSOperator.h
|
|
|
|
include/IGPUProgrammingServices.h
|
|
|
|
include/IrrCompileConfig.h
|
|
|
|
include/ISceneNodeFactory.h
|
|
|
|
include/IGUITable.h
|
|
|
|
include/IGUIButton.h
|
|
|
|
include/EMaterialFlags.h
|
|
|
|
include/EDeviceTypes.h
|
|
|
|
include/IAnimatedMeshMD2.h
|
|
|
|
include/IGUIWindow.h
|
|
|
|
include/EAttributes.h
|
|
|
|
include/S3DVertex.h
|
|
|
|
include/ISceneNodeAnimatorCollisionResponse.h
|
|
|
|
include/IWriteFile.h
|
|
|
|
include/irrTypes.h
|
|
|
|
include/IParticleEmitter.h
|
|
|
|
include/quaternion.h
|
|
|
|
include/SLight.h
|
|
|
|
include/IReadFile.h
|
|
|
|
include/ESceneNodeTypes.h
|
|
|
|
include/IIndexBuffer.h
|
|
|
|
include/EGUIAlignment.h
|
|
|
|
include/SIrrCreationParameters.h
|
|
|
|
include/IFileList.h
|
|
|
|
include/SMeshBufferLightMap.h
|
|
|
|
include/IRandomizer.h
|
|
|
|
include/ISceneNodeAnimator.h
|
|
|
|
include/IAttributes.h
|
|
|
|
include/IParticleRotationAffector.h
|
|
|
|
include/IGUIFileOpenDialog.h
|
|
|
|
include/IBoneSceneNode.h
|
|
|
|
include/IShaderConstantSetCallBack.h
|
|
|
|
include/ITexture.h
|
|
|
|
|
|
|
|
|
|
|
|
source/Irrlicht/zlib/infback.c
|
|
|
|
source/Irrlicht/zlib/deflate.c
|
|
|
|
source/Irrlicht/zlib/zutil.c
|
|
|
|
source/Irrlicht/zlib/crc32.c
|
|
|
|
source/Irrlicht/zlib/gzread.c
|
|
|
|
source/Irrlicht/zlib/inffast.c
|
|
|
|
source/Irrlicht/zlib/uncompr.c
|
|
|
|
source/Irrlicht/zlib/inftrees.c
|
|
|
|
source/Irrlicht/zlib/inflate.c
|
|
|
|
source/Irrlicht/zlib/compress.c
|
|
|
|
source/Irrlicht/zlib/adler32.c
|
|
|
|
source/Irrlicht/zlib/gzwrite.c
|
|
|
|
source/Irrlicht/zlib/trees.c
|
|
|
|
source/Irrlicht/zlib/gzlib.c
|
|
|
|
source/Irrlicht/zlib/gzclose.c
|
|
|
|
source/Irrlicht/zlib/inffixed.h
|
|
|
|
source/Irrlicht/zlib/inffast.h
|
|
|
|
source/Irrlicht/zlib/zconf.h
|
|
|
|
source/Irrlicht/zlib/zutil.h
|
|
|
|
source/Irrlicht/zlib/inftrees.h
|
|
|
|
source/Irrlicht/zlib/deflate.h
|
|
|
|
source/Irrlicht/zlib/zlib.h
|
|
|
|
source/Irrlicht/zlib/inflate.h
|
|
|
|
source/Irrlicht/zlib/trees.h
|
|
|
|
source/Irrlicht/zlib/gzguts.h
|
|
|
|
source/Irrlicht/zlib/crc32.h
|
|
|
|
|
|
|
|
|
|
|
|
source/Irrlicht/jpeglib/jaricom.c
|
|
|
|
source/Irrlicht/jpeglib/jcapimin.c
|
|
|
|
source/Irrlicht/jpeglib/jcapistd.c
|
|
|
|
source/Irrlicht/jpeglib/jcarith.c
|
|
|
|
source/Irrlicht/jpeglib/jccoefct.c
|
|
|
|
source/Irrlicht/jpeglib/jccolor.c
|
|
|
|
source/Irrlicht/jpeglib/jcdctmgr.c
|
|
|
|
source/Irrlicht/jpeglib/jchuff.c
|
|
|
|
source/Irrlicht/jpeglib/jcinit.c
|
|
|
|
source/Irrlicht/jpeglib/jcmainct.c
|
|
|
|
source/Irrlicht/jpeglib/jcmarker.c
|
|
|
|
source/Irrlicht/jpeglib/jcmaster.c
|
|
|
|
source/Irrlicht/jpeglib/jcomapi.c
|
|
|
|
source/Irrlicht/jpeglib/jcparam.c
|
|
|
|
source/Irrlicht/jpeglib/jcprepct.c
|
|
|
|
source/Irrlicht/jpeglib/jcsample.c
|
|
|
|
source/Irrlicht/jpeglib/jctrans.c
|
|
|
|
source/Irrlicht/jpeglib/jdapimin.c
|
|
|
|
source/Irrlicht/jpeglib/jdapistd.c
|
|
|
|
source/Irrlicht/jpeglib/jdarith.c
|
|
|
|
source/Irrlicht/jpeglib/jdatadst.c
|
|
|
|
source/Irrlicht/jpeglib/jdatasrc.c
|
|
|
|
source/Irrlicht/jpeglib/jdcoefct.c
|
|
|
|
source/Irrlicht/jpeglib/jdcolor.c
|
|
|
|
source/Irrlicht/jpeglib/jddctmgr.c
|
|
|
|
source/Irrlicht/jpeglib/jdhuff.c
|
|
|
|
source/Irrlicht/jpeglib/jdinput.c
|
|
|
|
source/Irrlicht/jpeglib/jdmainct.c
|
|
|
|
source/Irrlicht/jpeglib/jdmarker.c
|
|
|
|
source/Irrlicht/jpeglib/jdmaster.c
|
|
|
|
source/Irrlicht/jpeglib/jdmerge.c
|
|
|
|
source/Irrlicht/jpeglib/jdpostct.c
|
|
|
|
source/Irrlicht/jpeglib/jdsample.c
|
|
|
|
source/Irrlicht/jpeglib/jdtrans.c
|
|
|
|
source/Irrlicht/jpeglib/jerror.c
|
|
|
|
source/Irrlicht/jpeglib/jfdctflt.c
|
|
|
|
source/Irrlicht/jpeglib/jfdctfst.c
|
|
|
|
source/Irrlicht/jpeglib/jfdctint.c
|
|
|
|
source/Irrlicht/jpeglib/jidctflt.c
|
|
|
|
source/Irrlicht/jpeglib/jidctfst.c
|
|
|
|
source/Irrlicht/jpeglib/jidctint.c
|
|
|
|
source/Irrlicht/jpeglib/jmemmgr.c
|
|
|
|
source/Irrlicht/jpeglib/jmemnobs.c
|
|
|
|
source/Irrlicht/jpeglib/jquant1.c
|
|
|
|
source/Irrlicht/jpeglib/jquant2.c
|
|
|
|
source/Irrlicht/jpeglib/jutils.c
|
|
|
|
|
|
|
|
|
|
|
|
source/Irrlicht/libpng/pngwutil.c
|
|
|
|
source/Irrlicht/libpng/pngget.c
|
|
|
|
source/Irrlicht/libpng/pngrtran.c
|
|
|
|
source/Irrlicht/libpng/pngrutil.c
|
|
|
|
source/Irrlicht/libpng/pngerror.c
|
|
|
|
source/Irrlicht/libpng/pngset.c
|
|
|
|
source/Irrlicht/libpng/pngtest.c
|
|
|
|
source/Irrlicht/libpng/pngmem.c
|
|
|
|
source/Irrlicht/libpng/pngpread.c
|
|
|
|
source/Irrlicht/libpng/png.c
|
|
|
|
source/Irrlicht/libpng/pngread.c
|
|
|
|
source/Irrlicht/libpng/pngwio.c
|
|
|
|
source/Irrlicht/libpng/pngtrans.c
|
|
|
|
source/Irrlicht/libpng/pngwrite.c
|
|
|
|
source/Irrlicht/libpng/pngwtran.c
|
|
|
|
source/Irrlicht/libpng/example.c
|
|
|
|
source/Irrlicht/libpng/pngrio.c
|
|
|
|
source/Irrlicht/libpng/png.h
|
|
|
|
source/Irrlicht/libpng/pngdebug.h
|
|
|
|
source/Irrlicht/libpng/pngconf.h
|
|
|
|
source/Irrlicht/libpng/pngpriv.h
|
|
|
|
source/Irrlicht/libpng/pnginfo.h
|
|
|
|
source/Irrlicht/libpng/pnglibconf.h
|
|
|
|
source/Irrlicht/libpng/pngstruct.h
|
|
|
|
)
|
2013-03-13 00:03:26 -04:00
|
|
|
|
|
|
|
if(APPLE)
|
|
|
|
set(IRRLICHT_SOURCES
|
|
|
|
${IRRLICHT_SOURCES}
|
|
|
|
source/Irrlicht/MacOSX/AppDelegate.mm
|
|
|
|
source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
|
|
|
|
source/Irrlicht/MacOSX/OSXClipboard.mm)
|
2014-09-03 08:05:34 -04:00
|
|
|
|
2013-03-13 00:03:26 -04:00
|
|
|
#list(APPEND CMAKE_C_SOURCE_FILE_EXTENSIONS mm)
|
|
|
|
#set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS cpp)
|
2014-09-03 08:05:34 -04:00
|
|
|
|
2013-03-13 00:03:26 -04:00
|
|
|
set_source_files_properties(source/Irrlicht/MacOSX/AppDelegate.mm PROPERTIES COMPILE_FLAGS "-x objective-c++ -O3 -fno-rtti")
|
|
|
|
set_source_files_properties(source/Irrlicht/MacOSX/AppDelegate.mm PROPERTIES LANGUAGE C)
|
2014-09-03 08:05:34 -04:00
|
|
|
|
2013-03-13 00:03:26 -04:00
|
|
|
set_source_files_properties(source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm PROPERTIES COMPILE_FLAGS "-x objective-c++ -O3 -fno-rtti")
|
|
|
|
set_source_files_properties(source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm PROPERTIES LANGUAGE C)
|
2014-09-03 08:05:34 -04:00
|
|
|
|
2013-03-13 00:03:26 -04:00
|
|
|
set_source_files_properties(source/Irrlicht/MacOSX/OSXClipboard.mm PROPERTIES COMPILE_FLAGS "-x objective-c++ -O3 -fno-rtti")
|
|
|
|
set_source_files_properties(source/Irrlicht/MacOSX/OSXClipboard.mm PROPERTIES LANGUAGE C)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_library(stkirrlicht ${IRRLICHT_SOURCES})
|
|
|
|
|