created project with cmake

This commit is contained in:
Luis Stanglmeier 2022-06-23 13:44:39 +02:00
parent c4b3d8ac5f
commit 5f6abf300e
54 changed files with 412 additions and 310 deletions

View file

@ -0,0 +1,91 @@
###########################################################################################
#
# (c) Technical Software Engineering Plazotta 2021
#
# CMAKE project file / @Add your project name@
#
#
#-----------------------------------------------------------------------------------------
# Define project specific requirements
#
# Project name, output file name, project description
#
set(PROJECT_NAME @Add your project name@)
set(PROJECT_OUTPUT_NAME @Add your project dll name@)
set(PROJECT_DESCRIPTION "@Add your project description@")
#
#-----------------------------------------------------------------------------------------
# Define group file names
#
# SOURCE FILES
#
set(SOURCE_FILES
src/...
)
#
# HEADER FILES
#
set(HEADER_FILES
src/...
)
#
# Define folders for group files
#
source_group("Source Files" FILES ${SOURCE_FILES})
source_group("Header Files" FILES ${HEADER_FILES})
#
# Include files, add your own includes
#
include_directories(
${CMAKE_CURRENT_LIST_DIR}/src
# /- Add your additional include paths -/
)
#
#-----------------------------------------------------------------------------------------
# Console application definitions
#
# Setup application version
#
TSEP_SETUP_APP_VERSION(${PROJECT_DESCRIPTION})
#
# Create console application
#
add_executable(${PROJECT_NAME}
${SOURCE_FILES}
${HEADER_FILES}
${TSEP_APP_VERSION_RC}
)
#
# Setup TSEP OS specific settings for the project
#
TSEP_ADD_OS_SPECIFIC_SETTINGS()
#
# Setup output
#
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${PROJECT_OUTPUT_NAME})
#
# Add used libs
#
#target_link_libraries(${PROJECT_NAME}
# PUBLIC
# /- Add your additional libraries -/
#)
#
# Include application data files
# i.e
#set (APPLICATION_DATA_FILES
# "certificates" ${CMAKE_CURRENT_LIST_DIR}/../Test/certificates/Themis.cer
#)
#
#set (APPLICATION_DATA_FILES
# "Folder in application data folder, may be empty" ${CMAKE_CURRENT_LIST_DIR}/../folder/File_to_Be_Used
#)
#
# Create links to necessary dependency libraries
#
TSEP_GENERATE_DEPENDENCY_LINKS()
#
# Create an Export directory with the defined data
#
TSEP_CREATE_EXPORT()
#