Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
altalk23 committed Aug 5, 2023
2 parents b99e598 + a8d240b commit 735a2f5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ target_link_libraries(${PROJECT_NAME} PUBLIC GTest::gtest_main TulipHook)
if(WIN32)
set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "/INCREMENTAL:NO")

add_executable(WinTest winTest.cpp)
add_executable(WinTest misc/WinTest.cpp)
target_link_libraries(WinTest PUBLIC TulipHook)
set_target_properties(WinTest PROPERTIES LINK_FLAGS "/INCREMENTAL:NO")

add_library(TestMod SHARED mod.cpp)
add_library(TestMod SHARED misc/Mod.cpp)
target_link_libraries(TestMod PUBLIC TulipHook)
endif()

Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions test/winTest.cpp → test/misc/WinTest.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <tulip/TulipHook.hpp>
#include "tulip/TulipHook.hpp"

#include <iostream>

#define NO_INLINE __declspec(noinline)
Expand Down Expand Up @@ -66,4 +67,4 @@ int main() {
std::cout << "targetFunc returned " << value << std::endl;

return 0;
}
}

0 comments on commit 735a2f5

Please sign in to comment.