Moved the remaining Perl dependencies to xs/CMakeLists.txt

This commit is contained in:
bubnikv 2018-09-21 19:37:35 +02:00
parent b28047af5e
commit 8e1b5157b4
5 changed files with 105 additions and 27 deletions

View file

@ -1,3 +1,17 @@
#ifdef WIN32
// Why?
#define _WIN32_WINNT 0x0502
// The standard Windows includes.
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <Windows.h>
#include <wchar.h>
// Let the NVIDIA and AMD know we want to use their graphics card
// on a dual graphics card system.
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
#endif /* WIN32 */
#include "Config.hpp"
#include "Geometry.hpp"
#include "Model.hpp"