<commit_before>#############################################################################
# Input files.
set( Application_SOURCES
       mvdApplication.cxx
       mvdImageModel.cxx
       mvdMainWindow.cxx
)
set( Application_HEADERS
       mvdApplication.h
       mvdImageModel.h
       mvdMainWindow.h
)
set( Application_FORMS
       mvdMainWindow.ui
)
set( Application_RESOURCES
)

#############################################################################
# Qt4 wrapped files.
qt4_wrap_cpp( Application_HEADERS_MOC ${Application_HEADERS} )
qt4_wrap_ui( Application_FORMS_HEADERS ${Application_FORMS}  )
qt4_add_resources( Application_RESOURCES_RCC ${Application_RESOURCES} )

#############################################################################
# Sources files to translate.
add_to_qt4_i18n_sources(
  ${Application_SOURCES}
  ${Application_HEADERS}
  ${Application_FORMS}
)

#############################################################################
# Monteverdi2_Application library
# STATIC so that the monteverdi2 executable does not depend on another shared lib
# The library is also used in tests, waiting for a better test strategy
# The library is not installed

set(Monteverdi2_Application_SOURCES ${Application_SOURCES})
add_library(Monteverdi2_Application
  STATIC
  ${Monteverdi2_Application_SOURCES}
  ${Application_FORMS_HEADERS}
  ${Application_HEADERS_MOC}
  ${Application_RESOURCES_RCC}
)
target_link_libraries(Monteverdi2_Application
  Monteverdi2_Common
  ${QT_LIBRARIES}
)

#############################################################################
# monteverdi2 executable
add_executable(monteverdi2
  main.cxx
)
target_link_libraries(monteverdi2
  Monteverdi2_Application
  Monteverdi2_Common
  ${QT_LIBRARIES}
)
<commit_msg>ENH: make monteverdi2 a GUI application, not a console one, under windows<commit_after>#############################################################################
# Input files.
set( Application_SOURCES
       mvdApplication.cxx
       mvdImageModel.cxx
       mvdMainWindow.cxx
)
set( Application_HEADERS
       mvdApplication.h
       mvdImageModel.h
       mvdMainWindow.h
)
set( Application_FORMS
       mvdMainWindow.ui
)
set( Application_RESOURCES
)

#############################################################################
# Qt4 wrapped files.
qt4_wrap_cpp( Application_HEADERS_MOC ${Application_HEADERS} )
qt4_wrap_ui( Application_FORMS_HEADERS ${Application_FORMS}  )
qt4_add_resources( Application_RESOURCES_RCC ${Application_RESOURCES} )

#############################################################################
# Sources files to translate.
add_to_qt4_i18n_sources(
  ${Application_SOURCES}
  ${Application_HEADERS}
  ${Application_FORMS}
)

#############################################################################
# Monteverdi2_Application library
# STATIC so that the monteverdi2 executable does not depend on another shared lib
# The library is also used in tests, waiting for a better test strategy
# The library is not installed

set(Monteverdi2_Application_SOURCES ${Application_SOURCES})
add_library(Monteverdi2_Application
  STATIC
  ${Monteverdi2_Application_SOURCES}
  ${Application_FORMS_HEADERS}
  ${Application_HEADERS_MOC}
  ${Application_RESOURCES_RCC}
)
target_link_libraries(Monteverdi2_Application
  Monteverdi2_Common
  ${QT_LIBRARIES}
)

#############################################################################
# monteverdi2 executable
add_executable(monteverdi2
  WIN32
  main.cxx
)
target_link_libraries(monteverdi2
  Monteverdi2_Application
  Monteverdi2_Common
  ${QT_LIBRARIES}
)

{'fraction_non_alphanumeric': 0.2628808864265928, 'fraction_numerical': 0.011357340720221607, 'mean_word_length': 7.378190255220417, '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': '2989876', 'n_tokens_mistral': 1104, 'n_tokens_neox': 1011, 'n_words': 192}