final fix for build pipeline

This commit is contained in:
Akash Mozumdar 2018-07-22 23:27:12 -07:00
parent e12a35a609
commit ffeb4e2dad
3 changed files with 11 additions and 6 deletions

View File

@ -1,12 +1,7 @@
cmake_minimum_required(VERSION 2.8)
set(CMAKE_CONFIGURATION_TYPES Debug Release)
project(NextHooker)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/Debug")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/Release")
add_compile_options(
#/Zc:auto # config.pri
/wd4819 # config.pri
@ -29,5 +24,14 @@ include_directories(
texthook
)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/Debug)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/Debug)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/Debug)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/Release)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/Release)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/Release)
set(CMAKE_CONFIGURATION_TYPES Debug Release)
add_subdirectory(texthook)
add_subdirectory(vnrhook)

View File

@ -33,7 +33,7 @@ FORMS += \
mainwindow.ui
win32: LIBS += \
-L$$PWD/../Builds/Debug/texthook/ -lvnrhost
-L$$PWD/../Builds/Debug/Debug/ -lvnrhost
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin

View File

@ -48,6 +48,7 @@ GPL v3
## Compiling
Before compiling *NextHooker*, you should get Visual Studio with CMake and ATL support, as well as Qt version 5.11<br>
Use Visual Studio to compile all the CMake projects, then use Qt Creator to compile/run the GUI.
## Project Architecture