<commit_before>SET( LIBRARY_VERSION "0.1.0" )

SET( HEADER_PATH ${PROJECT_SOURCE_DIR}/include/osre )
add_definitions( -DOSRE_BUILD_EXPORT )

INCLUDE_DIRECTORIES(
    ${PROJECT_SOURCE_DIR}
    ${HEADER_PATH}
    ${PROJECT_SOURCE_DIR}/contrib/cppcore/include
    ${PROJECT_SOURCE_DIR}/contrib/glew/include
    ${PROJECT_SOURCE_DIR}/contrib/glm/
    ${PROJECT_SOURCE_DIR}/contrib/unzip/
    ${PROJECT_SOURCE_DIR}/contrib/zlib/
    ${PROJECT_SOURCE_DIR}/contrib/assimp/include
)

# For Vulkan support
if( NOT USE_PLATFORM MATCHES "VK_USE_PLATFORM_.*" )
    if( WIN32 )
        set( USE_PLATFORM "VK_USE_PLATFORM_WIN32_KHR" )
    elseif( UNIX )
        set( USE_PLATFORM "VK_USE_PLATFORM_XCB_KHR" )
    endif()
endif()

IF( WIN32 )
    SET( platform_libs comctl32.lib Winmm.lib opengl32.lib glu32.lib Shcore.lib SDL2 )
ELSE( WIN32 )
    SET( platform_libs SDL2 )
ENDIF( WIN32 )

#==============================================================================
# App
#==============================================================================
SET( app_inc
    ${HEADER_PATH}/App/App.h
    ${HEADER_PATH}/App/AppCommon.h
    ${HEADER_PATH}/App/AbstractBehaviour.h
    ${HEADER_PATH}/App/Node.h
    ${HEADER_PATH}/App/TrackBall.h
    ${HEADER_PATH}/App/Camera.h
    ${HEADER_PATH}/App/TAABB.h
    ${HEADER_PATH}/App/TQuadTree.h
    ${HEADER_PATH}/App/ParticleEmitter.h
    ${HEADER_PATH}/App/AppBase.h
    ${HEADER_PATH}/App/Component.h
    ${HEADER_PATH}/App/Entity.h
    ${HEADER_PATH}/App/ModuleBase.h
    ${HEADER_PATH}/App/IModuleView.h
    ${HEADER_PATH}/App/ServiceProvider.h
    ${HEADER_PATH}/App/Project.h
    ${HEADER_PATH}/App/TAbstractCtrlBase.h
    ${HEADER_PATH}/App/ResourceCacheService.h
    ${HEADER_PATH}/App/AssetsCommon.h
    ${HEADER_PATH}/App/AssetRegistry.h
    ${HEADER_PATH}/App/AssimpWrapper.h
    ${HEADER_PATH}/App/Stage.h
    ${HEADER_PATH}/App/TransformController.h
    ${HEADER_PATH}/App/World.h
)

SET( app_src
    App/Node.cpp
    App/TrackBall.cpp
    App/Camera.cpp
    App/ParticleEmitter.cpp
    App/AppBase.cpp
    App/Component.cpp
    App/Entity.cpp
    App/ModuleBase.cpp
    App/ServiceProvider.cpp
    App/Project.cpp
    App/AssetRegistry.cpp
    App/AssimpWrapper.cpp
    App/World.cpp
    App/Stage.cpp
    App/MouseEventListener.cpp
    App/MouseEventListener.h
    App/TransformController.cpp
)

