Compare commits

..

No commits in common. "main" and "task_11" have entirely different histories.

7 changed files with 14 additions and 13 deletions

2
CMake

@ -1 +1 @@
Subproject commit 5e0fc2b92801eff4fb490f8db1cc2bd28e8d94e8
Subproject commit c59a0c81555a281273b38095613472abc0fe73b7

View File

@ -12,10 +12,13 @@ if(TARGET ${PROJECT_NAME})
return()
endif()
include(CMake/QuasarApp.cmake)
include(CMake/Version.cmake)
include(CMake/ccache.cmake)
include(CMake/QuasarAppCITargets.cmake)
# Add sub directories
add_subdirectory(src)
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core QUIET)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core QUIET)
@ -38,8 +41,6 @@ if (NOT DEFINED BIGINT_TESTS)
endif()
add_subdirectory(src)
if (BIGINT_TESTS)
add_subdirectory(tests)
else()

View File

@ -176,7 +176,7 @@ ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
GENERATE_HTML = YES
HTML_OUTPUT = .
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
@ -212,7 +212,7 @@ QHG_LOCATION =
GENERATE_ECLIPSEHELP = NO
ECLIPSE_DOC_ID = QuasarApp.QtBigInt
DISABLE_INDEX = NO
GENERATE_TREEVIEW = YES
GENERATE_TREEVIEW = NO
ENUM_VALUES_PER_LINE = 4
TREEVIEW_WIDTH = 250
EXT_LINKS_IN_WINDOW = NO

View File

@ -10,8 +10,8 @@ set(CURRENT_PROJECT ${PROJECT_NAME})
project(QtBigint LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(../CMake/ProjectOut.cmake)
include(../CMake/Version.cmake)
file(GLOB SOURCE_CPP
"*.cpp"

View File

@ -10,10 +10,10 @@
#ifdef _WIN32
# define MINIGMPSHARED_EXPORT __declspec(dllexport)
#elif (linux) || defined (__linux__) || defined (__APPLE__)
#endif
#if defined (linux) || defined (__linux__) || defined (__APPLE__)
# define MINIGMPSHARED_EXPORT __attribute__((visibility("default")))
#else
# define MINIGMPSHARED_EXPORT
#endif

View File

@ -9,6 +9,7 @@ cmake_minimum_required(VERSION 3.10)
set(CURRENT_PROJECT ${PROJECT_NAME}Test)
include(../CMake/ProjectOut.cmake)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)

View File

@ -1,7 +1,6 @@
#include <QtTest>
#include <bigint.h>
#include <limits>
#include <random>
// add necessary includes here