xdotool 1.0.49 → 1.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CMakeLists.txt CHANGED
@@ -1,21 +1,21 @@
1
1
  project(node_xdotool)
2
2
  cmake_minimum_required(VERSION 3.0)
3
3
 
4
- set(CMAKE_CXX_STANDARD 11)
4
+ option(NAN_INCLUDE_DIRECTORY "NAN bindings directory" ${CMAKE_CURRENT_SOURCE_DIR}/node_modules/nan)
5
+ option(NODE_INSTALL_DIR "Node.js path" "")
6
+
7
+ set(CMAKE_CXX_STANDARD 14)
5
8
  set(NODE_XDOTOOL_COMPILE_OPTIONS -Wfatal-errors)
6
9
  set(NODE_XDOTOOL_INCLUDE_DIRS ${CMAKE_JS_INC} ${NODE_INSTALL_DIR}/include/node ${NAN_INCLUDE_DIRECTORY} ${NODE_XDOTOOL_INCLUDE_DIRS})
7
10
  set(NODE_XDOTOOL_LIBRARIES xdo ${CMAKE_JS_LIB})
8
11
 
9
- option(NAN_INCLUDE_DIRECTORY "NAN bindings directory" "")
10
- option(NODE_INSTALL_DIR "Node.js path" "")
11
-
12
12
  set(NODE_XDOTOOL_SOURCE_FILES src/main.cpp
13
13
  src/xdo_c.h
14
14
  src/XdoTool.cpp
15
15
  src/ResourceManager.cpp
16
16
  src/XdoToolTaskWorker.cpp
17
17
  src/XdoToolTask.cpp
18
- src/TypeConverter.cpp
18
+ src/TypeConverter.cpp
19
19
  src/tasks/SendKeysequence.cpp
20
20
  src/Screenshooter.cpp
21
21
  src/XTask.cpp
@@ -32,7 +32,10 @@ set(NODE_XDOTOOL_SOURCE_FILES src/main.cpp
32
32
  src/tasks/GetMouseLocation.cpp
33
33
  src/tasks/ActivateWindow.cpp
34
34
  src/tasks/SearchWindows.cpp
35
- )
35
+ #src/tasks/GetActiveKeysToKeycodeList.cpp
36
+ #src/tasks/GetActiveKeysToKeycodeList.h
37
+ src/tasks/Sync.cpp
38
+ src/tasks/Sync.h src/tasks/GetFocusedWindow.cpp src/tasks/GetFocusedWindow.h)
36
39
 
37
40
  add_library(node_xdotool SHARED ${NODE_XDOTOOL_SOURCE_FILES})
38
41
  set_target_properties(node_xdotool PROPERTIES PREFIX "" SUFFIX ".node")