106 Commits

Author SHA1 Message Date
Daniel Marjamäki
4ede39a9b7 1.89: Set version 2019-09-01 12:16:33 +02:00
Daniel Marjamäki
a17f2a6f05 Compiling/Installing : The CFGDIR parameter was removed. Use FILESDIR instead. 2019-08-17 10:53:07 +02:00
IOBYTE
c2ccfd5f8b Increase Windows stack size to 8M (#1998)
* Increase Windows stack size to 8M

* try to add stack size cmake
2019-07-15 12:39:58 +02:00
Daniel Marjamäki
44ba9b5caf cmake: turn off Wconversion and Wsign-promo warnings 2019-07-08 08:09:51 +02:00
PKEuS
d74f8c678f Set version to 1.88.99/1.89 dev 2019-07-02 20:59:52 +02:00
Daniel Marjamäki
faaabc74a7 Set version 1.88 2019-06-29 08:38:13 +02:00
Carlo Marcelo Arenas Belón
ec4e43767e minor improvements (#1929)
* lib: isNonBoolStdType no longer needed

lib/checkbool.cpp:50:13: warning: unused function 'isNonBoolStdType'
      [-Wunused-function]
static bool isNonBoolStdType(const Variable* var)

* cmake: C++11 is required

also change instructions to a more common syntax
2019-06-28 06:57:05 +02:00
Scott Furry
fc61596c40 Adjustments to CMake Building (#1925)
From CMake Docs( https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html ),
BUILD_SHARED_LIBS may not be defined. This can result in printinfo.cmake outputing
variable without a value. A conditional is applied to ensure that some output is
provided to the user should variable not be defined.

Removed explicit C++ standard flag. Any setting user would add on the command
line would be replaced due to ordering. `-std=c++0x` would be last value added
to CMAKE_CXX_FLAGS and ultimately the one used by the compiler.
2019-06-26 07:41:48 +02:00
Scott Furry
dc5a38e61c Modify Qt5 CMake and include Qt Charts Option (#1837)
Update CMake search for Qt5 componets to be consistent
with recommended practice from Kitware.
(see https://blog.kitware.com/cmake-finding-qt5-the-right-way/)

Incorporate ability to build cppcheck-gui with Qt Charts
via CMake switch. Option "WITH_QCHARTS" will enable
search for Qt Charts to Qt5 component search and add
build flag "HAVE_QCHART".
2019-05-17 10:17:51 +02:00
Carlo Marcelo Arenas Belón
bf5c71bdca sync (#1835)
* build: remove -Wabi and add -Wundef

gcc >= 8 throws a warning about -Wabi (without a specific ABI version)
being ignored, while -Wundef seems more useful (as shown by the change
in config.h, which was probably an unfortunate typo)

travis.yaml should probably be updated soon, but was left out from this
change as the current images don't yet need it

* lib: unused function in valueflow

refactored out since 8c03be32122ed85af89050eb1ad07ddd7038508e

lib/valueflow.cpp:3124:21: warning: unused function 'endTemplateArgument' [-Wunused-function]

* readme: include picojson

* make: also clean exe
2019-05-17 09:31:41 +02:00
PKEuS
11daabc1a8 Set version to 1.87.99/1.88 dev 2019-02-27 21:30:54 +01:00
Daniel Marjamäki
502d5e9142 1.87: Set versions 2019-02-09 09:07:27 +01:00
practicalswift
0a1b3a9d6f Fix typos (#1568) 2019-01-06 17:15:57 +01:00
nafsub
56ad760cc5 Add CFGDIR as CMake variable (#1554)
* Add CFGDIR as CMake variable

Adds CFGDIR as a CMake variable.
Previously CFGDIR was hardcoded.

* Add CFGDIR as CMake variable 

Adds CFGDIR as a CMake variable.
Previously CFGDIR was hardcoded.
2019-01-01 22:48:07 +01:00
PKEuS
886aa07ffb Set version to 1.86.99/1.87 dev 2018-12-08 11:53:37 +01:00
Daniel Marjamäki
5e527bdd08 Update version 2018-12-08 08:17:05 +01:00
Daniel Marjamäki
1048aa8ead Disable Wshadow warnings
[ci skip]
2018-11-23 22:34:21 +01:00
Paul Fultz II
e839001f3d Fix warnings (#1478) 2018-11-14 06:14:04 +01:00
Daniel Marjamäki
895772711a 1.85: Set version 2018-10-13 18:55:19 +02:00
Oliver Stöneberg
373039f034 Minor Cleanups (#1321)
* added CLion project folder to .gitignore

* adjusted project name in CMakeLists.txt

* avoid warning when compiling "Debug" with Visual Studio via CMake

There was a GCC-style compiler flag in the common flags in compileroptions.cmake which caused the following warning:
cl : Command line warning D9002 : ignoring unknown option '-O0'

* compileroptions.cmake: restored original formatting
2018-07-23 08:34:41 +02:00
PKEuS
009287f912 Set version to 1.84.99/1.85 dev 2018-06-25 21:03:43 +02:00
Daniel Marjamäki
a21c05edfe 1.84: Set versions
[ci skip]
2018-06-10 22:21:57 +02:00
Susi Lehtola
f2fc38a5b4 Use modern CMake syntax. (#1273)
* Use modern CMake syntax.

* Update way of finding Qt5 components
2018-06-02 18:31:33 +02:00
PKEuS
32a2060f14 Set version to 1.83.99/1.84 dev
Updated copyright year in version.h
2018-04-02 15:21:37 +02:00
Daniel Marjamäki
7260be81a6 Update version 2018-03-31 21:25:29 +02:00
Dmitry Marakasov
596fc32dd7 Don't try to detect Qt if GUI is disabled (#1057)
Otherwise the build may fail if Qt libraries are installed but qmake is not
2018-01-25 17:33:52 +01:00
Daniel Marjamäki
2f508c0bba 1.82: Updated versions 2018-01-14 16:25:17 +01:00
Ayaz Salikhov
64e61d28ba Add an ability to use address sanitizer (#979) 2017-10-21 21:04:14 +02:00
PKEuS
a29b33b833 Set version to 1.81.99/1.82 dev 2017-10-07 23:22:31 +02:00
Daniel Marjamäki
cebf34e718 1.81: Set versions 2017-10-07 12:55:36 +02:00
Frank Zingsheim
e182addcf6 CMake: Upgrade Qt4 to Qt5 (#935) 2017-08-07 23:49:47 +02:00
PKEuS
9558877458 Set version to 1.80.99/1.81 dev 2017-07-30 08:48:47 +02:00
Daniel Marjamäki
baedfa6718 1.80: Set versions 2017-07-29 12:55:53 +02:00
PKEuS
fda1f67da6 Set version to 1.79.99/1.80 dev 2017-05-14 10:07:38 +02:00
PKEuS
47570f5791 Set version to 1.78.99/1.79 dev 2017-04-05 11:24:26 +02:00
Daniel Marjamäki
2eda59eb72 Update version 2017-04-01 11:03:45 +02:00
PKEuS
8ba9ce4924 Set version to 1.77.99/1.78 dev 2017-01-01 11:58:39 +01:00
Daniel Marjamäki
7595530616 updated version 2016-12-31 18:36:28 +01:00
Frank Zingsheim
2b2a1e7ab2 Fixed #7749 (CMake gcc version >= 4.6 see https://github.com/danmar/cppcheck#compiling) 2016-10-29 12:55:50 +02:00
PKEuS
7ff90e7fae Set version to 1.73.99/1.74 dev 2016-04-22 16:55:19 +02:00
Daniel Marjamäki
b6d3aefba6 1.73: Set versions 2016-04-08 20:46:59 +02:00
PKEuS
f47e05b6a7 Set version to 1.72.99/1.73 dev 2016-01-10 10:10:33 +01:00
Daniel Marjamäki
a2b0d3cec8 1.72: Set version 2016-01-09 14:43:29 +01:00
Frank Zingsheim
b48cbde860 Cmake: Allow the RelWithDebInfo MinSizeRel as Configuration Type, additionally 2015-11-26 21:16:59 +01:00
Frank Zingsheim
e5a3ba7cac Switch off -D_GLIBCXX_DEBUG for Clang on Linux
(see 73b088a6dd7f19609868eda1a4e0f85ab4387ac6 for Makefile)
2015-11-26 21:13:04 +01:00
Frank Zingsheim
70c20515a9 Cmake object linkage. Fix #7128: (cppcheck 1.70 doesn't report any warnings) 2015-11-26 20:25:09 +01:00
PKEuS
80c89e7a38 Set Version to 1.71.99/1.72 dev 2015-11-15 09:57:57 +01:00
Daniel Marjamäki
5df2f9c6cf 1.71: Set version 2015-11-14 18:57:42 +01:00
Erik Hovland
87e0f35a37 Update the cmake version to the current version 2015-09-10 07:32:28 +02:00
Frank Zingsheim
baced8c9d8 CMake add QtXML for GUI libraryeditor
(see also 4946f772ef535b9b470e8754f4d828b70c9c9bc5)
2015-08-31 10:18:24 +02:00