<commit_before>PROJECT(qscintilla-sharp)

IF (NOT QSCINTILLA_FOUND)
	FIND_PACKAGE(QScintilla REQUIRED)
ENDIF (NOT QSCINTILLA_FOUND)

IF (NOT QT4_FOUND)
	FIND_PACKAGE(Qt4 REQUIRED)
ENDIF (NOT QT4_FOUND)

SET(SRC_CPP src/qscintilla.cpp)

SET(SRC_CS src/SmokeInvocationQsci.cs
	src/AssemblyInfo.cs
	qsci/*.cs)

INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/smoke ${CMAKE_SOURCE_DIR}/smoke/qt ${CMAKE_SOURCE_DIR}/smoke/qsci
	${CMAKE_CURRENT_SOURCE_DIR}/../qyoto/src ${QT_INCLUDES})
LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
ADD_LIBRARY(qscintilla-sharp MODULE ${SRC_CPP})
TARGET_LINK_LIBRARIES(qscintilla-sharp smokeqt smokeqsci qyotoshared ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})

SET(CS_FLAGS -r:${LIBRARY_OUTPUT_PATH}/qt-dotnet.dll -warn:0 -keyfile:${KEYFILE})
ADD_CS_LIBRARY(qscintilla "${SRC_CS}" ALL)
ADD_DEPENDENCIES(qscintilla qscintilla-sharp)

INSTALL(TARGETS qscintilla-sharp LIBRARY DESTINATION ${LIB_INSTALL_DIR})
INSTALL_GAC(qscintilla)<commit_msg>- Proper dependency<commit_after>PROJECT(qscintilla-sharp)

IF (NOT QSCINTILLA_FOUND)
	FIND_PACKAGE(QScintilla REQUIRED)
ENDIF (NOT QSCINTILLA_FOUND)

IF (NOT QT4_FOUND)
	FIND_PACKAGE(Qt4 REQUIRED)
ENDIF (NOT QT4_FOUND)

SET(SRC_CPP src/qscintilla.cpp)

SET(SRC_CS src/SmokeInvocationQsci.cs
	src/AssemblyInfo.cs
	qsci/*.cs)

INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/smoke ${CMAKE_SOURCE_DIR}/smoke/qt ${CMAKE_SOURCE_DIR}/smoke/qsci
	${CMAKE_CURRENT_SOURCE_DIR}/../qyoto/src ${QT_INCLUDES})
LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
ADD_LIBRARY(qscintilla-sharp MODULE ${SRC_CPP})
TARGET_LINK_LIBRARIES(qscintilla-sharp smokeqt smokeqsci qyotoshared ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})

SET(CS_FLAGS -r:${LIBRARY_OUTPUT_PATH}/qt-dotnet.dll -warn:0 -keyfile:${KEYFILE})
ADD_CS_LIBRARY(qscintilla "${SRC_CS}" ALL)
ADD_DEPENDENCIES(qscintilla-sharp smokeqsci)

INSTALL(TARGETS qscintilla-sharp LIBRARY DESTINATION ${LIB_INSTALL_DIR})
INSTALL_GAC(qscintilla)
{'fraction_non_alphanumeric': 0.11866178776790381, 'fraction_numerical': 0.004181913225300575, 'mean_word_length': 8.96875, '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': '5738115', 'n_tokens_mistral': 888, 'n_tokens_neox': 810, 'n_words': 109}