<commit_before># Do not change
cmake_minimum_required(VERSION 2.4)

# Name is not important. Give any unique name you like.
project(mylibtest)

# Get access to component-under-test's headers.
include_directories(../include)

# List test target's source files here.
set(TEST_SRCS 
  ../src/module1.cpp)
  ../src/module2.cpp
)

# List test sources here
set(SRCS 
  module1test.cpp
  module2test.cpp
)

# Link other components (omit if no dependencies)
include_directories($ENV{BUILD_DIR}/include)
set(LINKED_LIBS lib1 lib2 lib3)
foreach(lib ${LINKED_LIBS})
    link_directories($ENV{BUILD_DIR}/${lib}/bin)
endforeach(lib)

# Do not change
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})

add_executable(${PROJECT_NAME} ${TEST_SRCS} ${SRCS})
target_link_libraries(${PROJECT_NAME} gtest)<commit_msg>Updated CMakelists template for smart meter tests.<commit_after># Do not change
cmake_minimum_required(VERSION 2.4)

# Name is not important. Give any unique name you like.
project(mylibtest)

# Get access to component-under-test's headers.
include_directories(../include)

# List test target's source files here.
set(TEST_SRCS 
  ../src/module1.cpp)
  ../src/module2.cpp
)

# List test sources here
set(SRCS 
  module1test.cpp
  module2test.cpp
)

# Link other components (omit if no dependencies)
include_directories($ENV{BUILD_DIR}/include)
set(LINKED_LIBS lib1 lib2 lib3)
foreach(lib ${LINKED_LIBS})
    link_directories($ENV{BUILD_DIR}/${lib}/bin)
endforeach(lib)

# Do not change
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})

add_executable(${PROJECT_NAME} ${TEST_SRCS} ${SRCS})
target_link_libraries(${PROJECT_NAME} gtest ${LINKED_LIBS})
{'fraction_non_alphanumeric': 0.11087645195353749, 'fraction_numerical': 0.009503695881731784, 'mean_word_length': 6.490118577075099, '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': '368435', 'n_tokens_mistral': 688, 'n_tokens_neox': 666, 'n_words': 144}