2016-01-05 23:01:17 +08:00
|
|
|
# config.pri
|
|
|
|
# DEFINES += _SECURE_SCL=0 _SCL_SECURE_NO_WARNINGS
|
|
|
|
# DEFINES += _CRT_SECURE_NO_WARNINGS
|
|
|
|
|
2015-04-02 22:29:31 +08:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
|
|
|
set(CMAKE_CONFIGURATION_TYPES Debug Release)
|
|
|
|
|
|
|
|
project(vnr)
|
|
|
|
|
2016-01-05 23:01:17 +08:00
|
|
|
set(WDK_HOME "C:\\WinDDK\\7600.16385.1" CACHE FILEPATH "Windows Driver Kit path")
|
2015-04-02 22:29:31 +08:00
|
|
|
|
|
|
|
add_definitions(
|
2016-01-05 23:01:17 +08:00
|
|
|
/DUNICODE
|
|
|
|
/D_UNICODE
|
|
|
|
/D_SECURE_SCL=0
|
|
|
|
/D_SCL_SECURE_NO_WARNINGS
|
|
|
|
/D_CRT_SECURE_NO_WARNINGS
|
2015-04-02 22:29:31 +08:00
|
|
|
)
|
|
|
|
|
2016-01-05 23:01:17 +08:00
|
|
|
include_directories(
|
|
|
|
${PROJECT_SOURCE_DIR}
|
|
|
|
${PROJECT_SOURCE_DIR}/texthook
|
2015-04-02 22:29:31 +08:00
|
|
|
)
|
|
|
|
|
2016-01-05 23:01:17 +08:00
|
|
|
add_subdirectory(vnrhook)
|
|
|
|
add_subdirectory(texthook/host)
|
|
|
|
add_subdirectory(ithsys)
|
|
|
|
add_subdirectory(profile)
|