Multiple implementations of the same back-end application. The aim is to provide quick, side-by-side comparisons of different technologies (languages, frameworks, libraries) while preserving consistent business logic across all implementations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
741 B

cmake_minimum_required(VERSION 3.20)
project(AutoStoreApp LANGUAGES CXX VERSION 0.1.0)
set(TARGET_NAME AutoStore)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
configure_file(src/Version.h.in ${CMAKE_BINARY_DIR}/Version.h)
set(SOURCES
src/Main.cpp
src/App.cpp
src/App.h
)
set (LIBRARIES
AutoStoreLib
)
add_executable(${TARGET_NAME} ${SOURCES})
target_include_directories(${TARGET_NAME}
PRIVATE
${CMAKE_BINARY_DIR}
)
# for docker test
# target_compile_options(${TARGET_NAME} PRIVATE -static-libgcc -static-libstdc++)
# target_link_options(${TARGET_NAME} PRIVATE -static-libgcc -static-libstdc++)
target_link_libraries(${TARGET_NAME} PRIVATE ${LIBRARIES})
# add_subdirectory(tests/unit)