aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsmart/CMakeLists.txt
blob: 95f0cffd6edc35bd6b9cd6d194bc22a297f4ba7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

project(libsmart)

set(libsmart_SRC
libsmartmacros.h
smart.cpp smart.h
smart_integer.h
smart_obj.h
smart_registry.h
smart_sharedptr.h
smart_test.h
stdoptionaltestbench.cpp stdoptionaltestbench.h
stdsharedptrtestbench.cpp stdsharedptrtestbench.h
stduniqueptrtestbench.cpp stduniqueptrtestbench.h
)

add_library(libsmart SHARED ${libsmart_SRC})
target_include_directories(libsmart PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_definitions(libsmart PRIVATE LIBSMART_BUILD)
set_property(TARGET libsmart PROPERTY PREFIX "")