Beginning CMake configuration for ZT

Only tested on Windows so far
This commit is contained in:
Grant Limberg 2019-06-20 16:13:52 -07:00
commit 0b3b5f6174
111 changed files with 19586 additions and 36 deletions

18
service/CMakeLists.txt Normal file
View file

@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 2.8)
project(zt_service)
if(WIN32)
add_definitions(-DNOMINMAX)
endif(WIN32)
set(src
OneService.cpp
SoftwareUpdater.cpp
)
set(headers
OneService.hpp
SoftwareUpdater.hpp
)
add_library(${PROJECT_NAME} STATIC ${src} ${headers})