[Robot] App: enable precompiled header
This commit is contained in:
@@ -75,6 +75,12 @@ SET(Robot_SRCS
|
||||
${Python_SRCS}
|
||||
)
|
||||
|
||||
if(FREECAD_USE_PCH)
|
||||
add_definitions(-D_PreComp_)
|
||||
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" PCH_SRCS ${Robot_SRCS})
|
||||
ADD_MSVC_PRECOMPILED_HEADER(Robot PreCompiled.h PreCompiled.cpp PCH_SRCS)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
# FIXME: The bundled KDL has some extensions which makes it incompatible
|
||||
# to an installed KDL. To fix the issue two things must be done:
|
||||
# * revert the changes (and look for an alternative)
|
||||
|
||||
@@ -20,5 +20,4 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
@@ -38,13 +38,9 @@
|
||||
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
// STL
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// kdl_cp
|
||||
#include "kdl_cp/chain.hpp"
|
||||
|
||||
Reference in New Issue
Block a user