base project setup. i got a pretty good concept
This commit is contained in:
31
CMakeLists.txt
Normal file
31
CMakeLists.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(email-tracker LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# Uncomment these when you add submodules
|
||||
# add_subdirectory(external/some-lib)
|
||||
# add_subdirectory(external/another-lib)
|
||||
|
||||
add_executable(${PROJECT_NAME}-client
|
||||
src/main-tracker.cpp
|
||||
)
|
||||
|
||||
add_executable(${PROJECT_NAME}-daemon
|
||||
src/main-daemon.cpp
|
||||
)
|
||||
|
||||
# Link submodules (uncomment as needed)
|
||||
# target_link_libraries(${PROJECT_NAME}
|
||||
# PRIVATE
|
||||
# some-lib
|
||||
# another-lib
|
||||
# )
|
||||
|
||||
# target_include_directories(${PROJECT_NAME}
|
||||
# PRIVATE
|
||||
# external/some-lib/include
|
||||
# )
|
||||
|
||||
Reference in New Issue
Block a user