cmake_minimum_required(VERSION 3.16)
project(ComplexProject VERSION 1.0.0 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)

option(BUILD_TESTS "Build tests" ON)

if(BUILD_TESTS)
  enable_testing()
  add_subdirectory(tests)
endif()

function(my_function arg1 arg2)
  message(STATUS "Function called with ${arg1} and ${arg2}")
endfunction()

# Bracket comment [[
This is a bracket comment
]]

set(LONG_STRING [[
This is a bracket
argument with multiple
lines
]])

foreach(item IN ITEMS a b c)
  message("Item: ${item}")
endforeach()
