Adds plugin support for windows platform (#364)

* updates cmake file for windows plugin support

* basic exports

* minor export fixes

* rename macro

* rename export macro

* fixes build error on windows

* cleanup cmakelist

* updated headers
This commit is contained in:
Atul R
2020-01-22 21:15:30 +01:00
committed by GitHub
parent 82793f6fd4
commit 7dcc329cf8
123 changed files with 304 additions and 216 deletions
+4
View File
@@ -3,6 +3,10 @@ set(PLUGIN_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}")
set(NODEGUI_ROOT "${PLUGIN_CMAKE_DIR}/..")
set(NODEGUI_LIBRARY "${NODEGUI_ROOT}/build/Release/nodegui_core.node")
if(WIN32)
set(NODEGUI_LIBRARY "${NODEGUI_ROOT}\\build\\Release\\nodegui_core.lib")
endif()
include("${PLUGIN_CMAKE_DIR}/common.cmake")
include("${PLUGIN_CMAKE_DIR}/qt.cmake")
include("${PLUGIN_CMAKE_DIR}/napi.cmake")