Skip to content

Commit 983e7e5

Browse files
committed
RC 1.0.0
1 parent af298f0 commit 983e7e5

File tree

6 files changed

+1132
-0
lines changed

6 files changed

+1132
-0
lines changed

CMakeLists.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
cmake_minimum_required(VERSION 3.14)
2+
3+
project(libCPP_Texto LANGUAGES CXX)
4+
5+
set(CMAKE_AUTOUIC ON)
6+
set(CMAKE_AUTOMOC ON)
7+
set(CMAKE_AUTORCC ON)
8+
set(CMAKE_CXX_STANDARD 17)
9+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
10+
11+
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core)
12+
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core)
13+
14+
add_library(libCPP_Texto SHARED
15+
libCPP_Texto_global.h
16+
texto.cpp
17+
texto.h
18+
)
19+
20+
target_link_libraries(libCPP_Texto PRIVATE Qt${QT_VERSION_MAJOR}::Core)
21+
22+
target_compile_definitions(libCPP_Texto PRIVATE LIBCPP_TEXTO_LIBRARY)

0 commit comments

Comments
 (0)