mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-25 13:38:35 -05:00
Increase the compile times by including more precompiled headers (#2217)
* Define WIN32_LEAN_AND_MEAN and VC_EXTRALEAN globally * Use forked version of TUIO, some more work on precompiled headers * Improvements for the Kameleon module
This commit is contained in:
@@ -76,6 +76,23 @@ target_include_directories(libTUIO11 SYSTEM
|
||||
"${PROJECT_SOURCE_DIR}/libTUIO11/"
|
||||
"${PROJECT_SOURCE_DIR}/libTUIO11/oscpack"
|
||||
)
|
||||
target_precompile_headers(libTUIO11 PRIVATE
|
||||
<iostream>
|
||||
<istream>
|
||||
<ostream>
|
||||
<stdexcept>
|
||||
)
|
||||
# # [["tuiopoint.h"]]
|
||||
# # [["tuiocontainer.h"]]
|
||||
# # [["tuiotime.h"]]
|
||||
# # [["tuioobject.h"]]
|
||||
# # [["tuiodispatcher.h"]]
|
||||
# # [["tuiolistener.h"]]
|
||||
# # [["tuioclient.h"]]
|
||||
# # [["oscreceiver.h"]]
|
||||
# <stdexcept>
|
||||
# <math.h>
|
||||
# )
|
||||
|
||||
if (WIN32)
|
||||
# Tuio dependencies
|
||||
|
||||
Submodule modules/touch/ext/libTUIO11 updated: a164db7a95...9c543bc229
@@ -28,16 +28,9 @@
|
||||
#include <modules/touch/include/win32_touch.h>
|
||||
#include <openspace/engine/globals.h>
|
||||
#include <openspace/engine/globalscallbacks.h>
|
||||
#include <openspace/engine/moduleengine.h>
|
||||
#include <openspace/engine/windowdelegate.h>
|
||||
#include <openspace/interaction/interactionmonitor.h>
|
||||
#include <openspace/navigation/navigationhandler.h>
|
||||
#include <openspace/navigation/orbitalnavigator.h>
|
||||
#include <openspace/rendering/renderengine.h>
|
||||
#include <openspace/rendering/screenspacerenderable.h>
|
||||
#include <ghoul/logging/logmanager.h>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
using namespace TUIO;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user