-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
41 lines (29 loc) · 941 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# Copyright (c) 2024 Piotr Stradowski. All rights reserved.
# Software distributed under the permissive MIT License.
#
#
# Project Info
#
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
cmake_policy(VERSION 3.9)
include(CMake/CMakeShared.cmake)
#
# Project
#
project(MultithreadingStudies)
# Setting up custom properties and functions from "CMakeShared.cmake" file
custom_cmake_setup()
#
# Targets Configuration
#
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)
#
# Sources
#
set(SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
get_all_target_files(MT_MERGE_SORT_FILES 0 ${SOURCE_DIR}/MultithreadedMergeSort)
add_executable(MultithreadedMergeSort "${MT_MERGE_SORT_FILES}")
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT MultithreadedMergeSort)