<commit_before>cmake_minimum_required (VERSION 3.5.2)

set(SOLUTION_NAME "Skylines")

project(${SOLUTION_NAME})

#testing enabled
enable_testing()

# Avoid minRelSize/RelWithDebugInfo configurations
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)

set_property(GLOBAL PROPERTY USE_FOLDERS ON)

# Cmake Inclusions
include(cmake/util.cmake)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")

# =============================================================================
# Include third party libraries
# =============================================================================
set(APIS_PATH "$ENV{APIS_PATH_UdG}")

# Boost
include_directories("${APIS_PATH}/boost-1.64.0/include")
link_directories("${APIS_PATH}/boost-1.64.0/lib")

# Gtest and GMock
include_directories("${APIS_PATH}/googletest-distribution/include")
link_directories("${APIS_PATH}/googletest-distribution/lib")
set(LIBS ${LIBS} gtest gtest_main gmock gmock_main)

# Celero
include_directories("${APIS_PATH}/celero-master/include")
link_directories("${APIS_PATH}/celero-master/lib")
set(LIBS ${LIBS} debug celerod optimized celero)

# Rapidjson
include_directories("${APIS_PATH}/rapidjson-master/include")

# Spdlog
include_directories("${APIS_PATH}/spdlog-master/include")

#qt
set(CMAKE_INCLUDE_CURRENT_DIR ON) # Find includes in corresponding build directories
# Find libraries
find_package(Qt5Widgets)
find_package(Qt5Core)
# OpenGL & GLEW library
find_package(OpenGL)

include_directories(${Qt5Widgets_INCLUDE_DIRS})

#opengl
set(LIBS ${LIBS} ${OPENGL_LIBRARIES})

#dll post copy depencies. Debug purposes. In Linux we use stow
if(WIN32)
    set(DEPENDENCY_LIBS_AND_FILES_DEBUG_SPECIFIC
       #gtest
       "${APIS_PATH}/googletest-distribution/lib/Debug/gtest.dll"
       "${APIS_PATH}/googletest-distribution/lib/Debug/gtest_main.dll"
       "${APIS_PATH}/googletest-distribution/lib/Debug/gmock.dll"
       "${APIS_PATH}/googletest-distribution/lib/Debug/gmock_main.dll"

       #qt
       "C:/Qt/5.9/msvc2017_64/bin/Qt5Cored.dll"
       "C:/Qt/5.9/msvc2017_64/bin/Qt5Guid.dll"
       "C:/Qt/5.9/msvc2017_64/bin/Qt5Widgetsd.dll"

       #celero<commit_msg>Added parser include path<commit_after>cmake_minimum_required (VERSION 3.5.2)

set(SOLUTION_NAME "Skylines")

project(${SOLUTION_NAME})

#testing enabled
enable_testing()

# Avoid minRelSize/RelWithDebugInfo configurations
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)

set_property(GLOBAL PROPERTY USE_FOLDERS ON)

# Cmake Inclusions
include(cmake/util.cmake)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")

# =============================================================================
# Include third party libraries
# =============================================================================
set(APIS_PATH "$ENV{APIS_PATH_UdG}")

# Boost
include_directories("${APIS_PATH}/boost-1.64.0/include")
link_directories("${APIS_PATH}/boost-1.64.0/lib")

# Gtest and GMock
include_directories("${APIS_PATH}/googletest-distribution/include")
link_directories("${APIS_PATH}/googletest-distribution/lib")
set(LIBS ${LIBS} gtest gtest_main gmock gmock_main)

# Celero
include_directories("${APIS_PATH}/celero-master/include")
link_directories("${APIS_PATH}/celero-master/lib")
set(LIBS ${LIBS} debug celerod optimized celero)

# Rapidjson
include_directories("${APIS_PATH}/rapidjson-master/include")

# Spdlog
include_directories("${APIS_PATH}/spdlog-master/include")

#qt
set(CMAKE_INCLUDE_CURRENT_DIR ON) # Find includes in corresponding build directories
# Find libraries
find_package(Qt5Widgets)
find_package(Qt5Core)
# OpenGL & GLEW library
find_package(OpenGL)

include_directories(${Qt5Widgets_INCLUDE_DIRS})

#opengl
set(LIBS ${LIBS} ${OPENGL_LIBRARIES})

# Spdlog
include_directories("${APIS_PATH}/fast-cpp-csv-parser-master/include")

#dll post copy depencies. Debug purposes. In Linux we use stow
if(WIN32)
    set(DEPENDENCY_LIBS_AND_FILES_DEBUG_SPECIFIC
       #gtest
       "${APIS_PATH}/googletest-distribution/lib/Debug/gtest.dll"
       "${APIS_PATH}/googletest-distribution/lib/Debug/gtest_main.dll"
       "${APIS_PATH}/googletest-distribution/lib/Debug/gmock.dll"
       "${APIS_PATH}/googletest-distribution/lib/Debug/gmock_main.dll"

       #qt
       "C:/Qt/5.9/msvc2017_64/bin/Qt5Cored.dll"
       "C:/Qt/5.9/msvc2017_64/bin/Qt5Guid.dll"
       "C:/Qt/5.9/msvc2017_64/bin/Qt5Widgetsd.dll"

       #celero
{'fraction_non_alphanumeric': 0.19084141664786827, 'fraction_numerical': 0.019399954883825853, 'mean_word_length': 6.365448504983389, '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': '1145951', 'n_tokens_mistral': 1678, 'n_tokens_neox': 1549, 'n_words': 212}