mirror of
https://github.com/QuasarApp/QtBigInt.git
synced 2025-04-27 14:14:32 +00:00
removed the qt dependencies for QtBigInt
This commit is contained in:
parent
e961ba419c
commit
adc9236f00
@ -15,4 +15,9 @@ initAll()
|
||||
|
||||
# Add sub directories
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(tests)
|
||||
|
||||
if(DEFINED WITHOUT_TESTS)
|
||||
message("conigured without tests")
|
||||
else()
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
@ -13,20 +13,11 @@ project(QtBigint LANGUAGES CXX)
|
||||
include(../CMake/ProjectOut.cmake)
|
||||
include(../CMake/Version.cmake)
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(Qt5 COMPONENTS Core REQUIRED)
|
||||
|
||||
file(GLOB SOURCE_CPP
|
||||
"*.cpp"
|
||||
)
|
||||
|
||||
add_library(${PROJECT_NAME} SHARED ${SOURCE_CPP})
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Core)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
setVersion(6 1 2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user