57 lines
1.7 KiB
CMake
57 lines
1.7 KiB
CMake
###########################################################################################
|
|
#
|
|
# (c) Technical Software Engineering Plazotta 2021
|
|
#
|
|
# CMAKE project main file / LSFramework
|
|
#
|
|
#-----------------------------------------------------------------------------------------
|
|
# Define project specific requirements
|
|
#
|
|
# Minimum CMAKE version for this project
|
|
#
|
|
cmake_minimum_required (VERSION 3.23.0)
|
|
#
|
|
# Name of the project
|
|
set(MAIN_PROJECT_NAME LSFramework)
|
|
project(${MAIN_PROJECT_NAME})
|
|
#
|
|
#-----------------------------------------------------------------------------------------
|
|
# Include project specific definitions -> Generated file
|
|
#
|
|
include(Project.conf.cmake)
|
|
#
|
|
#-----------------------------------------------------------------------------------------
|
|
# Include cmake settings and macros
|
|
#
|
|
include(${TSEP_PROJECT_CMAKE}/CMakeMacros.cmake)
|
|
include(${TSEP_PROJECT_CMAKE}/CMakeSettings.cmake)
|
|
#
|
|
#-----------------------------------------------------------------------------------------
|
|
# google test framework -> enable if used
|
|
#
|
|
#TSEP_USE_GOOGLE_TESTING()
|
|
#
|
|
#-----------------------------------------------------------------------------------------
|
|
# Current project description
|
|
#
|
|
set(TSEP_PROJECT "Framework")
|
|
#
|
|
#-----------------------------------------------------------------------------------------
|
|
# Allow project folder structure
|
|
#
|
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
|
#
|
|
#-----------------------------------------------------------------------------------------
|
|
# Define projects for building
|
|
#
|
|
add_subdirectory("Framework")
|
|
#
|
|
#-----------------------------------------------------------------------------------------
|
|
# Define projects for managing and distributing
|
|
#
|
|
# NEXUS Upload (Only windows)
|
|
#
|
|
IF(WIN32)
|
|
|
|
ENDIF()
|
|
#
|