Skip to content

Commit ae6e231

Browse files
author
Sébastien Rombauts
committed
Set SQLITECPP_RUN_CPPCHECK OFF and SQLITECPP_RUN_CPPLINT OFF
1 parent bb946df commit ae6e231

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 2.8.12) # first version with add_compile_options(
22
project(SQLiteCpp_Example)
33

44
# add SQLite3 C++ wrapper arround sqlite3 library (and sqlite3 itself provided for ease of use)
5+
# NOTE: here you can set CMake variables to avoid building Example, as well as cpplint, cppcheck...
6+
# NOTE: or set them in the cmake commande line (see for instance provided build.bat/build.sh scripts)
7+
set(SQLITECPP_RUN_CPPCHECK OFF CACHE BOOL "" FORCE)
8+
set(SQLITECPP_RUN_CPPLINT OFF CACHE BOOL "" FORCE)
9+
510
add_subdirectory(SQLiteCpp)
611

712
# add main.cpp example source code

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ with a few intuitive and well documented C++ classes.
1414

1515
### License:
1616

17-
Copyright (c) 2012-2016 Sébastien Rombauts ([email protected])
17+
Copyright (c) 2012-2017 Sébastien Rombauts ([email protected])
18+
<a href="https://www.paypal.me/SRombauts" title="Pay Me a Beer! Donate with PayPal :)"><img src="https://www.paypalobjects.com/webstatic/paypalme/images/pp_logo_small.png" width="118"></a>
1819

1920
Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
2021
or copy at http://opensource.org/licenses/MIT)

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@REM Copyright (c) 2012-2016 Sebastien Rombauts ([email protected])
1+
@REM Copyright (c) 2012-2017 Sebastien Rombauts ([email protected])
22
@REM
33
@REM Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
44
@REM or copy at http://opensource.org/licenses/MIT)

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Copyright (c) 2012-2016 Sébastien Rombauts ([email protected])
2+
# Copyright (c) 2012-2017 Sébastien Rombauts ([email protected])
33
#
44
# Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
55
# or copy at http://opensource.org/licenses/MIT)

0 commit comments

Comments
 (0)