<commit_before>cmake_minimum_required(VERSION 2.8)

find_package(PkgConfig)

project(OpenSiv3D_Linux CXX)
enable_language(C)

#set(CMAKE_CXX_COMPILER "clang++")
set(CMAKE_CXX_COMPILER "g++")
set(CMAKE_CXX_FLAGS "-std=c++17 -Wall -Wextra -Wno-unknown-pragmas")
set(CMAKE_CXX_FLAGS_DEBUG "-g3 -O0 -pg")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -march=native")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g3 -Og -pg")
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG -march=native")

#set(CMAKE_BUILD_TYPE Release)

# In current version, Wayland and Mir are not supported.
set(_SIV3D_LINUX_WINDOW_API_X11 "Use X11 for window creation" ON)
# set(_SIV3D_LINUX_WINDOW_API_WAYLAND "Use Wayland for window creation" OFF)
# set(_SIV3D_LINUX_WINDOW_API_MIR "Use Mir for window creation" OFF)

if (_SIV3D_LINUX_WINDOW_API_X11)
	option(_SIV3D_LINUX_WINDOW_API_X11 "Use X11 for window creation" ON)
	option(_SIV3D_LINUX_WINDOW_API_WAYLAND "Use Wayland for window creation" OFF)
	option(_SIV3D_LINUX_WINDOW_API_MIR "Use Mir for window creation" OFF)
elseif (_SIV3D_LINUX_WINDOW_API_WAYLAND)
	option(_SIV3D_LINUX_WINDOW_API_X11 "Use X11 for window creation" OFF)
	option(_SIV3D_LINUX_WINDOW_API_WAYLAND "Use Wayland for window creation" ON)
	option(_SIV3D_LINUX_WINDOW_API_MIR "Use Mir for window creation" OFF)
elseif (_SIV3D_LINUX_WINDOW_API_MIR)
	option(_SIV3D_LINUX_WINDOW_API_X11 "Use X11 for window creation" OFF)
	option(_SIV3D_LINUX_WINDOW_API_WAYLAND "Use Wayland for window creation" OFF)
	option(_SIV3D_LINUX_WINDOW_API_MIR "Use Mir for window creation" ON)
endif()
configure_file(./Siv3D_Linux_GLFW_Window_API.h.in ${CMAKE_CURRENT_SOURCE_DIR}/Siv3D_Linux_GLFW_Window_API.h)

pkg_check_modules(LIBSIV3D REQUIRED glib-2.0 gobject-2.0 gio-2.0 gl libpng libjpeg x11 xi xinerama xcursor xrandr)
include_directories(
	"/usr/include"

	"."
	"../Siv3D/Include"
	"../Siv3D/Source/ThirdParty/zstd"
	"../Siv3D/Source/ThirdParty/zstd/common"
	"../Siv3D/Source/ThirdParty/"

	${LIBSIV3D_INCLUDE_DIRS}
)

