forked from DarthTon/Blackbone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
113 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
cmake_minimum_required (VERSION 2.8) | ||
cmake_minimum_required (VERSION 3.13) | ||
project (BlackBone) | ||
|
||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++latest" ) | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") | ||
|
||
add_subdirectory(BlackBone) | ||
add_subdirectory(TestApp) | ||
add_subdirectory(Samples) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
cmake_minimum_required (VERSION 2.8) | ||
project (TestApp) | ||
cmake_minimum_required (VERSION 3.13) | ||
project (Samples) | ||
|
||
include_directories(../../Contrib) | ||
include_directories(..) | ||
|
||
add_executable(TestApp TestApp.cpp | ||
DriverTest.cpp | ||
LocalHookTest.cpp | ||
MMapTest.cpp | ||
MultiPtrTest.cpp | ||
PatternTest.cpp | ||
RemoteCallTest.cpp | ||
RemoteHookTest.cpp | ||
RemoteMemTest.cpp | ||
Tests.h) | ||
cmake_policy(SET CMP0015 NEW) | ||
|
||
if(CMAKE_SIZEOF_VOID_P EQUAL 8) | ||
link_directories(../3rd_party/DIA/lib/amd64) | ||
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4) | ||
link_directories(../3rd_party/DIA/lib) | ||
endif() | ||
|
||
add_executable(Samples Main.cpp ManualMap.cpp) | ||
|
||
target_link_libraries(TestApp BlackBone) | ||
target_link_libraries(Samples BlackBone diaguids.lib) |