2013-03-12 21:31:09 -04:00
|
|
|
# CMakeLists.txt for Irrlicht in STK
|
2017-09-18 16:14:43 -04:00
|
|
|
if(NOT SERVER_ONLY)
|
2018-07-22 19:28:12 -04:00
|
|
|
find_package(PNG REQUIRED)
|
|
|
|
find_package(JPEG REQUIRED)
|
2019-06-08 22:06:50 -04:00
|
|
|
find_package(ZLIB REQUIRED)
|
2018-07-22 22:51:59 -04:00
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include/"
|
|
|
|
"${JPEG_INCLUDE_DIR}"
|
|
|
|
"${PNG_INCLUDE_DIRS}"
|
2019-06-25 23:32:18 -04:00
|
|
|
"${ZLIB_INCLUDE_DIR}"
|
2021-06-09 13:02:24 -04:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../../src"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../graphics_engine/include")
|
2017-09-18 15:48:54 -04:00
|
|
|
else()
|
2019-06-25 23:32:18 -04:00
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include/"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../../src")
|
2019-06-08 22:06:50 -04:00
|
|
|
find_package(ZLIB REQUIRED)
|
|
|
|
include_directories("${ZLIB_INCLUDE_DIR}")
|
2018-07-06 21:27:39 -04:00
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_LIBPNG_)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_LIBJPEG_)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_BMP_LOADER_)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_PNG_LOADER_)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_JPG_LOADER_)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_BMP_WRITER_)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_PNG_WRITER_)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_JPG_WRITER_)
|
2017-09-18 15:48:54 -04:00
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_OPENGL_)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_X11_)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_WAYLAND_DEVICE_)
|
2020-06-01 22:36:06 -04:00
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_SDL_DEVICE_)
|
2023-12-17 21:32:29 -05:00
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_DIRECT3D_9_)
|
2021-06-09 13:02:24 -04:00
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_VULKAN_)
|
2017-05-06 15:53:32 -04:00
|
|
|
endif()
|
|
|
|
|
2019-07-12 02:53:55 -04:00
|
|
|
if(APPLE AND NOT IOS)
|
2014-02-21 14:09:10 -05:00
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/MacOSX" "${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht")
|
2021-01-09 17:31:21 -05:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -arch ${ARCHFLAGS}")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch ${ARCHFLAGS} -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)
|
2016-12-11 00:21:17 -05:00
|
|
|
|
|
|
|
if(UNIX OR MINGW)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x")
|
|
|
|
endif()
|
|
|
|
|
2017-09-18 15:48:54 -04:00
|
|
|
if(WIN32)
|
|
|
|
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()
|
2020-06-01 22:36:06 -04:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pipe -fstrict-aliasing")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pipe -fstrict-aliasing")
|
2013-07-25 03:19:30 -04:00
|
|
|
endif()
|
2013-03-12 21:31:09 -04:00
|
|
|
|
2016-06-23 20:47:13 -04:00
|
|
|
if(USE_GLES2)
|
2020-02-07 00:04:34 -05:00
|
|
|
if (NOT IOS)
|
|
|
|
add_definitions(-D_IRR_COMPILE_WITH_OGLES2_)
|
|
|
|
endif()
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_OPENGL_)
|
2014-05-12 14:06:44 -04:00
|
|
|
endif()
|
|
|
|
|
2015-03-25 04:16:15 -04:00
|
|
|
if(CYGWIN)
|
|
|
|
add_definitions(-DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_)
|
|
|
|
endif()
|
|
|
|
|
2016-06-23 20:47:13 -04:00
|
|
|
|
2013-03-13 00:03:26 -04:00
|
|
|
set(IRRLICHT_SOURCES
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CAnimatedMeshSceneNode.cpp
|
|
|
|
source/Irrlicht/CAttributes.cpp
|
|
|
|
source/Irrlicht/CBillboardSceneNode.cpp
|
|
|
|
source/Irrlicht/CBoneSceneNode.cpp
|
|
|
|
source/Irrlicht/CCameraSceneNode.cpp
|
|
|
|
source/Irrlicht/CColorConverter.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CCubeSceneNode.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CDefaultGUIElementFactory.cpp
|
|
|
|
source/Irrlicht/CDefaultSceneNodeAnimatorFactory.cpp
|
|
|
|
source/Irrlicht/CDefaultSceneNodeFactory.cpp
|
|
|
|
source/Irrlicht/CDummyTransformationSceneNode.cpp
|
|
|
|
source/Irrlicht/CEmptySceneNode.cpp
|
|
|
|
source/Irrlicht/CFileList.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CFileSystem.cpp
|
|
|
|
source/Irrlicht/CFPSCounter.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CGeometryCreator.cpp
|
|
|
|
source/Irrlicht/CGUIButton.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUICheckBox.cpp
|
|
|
|
source/Irrlicht/CGUIColorSelectDialog.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CGUIComboBox.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUIContextMenu.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUIEditBox.cpp
|
|
|
|
source/Irrlicht/CGUIEnvironment.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUIFileOpenDialog.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUIFont.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CGUIImage.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUIImageList.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CGUIInOutFader.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUIListBox.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUIMenu.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUIMeshViewer.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUIMessageBox.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CGUIModalScreen.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUIScrollBar.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUISkin.cpp
|
|
|
|
source/Irrlicht/CGUISpinBox.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CGUISpriteBank.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUIStaticText.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUITabControl.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUITable.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUIToolBar.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUITreeView.cpp
|
|
|
|
source/Irrlicht/CGUIWindow.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CImage.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CImageLoaderBMP.cpp
|
|
|
|
source/Irrlicht/CImageLoaderJPG.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CImageLoaderPNG.cpp
|
2020-06-14 03:15:47 -04:00
|
|
|
source/Irrlicht/CImageLoaderSVG.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CImageWriterBMP.cpp
|
|
|
|
source/Irrlicht/CImageWriterJPG.cpp
|
|
|
|
source/Irrlicht/CImageWriterPNG.cpp
|
|
|
|
source/Irrlicht/CIrrDeviceSDL.cpp
|
2020-06-14 03:07:15 -04:00
|
|
|
source/Irrlicht/CIrrDeviceServer.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CIrrDeviceStub.cpp
|
|
|
|
source/Irrlicht/CLightSceneNode.cpp
|
|
|
|
source/Irrlicht/CLimitReadFile.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CLogger.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CMemoryFile.cpp
|
|
|
|
source/Irrlicht/CMeshCache.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CMeshManipulator.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CMeshSceneNode.cpp
|
|
|
|
source/Irrlicht/CMetaTriangleSelector.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CMountPointReader.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CNullDriver.cpp
|
|
|
|
source/Irrlicht/COctreeSceneNode.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/COctreeTriangleSelector.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/COGLES2Driver.cpp
|
|
|
|
source/Irrlicht/COGLES2ExtensionHandler.cpp
|
|
|
|
source/Irrlicht/COGLES2FixedPipelineRenderer.cpp
|
|
|
|
source/Irrlicht/COGLES2MaterialRenderer.cpp
|
|
|
|
source/Irrlicht/COGLES2NormalMapRenderer.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/COGLES2ParallaxMapRenderer.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/COGLES2Renderer2D.cpp
|
|
|
|
source/Irrlicht/COGLES2Texture.cpp
|
|
|
|
source/Irrlicht/COpenGLDriver.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/COpenGLExtensionHandler.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/COpenGLParallaxMapRenderer.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/COpenGLShaderMaterialRenderer.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/COpenGLSLMaterialRenderer.cpp
|
|
|
|
source/Irrlicht/COpenGLTexture.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/COSOperator.cpp
|
|
|
|
source/Irrlicht/CParticleAnimatedMeshSceneNodeEmitter.cpp
|
|
|
|
source/Irrlicht/CParticleAttractionAffector.cpp
|
|
|
|
source/Irrlicht/CParticleBoxEmitter.cpp
|
|
|
|
source/Irrlicht/CParticleCylinderEmitter.cpp
|
|
|
|
source/Irrlicht/CParticleFadeOutAffector.cpp
|
|
|
|
source/Irrlicht/CParticleGravityAffector.cpp
|
|
|
|
source/Irrlicht/CParticleMeshEmitter.cpp
|
|
|
|
source/Irrlicht/CParticlePointEmitter.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CParticleRingEmitter.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CParticleRotationAffector.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CParticleScaleAffector.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CParticleSphereEmitter.cpp
|
|
|
|
source/Irrlicht/CParticleSystemSceneNode.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CReadFile.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CSceneCollisionManager.cpp
|
|
|
|
source/Irrlicht/CSceneManager.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCameraFPS.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCameraMaya.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCollisionResponse.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CSceneNodeAnimatorDelete.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CSceneNodeAnimatorFlyCircle.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorFlyStraight.cpp
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorFollowSpline.cpp
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CSceneNodeAnimatorRotation.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CSceneNodeAnimatorTexture.cpp
|
|
|
|
source/Irrlicht/CSkinnedMesh.cpp
|
|
|
|
source/Irrlicht/CSkyBoxSceneNode.cpp
|
|
|
|
source/Irrlicht/CSkyDomeSceneNode.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CSphereSceneNode.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CTarReader.cpp
|
|
|
|
source/Irrlicht/CTerrainSceneNode.cpp
|
|
|
|
source/Irrlicht/CTerrainTriangleSelector.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CTextSceneNode.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CTriangleBBSelector.cpp
|
|
|
|
source/Irrlicht/CTriangleSelector.cpp
|
|
|
|
source/Irrlicht/CVideoModeList.cpp
|
|
|
|
source/Irrlicht/CWaterSurfaceSceneNode.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CWriteFile.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CXMLReader.cpp
|
2016-06-23 20:47:13 -04:00
|
|
|
source/Irrlicht/CXMLWriter.cpp
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CZBuffer.cpp
|
|
|
|
source/Irrlicht/CZipReader.cpp
|
|
|
|
source/Irrlicht/Irrlicht.cpp
|
|
|
|
source/Irrlicht/irrXML.cpp
|
|
|
|
source/Irrlicht/os.cpp
|
2016-11-19 01:21:56 -05:00
|
|
|
source/Irrlicht/COpenGLNormalMapRenderer.cpp
|
2023-12-17 21:35:58 -05:00
|
|
|
source/Irrlicht/CD3D9Driver.cpp
|
|
|
|
source/Irrlicht/CD3D9Driver.h
|
|
|
|
source/Irrlicht/CD3D9HLSLMaterialRenderer.cpp
|
|
|
|
source/Irrlicht/CD3D9HLSLMaterialRenderer.h
|
|
|
|
source/Irrlicht/CD3D9MaterialRenderer.h
|
|
|
|
source/Irrlicht/CD3D9NormalMapRenderer.cpp
|
|
|
|
source/Irrlicht/CD3D9NormalMapRenderer.h
|
|
|
|
source/Irrlicht/CD3D9ParallaxMapRenderer.cpp
|
|
|
|
source/Irrlicht/CD3D9ParallaxMapRenderer.h
|
|
|
|
source/Irrlicht/CD3D9ShaderMaterialRenderer.cpp
|
|
|
|
source/Irrlicht/CD3D9ShaderMaterialRenderer.h
|
|
|
|
source/Irrlicht/CD3D9Texture.cpp
|
|
|
|
source/Irrlicht/CD3D9Texture.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CAnimatedMeshSceneNode.h
|
|
|
|
source/Irrlicht/CAttributeImpl.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CAttributes.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CBillboardSceneNode.h
|
|
|
|
source/Irrlicht/CBlit.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CBoneSceneNode.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CCameraSceneNode.h
|
|
|
|
source/Irrlicht/CColorConverter.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CCubeSceneNode.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CDefaultGUIElementFactory.h
|
|
|
|
source/Irrlicht/CDefaultSceneNodeAnimatorFactory.h
|
|
|
|
source/Irrlicht/CDefaultSceneNodeFactory.h
|
|
|
|
source/Irrlicht/CDummyTransformationSceneNode.h
|
|
|
|
source/Irrlicht/CEmptySceneNode.h
|
|
|
|
source/Irrlicht/CFileList.h
|
|
|
|
source/Irrlicht/CFileSystem.h
|
|
|
|
source/Irrlicht/CFPSCounter.h
|
|
|
|
source/Irrlicht/CGeometryCreator.h
|
|
|
|
source/Irrlicht/CGUIButton.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUICheckBox.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUIColorSelectDialog.h
|
|
|
|
source/Irrlicht/CGUIComboBox.h
|
|
|
|
source/Irrlicht/CGUIContextMenu.h
|
|
|
|
source/Irrlicht/CGUIEditBox.h
|
|
|
|
source/Irrlicht/CGUIEnvironment.h
|
|
|
|
source/Irrlicht/CGUIFileOpenDialog.h
|
|
|
|
source/Irrlicht/CGUIFont.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUIImage.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUIImageList.h
|
|
|
|
source/Irrlicht/CGUIInOutFader.h
|
|
|
|
source/Irrlicht/CGUIListBox.h
|
|
|
|
source/Irrlicht/CGUIMenu.h
|
|
|
|
source/Irrlicht/CGUIMeshViewer.h
|
|
|
|
source/Irrlicht/CGUIMessageBox.h
|
|
|
|
source/Irrlicht/CGUIModalScreen.h
|
|
|
|
source/Irrlicht/CGUIScrollBar.h
|
|
|
|
source/Irrlicht/CGUISkin.h
|
|
|
|
source/Irrlicht/CGUISpinBox.h
|
|
|
|
source/Irrlicht/CGUISpriteBank.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CGUIStaticText.h
|
|
|
|
source/Irrlicht/CGUITabControl.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CGUITable.h
|
|
|
|
source/Irrlicht/CGUIToolBar.h
|
|
|
|
source/Irrlicht/CGUITreeView.h
|
|
|
|
source/Irrlicht/CGUIWindow.h
|
|
|
|
source/Irrlicht/CImage.h
|
|
|
|
source/Irrlicht/CImageLoaderBMP.h
|
|
|
|
source/Irrlicht/CImageLoaderJPG.h
|
|
|
|
source/Irrlicht/CImageLoaderPNG.h
|
2020-06-14 03:15:47 -04:00
|
|
|
source/Irrlicht/CImageLoaderSVG.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CImageWriterBMP.h
|
|
|
|
source/Irrlicht/CImageWriterJPG.h
|
|
|
|
source/Irrlicht/CImageWriterPNG.h
|
|
|
|
source/Irrlicht/CIrrDeviceSDL.h
|
2020-06-14 03:07:15 -04:00
|
|
|
source/Irrlicht/CIrrDeviceServer.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CIrrDeviceStub.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CLightSceneNode.h
|
|
|
|
source/Irrlicht/CLimitReadFile.h
|
|
|
|
source/Irrlicht/CLogger.h
|
|
|
|
source/Irrlicht/CMemoryFile.h
|
|
|
|
source/Irrlicht/CMeshCache.h
|
|
|
|
source/Irrlicht/CMeshManipulator.h
|
|
|
|
source/Irrlicht/CMeshSceneNode.h
|
|
|
|
source/Irrlicht/CMetaTriangleSelector.h
|
|
|
|
source/Irrlicht/CMountPointReader.h
|
|
|
|
source/Irrlicht/CNullDriver.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/COctreeSceneNode.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/COctreeTriangleSelector.h
|
|
|
|
source/Irrlicht/COGLES2Driver.h
|
|
|
|
source/Irrlicht/COGLES2ExtensionHandler.h
|
|
|
|
source/Irrlicht/COGLES2FixedPipelineRenderer.h
|
|
|
|
source/Irrlicht/COGLES2MaterialRenderer.h
|
|
|
|
source/Irrlicht/COGLES2NormalMapRenderer.h
|
|
|
|
source/Irrlicht/COGLES2ParallaxMapRenderer.h
|
|
|
|
source/Irrlicht/COGLES2Renderer2D.h
|
|
|
|
source/Irrlicht/COGLES2Texture.h
|
|
|
|
source/Irrlicht/COpenGLDriver.h
|
|
|
|
source/Irrlicht/COpenGLExtensionHandler.h
|
|
|
|
source/Irrlicht/COpenGLMaterialRenderer.h
|
|
|
|
source/Irrlicht/COpenGLParallaxMapRenderer.h
|
|
|
|
source/Irrlicht/COpenGLShaderMaterialRenderer.h
|
|
|
|
source/Irrlicht/COpenGLSLMaterialRenderer.h
|
|
|
|
source/Irrlicht/COpenGLTexture.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/COSOperator.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CParticleAnimatedMeshSceneNodeEmitter.h
|
|
|
|
source/Irrlicht/CParticleAttractionAffector.h
|
|
|
|
source/Irrlicht/CParticleBoxEmitter.h
|
|
|
|
source/Irrlicht/CParticleCylinderEmitter.h
|
|
|
|
source/Irrlicht/CParticleFadeOutAffector.h
|
|
|
|
source/Irrlicht/CParticleGravityAffector.h
|
|
|
|
source/Irrlicht/CParticleMeshEmitter.h
|
|
|
|
source/Irrlicht/CParticlePointEmitter.h
|
|
|
|
source/Irrlicht/CParticleRingEmitter.h
|
|
|
|
source/Irrlicht/CParticleRotationAffector.h
|
|
|
|
source/Irrlicht/CParticleScaleAffector.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CParticleSphereEmitter.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CParticleSystemSceneNode.h
|
|
|
|
source/Irrlicht/CReadFile.h
|
|
|
|
source/Irrlicht/CSceneCollisionManager.h
|
|
|
|
source/Irrlicht/CSceneManager.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCameraFPS.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCameraMaya.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorCollisionResponse.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorDelete.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorFlyCircle.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CSceneNodeAnimatorFlyStraight.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CSceneNodeAnimatorFollowSpline.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorRotation.h
|
|
|
|
source/Irrlicht/CSceneNodeAnimatorTexture.h
|
|
|
|
source/Irrlicht/CSkinnedMesh.h
|
|
|
|
source/Irrlicht/CSkyBoxSceneNode.h
|
|
|
|
source/Irrlicht/CSkyDomeSceneNode.h
|
|
|
|
source/Irrlicht/CSphereSceneNode.h
|
|
|
|
source/Irrlicht/CTarReader.h
|
|
|
|
source/Irrlicht/CTerrainSceneNode.h
|
|
|
|
source/Irrlicht/CTerrainTriangleSelector.h
|
|
|
|
source/Irrlicht/CTextSceneNode.h
|
|
|
|
source/Irrlicht/CTimer.h
|
|
|
|
source/Irrlicht/CTriangleBBSelector.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CTriangleSelector.h
|
|
|
|
source/Irrlicht/CVideoModeList.h
|
|
|
|
source/Irrlicht/CWaterSurfaceSceneNode.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CWriteFile.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CXMLReader.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/CXMLReaderImpl.h
|
|
|
|
source/Irrlicht/CXMLWriter.h
|
|
|
|
source/Irrlicht/CZBuffer.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/CZipReader.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/dmfsupport.h
|
|
|
|
source/Irrlicht/gles2-ext.h
|
|
|
|
source/Irrlicht/glext.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/glxext.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/IAttribute.h
|
|
|
|
source/Irrlicht/IImagePresenter.h
|
|
|
|
source/Irrlicht/ISceneNodeAnimatorFinishing.h
|
2013-03-12 21:31:09 -04:00
|
|
|
source/Irrlicht/ITriangleRenderer.h
|
2016-07-04 18:25:03 -04:00
|
|
|
source/Irrlicht/IZBuffer.h
|
|
|
|
source/Irrlicht/MacOSX/AppDelegate.h
|
|
|
|
source/Irrlicht/MacOSX/CIrrDeviceMacOSX.h
|
|
|
|
source/Irrlicht/MacOSX/OSXClipboard.h
|
|
|
|
source/Irrlicht/Octree.h
|
|
|
|
source/Irrlicht/os.h
|
|
|
|
source/Irrlicht/resource.h
|
|
|
|
source/Irrlicht/S2DVertex.h
|
|
|
|
source/Irrlicht/S4DVertex.h
|
|
|
|
source/Irrlicht/SoftwareDriver2_compile_config.h
|
|
|
|
source/Irrlicht/SoftwareDriver2_helper.h
|
|
|
|
source/Irrlicht/wglext.h
|
2016-11-19 01:21:56 -05:00
|
|
|
source/Irrlicht/COpenGLNormalMapRenderer.h
|
2013-03-12 21:31:09 -04:00
|
|
|
|
2016-07-04 18:25:03 -04:00
|
|
|
include/aabbox3d.h
|
|
|
|
include/CDynamicMeshBuffer.h
|
|
|
|
include/CIndexBuffer.h
|
|
|
|
include/CMeshBuffer.h
|
|
|
|
include/coreutil.h
|
|
|
|
include/CVertexBuffer.h
|
|
|
|
include/dimension2d.h
|
|
|
|
include/driverChoice.h
|
|
|
|
include/EAttributes.h
|
|
|
|
include/ECullingTypes.h
|
|
|
|
include/EDebugSceneTypes.h
|
|
|
|
include/EDeviceTypes.h
|
|
|
|
include/EDriverFeatures.h
|
|
|
|
include/EDriverTypes.h
|
|
|
|
include/EGUIAlignment.h
|
|
|
|
include/EGUIElementTypes.h
|
|
|
|
include/EHardwareBufferFlags.h
|
|
|
|
include/EMaterialFlags.h
|
|
|
|
include/EMaterialTypes.h
|
|
|
|
include/EMeshWriterEnums.h
|
|
|
|
include/EMessageBoxFlags.h
|
|
|
|
include/EPrimitiveTypes.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/ESceneNodeAnimatorTypes.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/ESceneNodeTypes.h
|
|
|
|
include/EShaderTypes.h
|
|
|
|
include/ETerrainElements.h
|
|
|
|
include/EVertexAttributes.h
|
|
|
|
include/fast_atof.h
|
|
|
|
include/heapsort.h
|
|
|
|
include/IAnimatedMesh.h
|
|
|
|
include/IAnimatedMeshSceneNode.h
|
|
|
|
include/IAttributeExchangingObject.h
|
|
|
|
include/IAttributes.h
|
|
|
|
include/IBillboardSceneNode.h
|
|
|
|
include/IBillboardTextSceneNode.h
|
|
|
|
include/IBoneSceneNode.h
|
|
|
|
include/ICameraSceneNode.h
|
|
|
|
include/ICursorControl.h
|
|
|
|
include/IDummyTransformationSceneNode.h
|
|
|
|
include/IDynamicMeshBuffer.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/IEventReceiver.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/IFileArchive.h
|
|
|
|
include/IFileList.h
|
|
|
|
include/IFileSystem.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/IGeometryCreator.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/IGPUProgrammingServices.h
|
|
|
|
include/IGUIButton.h
|
|
|
|
include/IGUICheckBox.h
|
|
|
|
include/IGUIColorSelectDialog.h
|
|
|
|
include/IGUIComboBox.h
|
|
|
|
include/IGUIContextMenu.h
|
|
|
|
include/IGUIEditBox.h
|
|
|
|
include/IGUIElementFactory.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/IGUIElement.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/IGUIEnvironment.h
|
|
|
|
include/IGUIFileOpenDialog.h
|
|
|
|
include/IGUIFontBitmap.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/IGUIFont.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/IGUIImage.h
|
|
|
|
include/IGUIImageList.h
|
|
|
|
include/IGUIInOutFader.h
|
|
|
|
include/IGUIListBox.h
|
|
|
|
include/IGUIMeshViewer.h
|
|
|
|
include/IGUIScrollBar.h
|
|
|
|
include/IGUISkin.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/IGUISpinBox.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/IGUISpriteBank.h
|
|
|
|
include/IGUIStaticText.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/IGUITabControl.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/IGUITable.h
|
|
|
|
include/IGUIToolbar.h
|
|
|
|
include/IGUITreeView.h
|
|
|
|
include/IGUIWindow.h
|
|
|
|
include/IImage.h
|
|
|
|
include/IImageLoader.h
|
|
|
|
include/IImageWriter.h
|
|
|
|
include/IIndexBuffer.h
|
|
|
|
include/ILightManager.h
|
|
|
|
include/ILightSceneNode.h
|
|
|
|
include/ILogger.h
|
|
|
|
include/IMaterialRenderer.h
|
|
|
|
include/IMaterialRendererServices.h
|
|
|
|
include/IMeshBuffer.h
|
|
|
|
include/IMeshCache.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/IMesh.h
|
|
|
|
include/IMeshLoader.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/IMeshManipulator.h
|
|
|
|
include/IMeshSceneNode.h
|
|
|
|
include/IMeshWriter.h
|
|
|
|
include/IMetaTriangleSelector.h
|
|
|
|
include/IOSOperator.h
|
|
|
|
include/IParticleAffector.h
|
|
|
|
include/IParticleAnimatedMeshSceneNodeEmitter.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/IParticleAttractionAffector.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/IParticleBoxEmitter.h
|
|
|
|
include/IParticleCylinderEmitter.h
|
|
|
|
include/IParticleEmitter.h
|
|
|
|
include/IParticleFadeOutAffector.h
|
|
|
|
include/IParticleGravityAffector.h
|
|
|
|
include/IParticleMeshEmitter.h
|
|
|
|
include/IParticleRingEmitter.h
|
|
|
|
include/IParticleRotationAffector.h
|
|
|
|
include/IParticleSphereEmitter.h
|
|
|
|
include/IParticleSystemSceneNode.h
|
|
|
|
include/IRandomizer.h
|
|
|
|
include/IReadFile.h
|
|
|
|
include/IReferenceCounted.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/irrAllocator.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/irrArray.h
|
|
|
|
include/IrrCompileConfig.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/IrrlichtDevice.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/irrlicht.h
|
|
|
|
include/irrList.h
|
|
|
|
include/irrMap.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/irrMath.h
|
|
|
|
include/irrpack.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/irrString.h
|
|
|
|
include/irrTypes.h
|
|
|
|
include/irrunpack.h
|
|
|
|
include/irrXML.h
|
|
|
|
include/ISceneCollisionManager.h
|
|
|
|
include/ISceneLoader.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/ISceneManager.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/ISceneNodeAnimatorCameraFPS.h
|
|
|
|
include/ISceneNodeAnimatorCameraMaya.h
|
|
|
|
include/ISceneNodeAnimatorCollisionResponse.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/ISceneNodeAnimatorFactory.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/ISceneNodeAnimator.h
|
|
|
|
include/ISceneNodeFactory.h
|
|
|
|
include/ISceneNode.h
|
|
|
|
include/ISceneUserDataSerializer.h
|
|
|
|
include/IShaderConstantSetCallBack.h
|
|
|
|
include/ISkinnedMesh.h
|
|
|
|
include/ITerrainSceneNode.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/ITextSceneNode.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/ITexture.h
|
|
|
|
include/ITimer.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/ITriangleSelector.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/IVertexBuffer.h
|
|
|
|
include/IVideoDriver.h
|
|
|
|
include/IVideoModeList.h
|
|
|
|
include/IWriteFile.h
|
|
|
|
include/IXMLReader.h
|
|
|
|
include/IXMLWriter.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/Keycodes.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/line2d.h
|
|
|
|
include/line3d.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/matrix4.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/path.h
|
|
|
|
include/plane3d.h
|
|
|
|
include/position2d.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/quaternion.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/rect.h
|
|
|
|
include/S3DVertex.h
|
|
|
|
include/SAnimatedMesh.h
|
|
|
|
include/SceneParameters.h
|
|
|
|
include/SColor.h
|
|
|
|
include/SExposedVideoData.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/SIrrCreationParameters.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/SKeyMap.h
|
|
|
|
include/SLight.h
|
|
|
|
include/SMaterial.h
|
|
|
|
include/SMaterialLayer.h
|
|
|
|
include/SMeshBuffer.h
|
2013-03-12 21:31:09 -04:00
|
|
|
include/SMeshBufferLightMap.h
|
2016-07-04 18:25:03 -04:00
|
|
|
include/SMeshBufferTangents.h
|
|
|
|
include/SMesh.h
|
|
|
|
include/SParticle.h
|
|
|
|
include/SSharedMeshBuffer.h
|
|
|
|
include/SSkinMeshBuffer.h
|
|
|
|
include/SVertexIndex.h
|
|
|
|
include/SVertexManipulator.h
|
|
|
|
include/SViewFrustum.h
|
|
|
|
include/triangle3d.h
|
|
|
|
include/vector2d.h
|
|
|
|
include/vector3d.h
|
2013-03-12 21:31:09 -04:00
|
|
|
)
|
2013-03-13 00:03:26 -04:00
|
|
|
|
2021-06-10 01:21:11 -04:00
|
|
|
if(DLOPEN_MOLTENVK)
|
|
|
|
set(IRRLICHT_SOURCES
|
|
|
|
${IRRLICHT_SOURCES}
|
|
|
|
source/Irrlicht/MoltenVK.mm
|
|
|
|
source/Irrlicht/MoltenVK.h)
|
|
|
|
set_source_files_properties(source/Irrlicht/MoltenVK.mm PROPERTIES COMPILE_FLAGS "-x objective-c++ -O3 -fno-rtti")
|
|
|
|
set_source_files_properties(source/Irrlicht/MoltenVK.mm PROPERTIES LANGUAGE C)
|
|
|
|
endif()
|
|
|
|
|
2019-07-13 01:44:03 -04:00
|
|
|
if(IOS)
|
|
|
|
set(IRRLICHT_SOURCES
|
|
|
|
${IRRLICHT_SOURCES}
|
2019-07-15 02:21:38 -04:00
|
|
|
source/Irrlicht/CIrrDeviceiOS.mm
|
|
|
|
source/Irrlicht/CIrrDeviceiOS.h)
|
2019-07-13 01:44:03 -04:00
|
|
|
|
|
|
|
set_source_files_properties(source/Irrlicht/CIrrDeviceiOS.mm PROPERTIES COMPILE_FLAGS "-x objective-c++ -O3 -fno-rtti")
|
|
|
|
set_source_files_properties(source/Irrlicht/CIrrDeviceiOS.mm PROPERTIES LANGUAGE C)
|
|
|
|
endif()
|
|
|
|
|
2023-11-11 23:56:28 -05:00
|
|
|
if (NOT SERVER_ONLY AND APPLE AND NOT IOS)
|
|
|
|
set(IRRLICHT_SOURCES
|
|
|
|
${IRRLICHT_SOURCES}
|
|
|
|
source/Irrlicht/MacOS.mm)
|
|
|
|
|
|
|
|
set_source_files_properties(source/Irrlicht/MacOS.mm PROPERTIES COMPILE_FLAGS "-x objective-c++ -O3 -fno-rtti")
|
|
|
|
set_source_files_properties(source/Irrlicht/MacOS.mm PROPERTIES LANGUAGE C)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
2015-10-17 10:02:35 -04:00
|
|
|
add_library(stkirrlicht STATIC ${IRRLICHT_SOURCES})
|
2015-01-17 14:53:18 -05:00
|
|
|
|
2018-07-06 21:27:39 -04:00
|
|
|
target_link_libraries(stkirrlicht ${ZLIB_LIBRARY})
|
2017-05-06 15:53:32 -04:00
|
|
|
|
2017-09-18 16:14:43 -04:00
|
|
|
if(NOT SERVER_ONLY)
|
2018-07-06 21:27:39 -04:00
|
|
|
target_link_libraries(stkirrlicht ${PNG_LIBRARY} ${JPEG_LIBRARY})
|
2017-05-06 15:53:32 -04:00
|
|
|
endif()
|
|
|
|
|
2015-12-14 04:11:40 -05:00
|
|
|
if(WIN32)
|
2020-06-14 03:07:15 -04:00
|
|
|
target_link_libraries(stkirrlicht)
|
2018-07-23 01:27:14 -04:00
|
|
|
endif()
|