set(SOURCE_FILES
	"../Siv3D/Source/Siv3D/Base64/SivBase64.cpp"
	"../Siv3D/Source/Siv3D/BigFloat/SivBigFloat.cpp"
	"../Siv3D/Source/Siv3D/BigInt/SivBigInt.cpp"
	"../Siv3D/Source/Siv3D/BinaryReader/SivBinaryReader.cpp"
	"../Siv3D/Source/Siv3D/BinaryReader/CBinaryReader_Linux.cpp"
	"../Siv3D/Source/Siv3D/BinaryWriter/SivBinaryWriter.cpp"
	"../Siv3D/Source/Siv3D/BinaryWriter/CBinaryWriter_Linux.cpp"
	"../Siv3D/Source/Siv3D/ByteArray/CByteArray.cpp"
	"../Siv3D/Source/Siv3D/ByteArray/SivByteArray.cpp"
	"../Siv3D/Source/Siv3D/CharacterSet/SivCharacterSet.cpp"
	"../Siv3D/Source/Siv3D/Circle/SivCircle.cpp"
	"../Siv3D/Source/Siv3D/Clipboard/CClipboard_Linux.cpp"
	"../Siv3D/Source/Siv3D/Clipboard/ClipboardFactory.cpp"
	"../Siv3D/Source/Siv3D/Clipboard/SivClipboard.cpp"
	"../Siv3D/Source/Siv3D/Color/SivColor.cpp"
	"../Siv3D/Source/Siv3D/Compression/SivCompression.cpp"
	"../Siv3D/Source/Siv3D/Console/CConsole.cpp"
	"../Siv3D/Source/Siv3D/Console/ConsoleFactory.cpp"
	"../Siv3D/Source/Siv3D/Console/SivConsole.cpp"
	"../Siv3D/Source/Siv3D/Cursor/CCursor_Linux.cpp"
	"../Siv3D/Source/Siv3D/Cursor/CursorFactory.cpp"
	"../Siv3D/Source/Siv3D/Cursor/SivCursor.cpp"
	"../Siv3D/Source/Siv3D/Date/SivDate.cpp"
	"../Siv3D/Source/Siv3D/DateTime/SivDateTime.cpp"
	"../Siv3D/Source/Siv3D/DragDrop/CDragDrop_Linux.cpp"
	"../Siv3D/Source/Siv3D/DragDrop/DragDropFactory.cpp"
	"../Siv3D/Source/Siv3D/DragDrop/SivDragDrop.cpp"
	"../Siv3D/Source/Siv3D/EngineDirectory/EngineDirectory.cpp"
	"../Siv3D/Source/Siv3D/FileSystem/SivFileSystem.cpp"
	"../Siv3D/Source/Siv3D/FileSystem/SivFileSystem_Linux.cpp"
	"../Siv3D/Source/Siv3D/Format/SivFormat.cpp"
	"../Siv3D/Source/Siv3D/FormatBool/SivFormatBool.cpp"
	"../Siv3D/Source/Siv3D/FormatFloat/SivFormatFloat.cpp"
	"../Siv3D/Source/Siv3D/FormatInt/SivFormatInt.cpp"
	"../Siv3D/Source/Siv3D/Graphics/D3D11/CGraphics_D3D11.cpp"
	"../Siv3D/Source/Siv3D/Graphics/D3D11/Device/D3D11Device.cpp"
	"../Siv3D/Source/Siv3D/Graphics/D3D11/RenderTarget/D3D11RenderTarget.cpp"
	"../Siv3D/Source/Siv3D/Graphics/D3D11/SwapChain/D3D11SwapChain.cpp"
	"../Siv3D/Source/Siv3D/Graphics/GL/CGraphics_GL.cpp"
	"../Siv3D/Source/Siv3D/Graphics/GraphicsFactory.cpp"
	"../Siv3D/Source/Siv3D/Graphics/SivGraphics.cpp"
	"../Siv3D/Source/Siv3D/Geometry2D/SivGeometry2D.cpp"
	"../Siv3D/Source/Siv3D/HSV/SivHSV.cpp"
	"../Siv3D/Source/Siv3D/INIReader/CINIReader.cpp"
	"../Siv3D/Source/Siv3D/INIReader/SivINIReader.cpp"
	"../Siv3D/Source/Siv3D/Image/SivImage.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/BMP/ImageFormat_BMP.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/GIF/ImageFormat_GIF.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/JPEG/ImageFormat_JPEG.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/PNG/ImageFormat_PNG.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/CImageFormat.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/ImageFormatFactory.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/SivImageFormat.cpp"
	"../Siv3D/Source/Siv3D/Key/SivKey.cpp"
	"../Siv3D/Source/Siv3D/Keyboard/CKeyboard_Linux.cpp"
	"../Siv3D/Source/Siv3D/Keyboard/KeyboardFactory.cpp"
	"../Siv3D/Source/Siv3D/Line/SivLine.cpp"
	"../Siv3D/Source/Siv3D/Logger/CLogger.cpp"
	"../Siv3D/Source/Siv3D/Logger/LoggerFactory.cpp"
	"../Siv3D/Source/Siv3D/Logger/SivLogger.cpp"
	"../Siv3D/Source/Siv3D/MD5/SivMD5.cpp"
	"../Siv3D/Source/Siv3D/MathParser/CMathParser.cpp"
	"../Siv3D/Source/Siv3D/MathParser/SivMathParser.cpp"
	"../Siv3D/Source/Siv3D/MemoryMapping/CMemoryMapping.cpp"
	"../Siv3D/Source/Siv3D/MemoryMapping/SivMemoryMapping.cpp"
	"../Siv3D/Source/Siv3D/MemoryWriter/CMemoryWriter.cpp"
	"../Siv3D/Source/Siv3D/MemoryWriter/SivMemoryWriter.cpp"
	"../Siv3D/Source/Siv3D/MessageBox/SivMessageBox_Linux.cpp"
	"../Siv3D/Source/Siv3D/Monitor/SivMonitor.cpp"
	"../Siv3D/Source/Siv3D/Mouse/CMouse_Linux.cpp"
	"../Siv3D/Source/Siv3D/Mouse/MouseFactory.cpp"
	"../Siv3D/Source/Siv3D/Mouse/SivMouse.cpp"
	"../Siv3D/Source/Siv3D/ParseFloat/SivParseFloat.cpp"
	"../Siv3D/Source/Siv3D/PerlinNoise/SivPerlinNoise.cpp"
	"../Siv3D/Source/Siv3D/Point/SivPoint.cpp"
	"../Siv3D/Source/Siv3D/Profiler/CProfiler.cpp"
	"../Siv3D/Source/Siv3D/Profiler/ProfilerFactory.cpp"
	"../Siv3D/Source/Siv3D/Profiler/SivProfiler.cpp"
	"../Siv3D/Source/Siv3D/Rectangle/SivRectangle.cpp"
	"../Siv3D/Source/Siv3D/Resource/SivResource.cpp"
	"../Siv3D/Source/Siv3D/Siv3DEngine.cpp"
	"../Siv3D/Source/Siv3D/Stopwatch/SivStopwatch.cpp"
	"../Siv3D/Source/Siv3D/String/SivString.cpp"
	"../Siv3D/Source/Siv3D/System/CSystem_Linux.cpp"
	"../Siv3D/Source/Siv3D/System/SystemFactory.cpp"
	"../Siv3D/Source/Siv3D/System/SivSystem.cpp"
	"../Siv3D/Source/Siv3D/CharacterEncoding/SivCharacterEncoding.cpp"
	"../Siv3D/Source/Siv3D/TextReader/CTextReader.cpp"
	"../Siv3D/Source/Siv3D/TextReader/CTextReader_Linux.cpp"
	"../Siv3D/Source/Siv3D/TextReader/SivTextReader.cpp"
	"../Siv3D/Source/Siv3D/TextWriter/CTextWriter.cpp"
	"../Siv3D/Source/Siv3D/TextWriter/SivTextWriter.cpp"
	"../Siv3D/Source/Siv3D/Texture/TextureFactory.cpp"
	"../Siv3D/Source/Siv3D/Threading/SivThreading.cpp"
	"../Siv3D/Source/Siv3D/Time/SivTime.cpp"
	"../Siv3D/Source/Siv3D/TimeProfiler/SivTimeProfiler.cpp"
	"../Siv3D/Source/Siv3D/Triangle/SivTriangle.cpp"
	"../Siv3D/Source/Siv3D/Vector2D/SivVector2D.cpp"
	"../Siv3D/Source/Siv3D/Vector3D/SivVector3D.cpp"
	"../Siv3D/Source/Siv3D/Vector4D/SivVector4D.cpp"
	"../Siv3D/Source/Siv3D/Window/CWindow_Linux.cpp"
	"../Siv3D/Source/Siv3D/Window/SivWindow.cpp"
	"../Siv3D/Source/Siv3D/Window/WindowFactory.cpp"
	"../Siv3D/Source/Siv3D/WritableMemoryMapping/CWritableMemoryMapping.cpp"
	"../Siv3D/Source/Siv3D/WritableMemoryMapping/SivWritableMemoryMapping.cpp"
	"../Siv3D/Source/Siv3D/XXHash/SivXXHash.cpp"

	"../Siv3D/Source/Siv3D/Siv3DMain_Linux.cpp"

	"../Siv3D/Source/ThirdParty/double-conversion/bignum-dtoa.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/bignum.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/cached-powers.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/diy-fp.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/double-conversion.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/fast-dtoa.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/fixed-dtoa.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/strtod.cc"
	"../Siv3D/Source/ThirdParty/fmt/format.cc"
	"../Siv3D/Source/ThirdParty/md5/md5.cpp"<commit_msg>CMakeLists.txt<commit_after>cmake_minimum_required(VERSION 2.8)

find_package(PkgConfig)

project(OpenSiv3D_Linux CXX)
enable_language(C)

#set(CMAKE_CXX_COMPILER "clang++")
set(CMAKE_CXX_COMPILER "g++")
set(CMAKE_CXX_FLAGS "-std=c++17 -Wall -Wextra -Wno-unknown-pragmas")
set(CMAKE_CXX_FLAGS_DEBUG "-g3 -O0 -pg")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -march=native")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g3 -Og -pg")
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG -march=native")

