From 8e11bbfd4cc3156467050b1003c6bebb8e6a0b1b Mon Sep 17 00:00:00 2001 From: Nicolas Hake Date: Fri, 22 Apr 2016 00:15:30 +0200 Subject: [PATCH] Add pcg headers to IDEs --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6944ca20e..2cf75bcf2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1024,6 +1024,14 @@ src/platform/C4TimeMilliseconds.h src/zlib/gzio.c src/zlib/gzio.h src/zlib/zutil.h + + # pcg is a header-only library which we're listing solely so MSVC shows + # the sources in the solution explorer. We could use an INTERFACE library + # but there is no point to that because we don't need it for non-IDE + # generators and support on IDE-targetting generators is nonexistant. + thirdparty/pcg/pcg_extras.hpp + thirdparty/pcg/pcg_random.hpp + thirdparty/pcg/pcg_uint128.hpp ) target_link_libraries(libmisc ${ZLIB_LIBRARIES})