#==============================================================================
# Common
#==============================================================================
SET( common_inc
    ${HEADER_PATH}/Common/Common.h
    ${HEADER_PATH}/Common/Environment.h
    ${HEADER_PATH}/Common/AbstractEventHandler.h
    ${HEADER_PATH}/Common/AbstractProcessor.h
    ${HEADER_PATH}/Common/ArgumentParser.h
    ${HEADER_PATH}/Common/AbstractService.h
    ${HEADER_PATH}/Common/ColorRGBA.h
    ${HEADER_PATH}/Common/DateTime.h
    ${HEADER_PATH}/Common/Event.h
    ${HEADER_PATH}/Common/EventBus.h
    ${HEADER_PATH}/Common/EventTriggerer.h
    ${HEADER_PATH}/Common/Frustum.h
    ${HEADER_PATH}/Common/Ids.h
    ${HEADER_PATH}/Common/Logger.h
    ${HEADER_PATH}/Common/Object.h
    ${HEADER_PATH}/Common/StringUtils.h
    ${HEADER_PATH}/Common/TFunctor.h
    ${HEADER_PATH}/Common/TResource.h
    ${HEADER_PATH}/Common/TResourceCache.h
    ${HEADER_PATH}/Common/TObjPtr.h
    ${HEADER_PATH}/Common/Tokenizer.h
    ${HEADER_PATH}/Common/osre_common.h
    ${HEADER_PATH}/Common/glm_common.h
    ${HEADER_PATH}/Common/BaseMath.h
    ${HEADER_PATH}/Common/TRay.h
)
SET( common_src
    Common/ArgumentParser.cpp
    Common/BaseMath.cpp
    Common/Common.cpp
    Common/DateTime.cpp<commit_msg>Update CMakeLists.txt<commit_after>SET( LIBRARY_VERSION "0.1.0" )

SET( HEADER_PATH ${PROJECT_SOURCE_DIR}/include/osre )
add_definitions( -DOSRE_BUILD_EXPORT )

INCLUDE_DIRECTORIES(
    ${PROJECT_SOURCE_DIR}
    ${HEADER_PATH}
    ${PROJECT_SOURCE_DIR}/contrib/cppcore/include
    ${PROJECT_SOURCE_DIR}/contrib/glew/include
    ${PROJECT_SOURCE_DIR}/contrib/glm/
    ${PROJECT_SOURCE_DIR}/contrib/unzip/
    ${PROJECT_SOURCE_DIR}/contrib/zlib/
    ${PROJECT_SOURCE_DIR}/contrib/assimp/include
)

# For Vulkan support
if( NOT USE_PLATFORM MATCHES "VK_USE_PLATFORM_.*" )
    if( WIN32 )
        set( USE_PLATFORM "VK_USE_PLATFORM_WIN32_KHR" )
    elseif( UNIX )
        set( USE_PLATFORM "VK_USE_PLATFORM_XCB_KHR" )
    endif()
endif()

IF( WIN32 )
    SET( platform_libs comctl32.lib Winmm.lib opengl32.lib glu32.lib Shcore.lib SDL2 )
ELSE( WIN32 )
    SET( platform_libs SDL2 )
ENDIF( WIN32 )

#==============================================================================
# App
#==============================================================================
SET( app_inc
    ${HEADER_PATH}/App/App.h
    ${HEADER_PATH}/App/AppCommon.h
    ${HEADER_PATH}/App/AbstractBehaviour.h
    ${HEADER_PATH}/App/Node.h
    ${HEADER_PATH}/App/TrackBall.h
    ${HEADER_PATH}/App/Camera.h
    ${HEADER_PATH}/App/TQuadTree.h
    ${HEADER_PATH}/App/ParticleEmitter.h
    ${HEADER_PATH}/App/AppBase.h
    ${HEADER_PATH}/App/Component.h
    ${HEADER_PATH}/App/Entity.h
    ${HEADER_PATH}/App/ModuleBase.h
    ${HEADER_PATH}/App/IModuleView.h
    ${HEADER_PATH}/App/ServiceProvider.h
    ${HEADER_PATH}/App/Project.h
    ${HEADER_PATH}/App/TAbstractCtrlBase.h
    ${HEADER_PATH}/App/ResourceCacheService.h
    ${HEADER_PATH}/App/AssetsCommon.h
    ${HEADER_PATH}/App/AssetRegistry.h
    ${HEADER_PATH}/App/AssimpWrapper.h
    ${HEADER_PATH}/App/Stage.h
    ${HEADER_PATH}/App/TransformController.h
    ${HEADER_PATH}/App/World.h
)

SET( app_src
    App/Node.cpp
    App/TrackBall.cpp
    App/Camera.cpp
    App/ParticleEmitter.cpp
    App/AppBase.cpp
    App/Component.cpp
    App/Entity.cpp
    App/ModuleBase.cpp
    App/ServiceProvider.cpp
    App/Project.cpp
    App/AssetRegistry.cpp
    App/AssimpWrapper.cpp
    App/World.cpp
    App/Stage.cpp
    App/MouseEventListener.cpp
    App/MouseEventListener.h
    App/TransformController.cpp
)

#==============================================================================
# Common
#==============================================================================
SET( common_inc
    ${HEADER_PATH}/Common/Common.h
    ${HEADER_PATH}/Common/Environment.h
    ${HEADER_PATH}/Common/AbstractEventHandler.h
    ${HEADER_PATH}/Common/AbstractProcessor.h
    ${HEADER_PATH}/Common/ArgumentParser.h
    ${HEADER_PATH}/Common/AbstractService.h
    ${HEADER_PATH}/Common/ColorRGBA.h
    ${HEADER_PATH}/Common/DateTime.h
    ${HEADER_PATH}/Common/Event.h
    ${HEADER_PATH}/Common/EventBus.h
    ${HEADER_PATH}/Common/EventTriggerer.h
    ${HEADER_PATH}/Common/Frustum.h
    ${HEADER_PATH}/Common/Ids.h
    ${HEADER_PATH}/Common/Logger.h
    ${HEADER_PATH}/Common/Object.h
    ${HEADER_PATH}/Common/StringUtils.h
    ${HEADER_PATH}/Common/TAABB.h
    ${HEADER_PATH}/Common/TFunctor.h
    ${HEADER_PATH}/Common/TResource.h
    ${HEADER_PATH}/Common/TResourceCache.h
    ${HEADER_PATH}/Common/TObjPtr.h
    ${HEADER_PATH}/Common/Tokenizer.h
    ${HEADER_PATH}/Common/osre_common.h
    ${HEADER_PATH}/Common/glm_common.h
    ${HEADER_PATH}/Common/BaseMath.h
    ${HEADER_PATH}/Common/TRay.h
)
SET( common_src
    Common/ArgumentParser.cpp
    Common/BaseMath.cpp
    Common/Common.cpp
    Common/DateTime.cpp
{'fraction_non_alphanumeric': 0.21037384466823011, 'fraction_numerical': 0.005793902607256173, 'mean_word_length': 3.955570745044429, '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': '208547', 'n_tokens_mistral': 2503, 'n_tokens_neox': 2431, 'n_words': 268}