#set(CMAKE_BUILD_TYPE Release)

# In current version, Wayland and Mir are not supported.
set(_SIV3D_LINUX_WINDOW_API_X11 "Use X11 for window creation" ON)
# set(_SIV3D_LINUX_WINDOW_API_WAYLAND "Use Wayland for window creation" OFF)
# set(_SIV3D_LINUX_WINDOW_API_MIR "Use Mir for window creation" OFF)

if (_SIV3D_LINUX_WINDOW_API_X11)
	option(_SIV3D_LINUX_WINDOW_API_X11 "Use X11 for window creation" ON)
	option(_SIV3D_LINUX_WINDOW_API_WAYLAND "Use Wayland for window creation" OFF)
	option(_SIV3D_LINUX_WINDOW_API_MIR "Use Mir for window creation" OFF)
elseif (_SIV3D_LINUX_WINDOW_API_WAYLAND)
	option(_SIV3D_LINUX_WINDOW_API_X11 "Use X11 for window creation" OFF)
	option(_SIV3D_LINUX_WINDOW_API_WAYLAND "Use Wayland for window creation" ON)
	option(_SIV3D_LINUX_WINDOW_API_MIR "Use Mir for window creation" OFF)
elseif (_SIV3D_LINUX_WINDOW_API_MIR)
	option(_SIV3D_LINUX_WINDOW_API_X11 "Use X11 for window creation" OFF)
	option(_SIV3D_LINUX_WINDOW_API_WAYLAND "Use Wayland for window creation" OFF)
	option(_SIV3D_LINUX_WINDOW_API_MIR "Use Mir for window creation" ON)
