<commit_before>set(PROGRAM_visual_litesql "Visual-Litesql")
set(PROGRAM_visual_litesql_SOURCES  
        VisualLitesqlApp.cpp VisualLitesqlApp.h 
        MainFrame.cpp MainFrame.h
         LitesqlDocument.h LitesqlDocument.cpp
        LitesqlView.h LitesqlView.cpp
        GenerateView.h GenerateView.cpp
    ui.cpp ui.h
    LitesqlObjectPanel.cpp LitesqlObjectPanel.h
    LitesqlFieldPanel.cpp LitesqlFieldPanel.h
    LitesqlMethodPanel.cpp LitesqlMethodPanel.h
    LitesqlRelationPanel.cpp LitesqlRelationPanel.h
    LitesqlDatabasePanel.cpp LitesqlDatabasePanel.h
    LitesqlModelTreePanel.cpp LitesqlModelTreePanel.h 
    ddx.cpp ddx.h
)


include(${CMAKE_ROOT}/Modules/FindwxWidgets.cmake)
include(${CMAKE_ROOT}/Modules/UsewxWidgets.cmake)

# Here you can define what libraries of wxWidgets you need for your
# application. You can figure out what libraries you need here;
# http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html

# We need the Find package for wxWidgets to work
find_package(wxWidgets REQUIRED base core adv)

##---------------------------------------------------
## Actual config file starts here
##--------------------------------------------------- 
 
# Did we find wxWidgets ? This condition will fail
# for as long as the internal vars do not point to
# the proper wxWidgets configuration
if(wxWidgets_FOUND)
        message(wxWidgets_ROOT_DIR=${wxWidgets_ROOT_DIR})
        message(wxWidgets_LIB_DIR=${wxWidgets_LIB_DIR})

    # Include wxWidgets macros
    include(${wxWidgets_USE_FILE})

    # We define the include paths here, our minimal source dir is one, 
    # and also the include dirs defined by wxWidgets
    include_directories(
                        ${EXPAT_INCLUDE_DIRS}
                        ../../library 
                        ../../generator
                        )
    set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS ${wxWidgets_DEFINITIONS})
 
    # Here we define the executable 
    # the above paths and defines will be used in this build
    
    add_executable(${PROGRAM_visual_litesql} WIN32 MACOSX_BUNDLE ${PROGRAM_visual_litesql_SOURCES})

    #ui-access
    target_link_libraries(${PROGRAM_visual_litesql} ${wxWidgets_LIBRARIES} 
                                                    litesql-util 
                                                    model 
                                                    ${EXPAT_LIBRARIES})

    if (MSVC)
        set_property(TARGET ${PROGRAM_visual_litesql} APPEND PROPERTY LINK_FLAGS /INCREMENTAL:NO) 
        target_link_libraries(${PROGRAM_visual_litesql} gdiplus.lib)
    endif(MSVC)
    install(TARGETS ${PROGRAM_visual_litesql} 
                RUNTIME DESTINATION bin 
                BUNDLE DESTINATION /Applications)    

else(wxWidgets_FOUND)
    # For convenience. When we cannot continue, inform the user
    MESSAGE("wxWidgets not found!")
endif(wxWidgets_FOUND)
<commit_msg>bundle destination corrected<commit_after>set(PROGRAM_visual_litesql "Visual-Litesql")
set(PROGRAM_visual_litesql_SOURCES  
        VisualLitesqlApp.cpp VisualLitesqlApp.h 
        MainFrame.cpp MainFrame.h
         LitesqlDocument.h LitesqlDocument.cpp
        LitesqlView.h LitesqlView.cpp
        GenerateView.h GenerateView.cpp
    ui.cpp ui.h
    LitesqlObjectPanel.cpp LitesqlObjectPanel.h
    LitesqlFieldPanel.cpp LitesqlFieldPanel.h
    LitesqlMethodPanel.cpp LitesqlMethodPanel.h
    LitesqlRelationPanel.cpp LitesqlRelationPanel.h
    LitesqlDatabasePanel.cpp LitesqlDatabasePanel.h
    LitesqlModelTreePanel.cpp LitesqlModelTreePanel.h 
    ddx.cpp ddx.h
)


include(${CMAKE_ROOT}/Modules/FindwxWidgets.cmake)
include(${CMAKE_ROOT}/Modules/UsewxWidgets.cmake)

# Here you can define what libraries of wxWidgets you need for your
# application. You can figure out what libraries you need here;
# http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html

# We need the Find package for wxWidgets to work
find_package(wxWidgets REQUIRED base core adv)

##---------------------------------------------------
## Actual config file starts here
##--------------------------------------------------- 
 
# Did we find wxWidgets ? This condition will fail
# for as long as the internal vars do not point to
# the proper wxWidgets configuration
if(wxWidgets_FOUND)
        message(wxWidgets_ROOT_DIR=${wxWidgets_ROOT_DIR})
        message(wxWidgets_LIB_DIR=${wxWidgets_LIB_DIR})

    # Include wxWidgets macros
    include(${wxWidgets_USE_FILE})

    # We define the include paths here, our minimal source dir is one, 
    # and also the include dirs defined by wxWidgets
    include_directories(
                        ${EXPAT_INCLUDE_DIRS}
                        ../../library 
                        ../../generator
                        )
    set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS ${wxWidgets_DEFINITIONS})
 
    # Here we define the executable 
    # the above paths and defines will be used in this build
    
    add_executable(${PROGRAM_visual_litesql} WIN32 MACOSX_BUNDLE ${PROGRAM_visual_litesql_SOURCES})

    #ui-access
    target_link_libraries(${PROGRAM_visual_litesql} ${wxWidgets_LIBRARIES} 
                                                    litesql-util 
                                                    model 
                                                    ${EXPAT_LIBRARIES})

    if (MSVC)
        set_property(TARGET ${PROGRAM_visual_litesql} APPEND PROPERTY LINK_FLAGS /INCREMENTAL:NO) 
        target_link_libraries(${PROGRAM_visual_litesql} gdiplus.lib)
    endif(MSVC)
    install(TARGETS ${PROGRAM_visual_litesql} 
                RUNTIME DESTINATION bin 
                BUNDLE DESTINATION .)    

else(wxWidgets_FOUND)
    # For convenience. When we cannot continue, inform the user
    MESSAGE("wxWidgets not found!")
endif(wxWidgets_FOUND)

{'fraction_non_alphanumeric': 0.09871023215821152, 'fraction_numerical': 0.0013757523645743766, 'mean_word_length': 2.363794100636206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '222774', 'n_tokens_mistral': 1789, 'n_tokens_neox': 1665, 'n_words': 385}