<commit_before>set(EXECUTABLES example)

set(example_SOURCES example.cpp exampledatabase.cpp exampledatabase.hpp exampledatabase.xml auth.xml exampledatabase.dot)

add_custom_command(
   OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/exampledatabase.cpp ${CMAKE_CURRENT_SOURCE_DIR}/exampledatabase.hpp 
   COMMAND litesql-gen -v -t c++ exampledatabase.xml
   MAIN_DEPENDENCY exampledatabase.xml
   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
   DEPENDS litesql-gen exampledatabase.xml auth.xml
   )

add_custom_command(
   OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/exampledatabase.dot
   COMMAND litesql-gen -t graphviz exampledatabase.xml
   MAIN_DEPENDENCY exampledatabase.xml
   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
   DEPENDS litesql-gen exampledatabase.xml 
   )


 
add_executable(example ${example_SOURCES} ${example_HEADERS})<commit_msg>fixe for Bug #36 fatal error: exampledatabase.hpp: No such file or directory<commit_after>set(EXECUTABLES example)

set(example_SOURCES example.cpp ExampleDatabase.cpp ExampleDatabase.hpp exampledatabase.xml auth.xml ExampleDatabase.dot)

add_custom_command(
   OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/ExampleDatabase.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ExampleDatabase.hpp 
   COMMAND litesql-gen -v -t c++ exampledatabase.xml
   MAIN_DEPENDENCY exampledatabase.xml
   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
   DEPENDS litesql-gen exampledatabase.xml auth.xml
   )

add_custom_command(
   OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/ExampleDatabase.dot
   COMMAND litesql-gen -t graphviz exampledatabase.xml
   MAIN_DEPENDENCY exampledatabase.xml
   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
   DEPENDS litesql-gen exampledatabase.xml 
   )


 
add_executable(example ${example_SOURCES} ${example_HEADERS})
{'fraction_non_alphanumeric': 0.0736902705814623, 'fraction_numerical': 0.0011514104778353484, 'mean_word_length': 6.036437246963563, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 18}, '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': '4122763', 'n_tokens_mistral': 635, 'n_tokens_neox': 589, 'n_words': 100}