endif()
configure_file(./Siv3D_Linux_GLFW_Window_API.h.in ${CMAKE_CURRENT_SOURCE_DIR}/Siv3D_Linux_GLFW_Window_API.h)

pkg_check_modules(LIBSIV3D REQUIRED glib-2.0 gobject-2.0 gio-2.0 gl libpng libjpeg x11 xi xinerama xcursor xrandr)
include_directories(
	"/usr/include"

	"."
	"../Siv3D/Include"
	"../Siv3D/Source/ThirdParty/zstd"
	"../Siv3D/Source/ThirdParty/zstd/common"
	"../Siv3D/Source/ThirdParty/"

	${LIBSIV3D_INCLUDE_DIRS}
)

set(SOURCE_FILES
	"../Siv3D/Source/Siv3D/Base64/SivBase64.cpp"
	"../Siv3D/Source/Siv3D/BigFloat/SivBigFloat.cpp"
	"../Siv3D/Source/Siv3D/BigInt/SivBigInt.cpp"
	"../Siv3D/Source/Siv3D/BinaryReader/SivBinaryReader.cpp"
	"../Siv3D/Source/Siv3D/BinaryReader/CBinaryReader_Linux.cpp"
	"../Siv3D/Source/Siv3D/BinaryWriter/SivBinaryWriter.cpp"
	"../Siv3D/Source/Siv3D/BinaryWriter/CBinaryWriter_Linux.cpp"
	"../Siv3D/Source/Siv3D/ByteArray/CByteArray.cpp"
	"../Siv3D/Source/Siv3D/ByteArray/SivByteArray.cpp"
	"../Siv3D/Source/Siv3D/CharacterSet/SivCharacterSet.cpp"
	"../Siv3D/Source/Siv3D/Circle/SivCircle.cpp"
	"../Siv3D/Source/Siv3D/Clipboard/CClipboard_Linux.cpp"
	"../Siv3D/Source/Siv3D/Clipboard/ClipboardFactory.cpp"
	"../Siv3D/Source/Siv3D/Clipboard/SivClipboard.cpp"
	"../Siv3D/Source/Siv3D/Color/SivColor.cpp"
	"../Siv3D/Source/Siv3D/Compression/SivCompression.cpp"
	"../Siv3D/Source/Siv3D/Console/CConsole.cpp"
	"../Siv3D/Source/Siv3D/Console/ConsoleFactory.cpp"
	"../Siv3D/Source/Siv3D/Console/SivConsole.cpp"
	"../Siv3D/Source/Siv3D/Cursor/CCursor_Linux.cpp"
	"../Siv3D/Source/Siv3D/Cursor/CursorFactory.cpp"
	"../Siv3D/Source/Siv3D/Cursor/SivCursor.cpp"
	"../Siv3D/Source/Siv3D/Date/SivDate.cpp"
	"../Siv3D/Source/Siv3D/DateTime/SivDateTime.cpp"
	"../Siv3D/Source/Siv3D/DragDrop/CDragDrop_Linux.cpp"
	"../Siv3D/Source/Siv3D/DragDrop/DragDropFactory.cpp"
	"../Siv3D/Source/Siv3D/DragDrop/SivDragDrop.cpp"
	"../Siv3D/Source/Siv3D/EngineDirectory/EngineDirectory.cpp"
	"../Siv3D/Source/Siv3D/FileSystem/SivFileSystem.cpp"
	"../Siv3D/Source/Siv3D/FileSystem/SivFileSystem_Linux.cpp"
	"../Siv3D/Source/Siv3D/Format/SivFormat.cpp"
	"../Siv3D/Source/Siv3D/FormatBool/SivFormatBool.cpp"
	"../Siv3D/Source/Siv3D/FormatFloat/SivFormatFloat.cpp"
	"../Siv3D/Source/Siv3D/FormatInt/SivFormatInt.cpp"
	"../Siv3D/Source/Siv3D/Graphics/D3D11/CGraphics_D3D11.cpp"
	"../Siv3D/Source/Siv3D/Graphics/D3D11/Device/D3D11Device.cpp"
	"../Siv3D/Source/Siv3D/Graphics/D3D11/RenderTarget/D3D11RenderTarget.cpp"
	"../Siv3D/Source/Siv3D/Graphics/D3D11/SwapChain/D3D11SwapChain.cpp"
	"../Siv3D/Source/Siv3D/Graphics/GL/CGraphics_GL.cpp"
	"../Siv3D/Source/Siv3D/Graphics/GraphicsFactory.cpp"
	"../Siv3D/Source/Siv3D/Graphics/SivGraphics.cpp"
	"../Siv3D/Source/Siv3D/Geometry2D/SivGeometry2D.cpp"
	"../Siv3D/Source/Siv3D/HSV/SivHSV.cpp"
	"../Siv3D/Source/Siv3D/INIReader/CINIReader.cpp"
	"../Siv3D/Source/Siv3D/INIReader/SivINIReader.cpp"
	"../Siv3D/Source/Siv3D/Image/SivImage.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/BMP/ImageFormat_BMP.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/GIF/ImageFormat_GIF.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/JPEG/ImageFormat_JPEG.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/PNG/ImageFormat_PNG.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/CImageFormat.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/ImageFormatFactory.cpp"
	"../Siv3D/Source/Siv3D/ImageFormat/SivImageFormat.cpp"
	"../Siv3D/Source/Siv3D/Key/SivKey.cpp"
	"../Siv3D/Source/Siv3D/Keyboard/CKeyboard_Linux.cpp"
	"../Siv3D/Source/Siv3D/Keyboard/KeyboardFactory.cpp"
	"../Siv3D/Source/Siv3D/Line/SivLine.cpp"
	"../Siv3D/Source/Siv3D/Logger/CLogger.cpp"
	"../Siv3D/Source/Siv3D/Logger/LoggerFactory.cpp"
	"../Siv3D/Source/Siv3D/Logger/SivLogger.cpp"
	"../Siv3D/Source/Siv3D/MD5/SivMD5.cpp"
	"../Siv3D/Source/Siv3D/MathParser/CMathParser.cpp"
	"../Siv3D/Source/Siv3D/MathParser/SivMathParser.cpp"
	"../Siv3D/Source/Siv3D/MemoryMapping/CMemoryMapping.cpp"
	"../Siv3D/Source/Siv3D/MemoryMapping/SivMemoryMapping.cpp"
	"../Siv3D/Source/Siv3D/MemoryWriter/CMemoryWriter.cpp"
	"../Siv3D/Source/Siv3D/MemoryWriter/SivMemoryWriter.cpp"
	"../Siv3D/Source/Siv3D/MessageBox/SivMessageBox_Linux.cpp"
	"../Siv3D/Source/Siv3D/Monitor/SivMonitor.cpp"
	"../Siv3D/Source/Siv3D/Mouse/CMouse_Linux.cpp"
	"../Siv3D/Source/Siv3D/Mouse/MouseFactory.cpp"
	"../Siv3D/Source/Siv3D/Mouse/SivMouse.cpp"
	"../Siv3D/Source/Siv3D/ParseFloat/SivParseFloat.cpp"
	"../Siv3D/Source/Siv3D/PerlinNoise/SivPerlinNoise.cpp"
	"../Siv3D/Source/Siv3D/Point/SivPoint.cpp"
	"../Siv3D/Source/Siv3D/Profiler/CProfiler.cpp"
	"../Siv3D/Source/Siv3D/Profiler/ProfilerFactory.cpp"
	"../Siv3D/Source/Siv3D/Profiler/SivProfiler.cpp"
	"../Siv3D/Source/Siv3D/Rectangle/SivRectangle.cpp"
	"../Siv3D/Source/Siv3D/Resource/SivResource.cpp"
	"../Siv3D/Source/Siv3D/Siv3DEngine.cpp"
	"../Siv3D/Source/Siv3D/Stopwatch/SivStopwatch.cpp"
	"../Siv3D/Source/Siv3D/String/SivString.cpp"
	"../Siv3D/Source/Siv3D/System/CSystem_Linux.cpp"
	"../Siv3D/Source/Siv3D/System/SystemFactory.cpp"
	"../Siv3D/Source/Siv3D/System/SivSystem.cpp"
	"../Siv3D/Source/Siv3D/CharacterEncoding/SivCharacterEncoding.cpp"
	"../Siv3D/Source/Siv3D/TextReader/CTextReader.cpp"
	"../Siv3D/Source/Siv3D/TextReader/CTextReader_Linux.cpp"
	"../Siv3D/Source/Siv3D/TextReader/SivTextReader.cpp"
	"../Siv3D/Source/Siv3D/TextWriter/CTextWriter.cpp"
	"../Siv3D/Source/Siv3D/TextWriter/SivTextWriter.cpp"
	"../Siv3D/Source/Siv3D/Texture/GL/CTextureGL.cpp"
	"../Siv3D/Source/Siv3D/Texture/SivTexture.cpp"
	"../Siv3D/Source/Siv3D/Texture/TextureFactory.cpp"
	"../Siv3D/Source/Siv3D/Threading/SivThreading.cpp"
	"../Siv3D/Source/Siv3D/Time/SivTime.cpp"
	"../Siv3D/Source/Siv3D/TimeProfiler/SivTimeProfiler.cpp"
	"../Siv3D/Source/Siv3D/Triangle/SivTriangle.cpp"
	"../Siv3D/Source/Siv3D/Vector2D/SivVector2D.cpp"
	"../Siv3D/Source/Siv3D/Vector3D/SivVector3D.cpp"
	"../Siv3D/Source/Siv3D/Vector4D/SivVector4D.cpp"
	"../Siv3D/Source/Siv3D/Window/CWindow_Linux.cpp"
	"../Siv3D/Source/Siv3D/Window/SivWindow.cpp"
	"../Siv3D/Source/Siv3D/Window/WindowFactory.cpp"
	"../Siv3D/Source/Siv3D/WritableMemoryMapping/CWritableMemoryMapping.cpp"
	"../Siv3D/Source/Siv3D/WritableMemoryMapping/SivWritableMemoryMapping.cpp"
	"../Siv3D/Source/Siv3D/XXHash/SivXXHash.cpp"

	"../Siv3D/Source/Siv3D/Siv3DMain_Linux.cpp"

	"../Siv3D/Source/ThirdParty/double-conversion/bignum-dtoa.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/bignum.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/cached-powers.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/diy-fp.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/double-conversion.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/fast-dtoa.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/fixed-dtoa.cc"
	"../Siv3D/Source/ThirdParty/double-conversion/strtod.cc"
	"../Siv3D/Source/ThirdParty/fmt/format.cc"
	"../Siv3D/Source/ThirdParty/md5/md5.cpp"
{'fraction_non_alphanumeric': 0.1692047377326565, 'fraction_numerical': 0.03940053178631859, 'mean_word_length': 4.700654495349638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6159233', 'n_tokens_mistral': 7985, 'n_tokens_neox': 7829, 'n_words': 547}