Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cpp interface and unit tests #36

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ebac2b3
add transform and filter functionality for nsfw
Sep 15, 2017
ec5013b
add some tests for the transform files
Sep 18, 2017
7f83be1
add testcases for the FileWatcher implementation
Sep 20, 2017
9b06a54
fix windows compile errors
Sep 20, 2017
08a55c9
add transform and filter functionality for nsfw
Sep 15, 2017
31090b2
add some tests for the transform files
Sep 18, 2017
56e485c
add testcases for the FileWatcher implementation
Sep 20, 2017
a358c03
fix windows compile errors
Sep 20, 2017
d9bb3c9
modify cmake and add ctest
Sep 25, 2017
f0d00a5
repair code style
Sep 25, 2017
250529b
merge conflicts
Sep 25, 2017
0e90a8a
delete comment in cmakelists
Sep 25, 2017
2a3f7b0
add virtual destructors
Sep 25, 2017
1f437b0
review issues
Sep 26, 2017
07fe872
review issues
Sep 27, 2017
1eda018
indentation
Sep 27, 2017
f031693
change a lot of thing to use this as a library
Oct 26, 2017
c4c31c3
install the project with cmake
Oct 27, 2017
ae40db2
add include guards
Oct 27, 2017
57fbfcf
add namespaces for nsfw
Oct 30, 2017
ab64839
add namespaces in whole project and every supported platform
Nov 2, 2017
b2aebce
change the js entry class to the library
Nov 2, 2017
f8bab16
FIX: compilation on macOS
reneme Nov 3, 2017
daba5e8
fix Filewatcher Test
Nov 7, 2017
020c1fc
integrate cmake and ctest to travis and appveyor
Nov 13, 2017
c9f8cb8
Merge branch 'master' into feature/add_cpp_interface_for_nsfw
Jan 24, 2018
d931ef3
update Catch to Catch2 2.1.0
reneme Jan 24, 2018
288c317
disable bogus test on macOS now
reneme Jan 24, 2018
4f1c5ec
fix mutex locking
Jan 24, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ project (${PROJECT_NAME})

message (STATUS "Running CMake version ${CMAKE_VERSION}")

set (CMAKE_CXX_STANDARD 11)

set (NSFW_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/include")

enable_testing()

add_subdirectory (src)
add_subdirectory (test)
2 changes: 1 addition & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"win_delay_load_hook": "false",
"include_dirs": [
"<!(node -e \"require('nan')\")",
"includes"
"include"
],
"conditions": [
["OS=='win'", {
Expand Down
Loading