<commit_before># Define target name and output directory
init_target (SceneStructureModule OUTPUT modules/core)

MocFolder ()

# Define source files
file (GLOB CPP_FILES *.cpp)
file (GLOB H_FILES *.h)
file (GLOB XML_FILES *.xml)
file (GLOB MOC_FILES SceneStructureModule.h SceneStructureWindow.h SceneTreeWidget.h AddContentWindow.h)
set (SOURCE_FILES ${CPP_FILES} ${H_FILES})

set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${H_FILES} ${CPP_FILES} PARENT_SCOPE)

# Qt4 Wrap
QT4_WRAP_CPP(MOC_SRCS ${MOC_FILES})

use_package_assimp()

use_modules (Core Foundation Interfaces Ui Input SceneManager ECEditorModule TundraLogicModule
    OgreRenderingModule AssetModule)

build_library (${TARGET_NAME} SHARED ${SOURCE_FILES} ${MOC_SRCS} ${UI_SRCS})

LinkEntityComponent(EntityComponents/EC_DynamicComponent EC_DynamicComponent)
GetOpenAssetImport()
GetOgreAssetEditor()

link_modules (Core Foundation Interfaces Ui Input SceneManager ECEditorModule TundraLogicModule
    OgreRenderingModule)

link_ogre()

SetupCompileFlagsWithPCH()
CopyModuleXMLFile()

final_target ()
<commit_msg>SceneStructureModule properly depends on OgreAssetEditorModule when OGREASSETEDITOR is enabled.<commit_after># Define target name and output directory
init_target (SceneStructureModule OUTPUT modules/core)

MocFolder ()

# Define source files
file (GLOB CPP_FILES *.cpp)
file (GLOB H_FILES *.h)
file (GLOB XML_FILES *.xml)
file (GLOB MOC_FILES SceneStructureModule.h SceneStructureWindow.h SceneTreeWidget.h AddContentWindow.h)
set (SOURCE_FILES ${CPP_FILES} ${H_FILES})

set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${H_FILES} ${CPP_FILES} PARENT_SCOPE)

# Qt4 Wrap
QT4_WRAP_CPP(MOC_SRCS ${MOC_FILES})

use_package_assimp()

use_modules (Core Foundation Interfaces Ui Input SceneManager ECEditorModule TundraLogicModule
    OgreRenderingModule AssetModule)

if (OGREASSETEDITOR)
use_modules(OgreAssetEditorModule RexCommon)
endif()

build_library (${TARGET_NAME} SHARED ${SOURCE_FILES} ${MOC_SRCS} ${UI_SRCS})

LinkEntityComponent(EntityComponents/EC_DynamicComponent EC_DynamicComponent)
GetOpenAssetImport()
GetOgreAssetEditor()

link_modules (Core Foundation Interfaces Ui Input SceneManager ECEditorModule TundraLogicModule
    OgreRenderingModule)

if (OGREASSETEDITOR)
link_modules(OgreAssetEditorModule)
endif()

link_ogre()

SetupCompileFlagsWithPCH()
CopyModuleXMLFile()

final_target ()

{'fraction_non_alphanumeric': 0.07957894736842105, 'fraction_numerical': 0.0016842105263157896, 'mean_word_length': 8.31764705882353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2745361', 'n_tokens_mistral': 832, 'n_tokens_neox': 765, 'n_words': 185}