<commit_before>include(${SOFA_CMAKE_DIR}/preProject.cmake)

set(HEADER_FILES

    MyBehaviorModel.h 
    MyDataWidgetUnsigned.h 
    MyMappingPendulumInPlane.h 
    MyMappingPendulumInPlane.inl 
    MyProjectiveConstraintSet.h 
    MyProjectiveConstraintSet.inl 
	initPlugin.h

	)

set(SOURCE_FILES

    MyBehaviorModel.cpp 
    MyDataWidgetUnsigned.cpp 
    MyProjectiveConstraintSet.cpp 
    MyMappingPendulumInPlane.cpp 
    initPlugin.cpp

	)

set(README_FILES

	PluginExample.txt
	)
	

add_library(${PROJECT_NAME} SHARED ${HEADER_FILES} ${MOC_FILES} ${SOURCE_FILES} ${README_FILES})

AddCompilerDefinitions("SOFA_BUILD_PLUGINEXAMPLE")
AddLinkerDependencies(SofaGuiQt)

include(${SOFA_CMAKE_DIR}/postProject.cmake)<commit_msg>r10769/sofa : FIX: PluginExample compilation on Windows (and maybe runtime for Linux)<commit_after>include(${SOFA_CMAKE_DIR}/preProject.cmake)

set(HEADER_FILES

    MyDataWidgetUnsigned.h 

	)

set(SOURCE_FILES

    MyBehaviorModel.cpp 
    MyDataWidgetUnsigned.cpp 
    MyProjectiveConstraintSet.cpp 
    MyMappingPendulumInPlane.cpp 
    initPlugin.cpp

	)

set(README_FILES

	PluginExample.txt

	)

UseQt()

SOFA_QT4_WRAP_CPP(MOC_FILES ${HEADER_FILES})

# make mocced header files path from absolute to relative
ToRelativePath(MOC_FILES "${CMAKE_CURRENT_SOURCE_DIR}" "${MOC_FILES}")

# these header files do not need MOCcing
list(APPEND HEADER_FILES

	MyBehaviorModel.h 
    MyMappingPendulumInPlane.h 
    MyMappingPendulumInPlane.inl 
    MyProjectiveConstraintSet.h 
    MyProjectiveConstraintSet.inl 
	initPlugin.h

	)

set(MOC_FILES_GROUP "Generated")

add_library(${PROJECT_NAME} SHARED ${HEADER_FILES} ${MOC_FILES} ${SOURCE_FILES} ${README_FILES})

AddCompilerDefinitions("SOFA_BUILD_PLUGINEXAMPLE")
AddLinkerDependencies(SofaGuiQt)

include(${SOFA_CMAKE_DIR}/postProject.cmake)
{'fraction_non_alphanumeric': 0.08246289169873557, 'fraction_numerical': 0.003298515667949423, 'mean_word_length': 5.5, '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': '5388920', 'n_tokens_mistral': 707, 'n_tokens_neox': 634, 'n_words': 87}