aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-08-06 23:56:27 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-08-06 23:56:27 +0300
commitccc740780f0f43e9623df281ea7a36e1cf4d627b (patch)
tree0791dbe33d23034fdb47c83339c15315d0c22a08 /utils/CMakeLists.txt
parentdon't hash bitwise (because you know, padding) (diff)
downloadwinapi-debug-ccc740780f0f43e9623df281ea7a36e1cf4d627b.tar.gz
winapi-debug-ccc740780f0f43e9623df281ea7a36e1cf4d627b.zip
define WIN32_LEAN_AND_MEAN
Diffstat (limited to '')
-rw-r--r--utils/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index 60f5b9f..b662e8e 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -1,14 +1,16 @@
find_package(Boost REQUIRED COMPONENTS filesystem program_options system)
add_executable(enum_symbols enum_symbols.cpp command_line.hpp pdb_descr.hpp)
-target_compile_definitions(enum_symbols PRIVATE _NO_CVCONST_H)
+target_compile_definitions(enum_symbols PRIVATE WIN32_LEAN_AND_MEAN)
target_include_directories(enum_symbols SYSTEM PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(enum_symbols PRIVATE pdb_repo ${Boost_LIBRARIES})
add_executable(name2addr name2addr.cpp)
+target_compile_definitions(name2addr PRIVATE WIN32_LEAN_AND_MEAN)
target_include_directories(name2addr SYSTEM PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(name2addr PRIVATE pdb_repo ${Boost_LIBRARIES})
add_executable(addr2name addr2name.cpp command_line.hpp pdb_descr.hpp)
+target_compile_definitions(addr2name PRIVATE WIN32_LEAN_AND_MEAN)
target_include_directories(addr2name SYSTEM PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(addr2name PRIVATE pdb_repo ${Boost_LIBRARIES})