2020-04-07 23:33:03 +03:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
|
|
|
project(simplecrypt)
|
|
|
|
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
|
|
|
|
find_package(Qt5Core CONFIG REQUIRED)
|
|
|
|
|
|
|
|
set(simplecrypt_SRC
|
|
|
|
simplecrypt.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
# Tell CMake to create the helloworld executable
|
2021-05-09 02:12:17 +03:00
|
|
|
add_library(simpleCrypt STATIC ${simplecrypt_SRC})
|
2020-04-07 23:33:03 +03:00
|
|
|
|
|
|
|
# Use the Widgets module from Qt 5.
|
|
|
|
target_link_libraries(simpleCrypt Qt5::Core)
|