Commit 7bbbba26 authored by Brad King's avatar Brad King

ParseOGLExt: Compile independently from other VTK modules

Do not depend on headers from vtkCommonCore.
parent 708c3a5c
Pipeline #1424 passed with stage
......@@ -23,9 +23,6 @@
vtk_module_export_info()
include_directories(${VTK_SOURCE_DIR}/Common/Core
${VTK_BINARY_DIR}/Common/Core)
IF(NOT CMAKE_CROSSCOMPILING)
ADD_EXECUTABLE(vtkParseOGLExt Tokenizer.cxx ParseOGLExt.cxx)
vtk_compile_tools_target(vtkParseOGLExt)
......
......@@ -26,17 +26,25 @@
* statement of authorship are reproduced on all copies.
*/
#include "vtkSystemIncludes.h"
#include "Tokenizer.h"
#include <iostream>
#include <fstream>
#include <list>
#include <set>
#include <map>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
using std::cerr;
using std::endl;
using std::ofstream;
using std::ifstream;
using std::istream;
using std::ostream;
// #define this if you want debug output as the parser does its work
// #define DEBUG_PARSE
......
......@@ -22,8 +22,6 @@
* statement of authorship are reproduced on all copies.
*/
#include "vtkSystemIncludes.h"
#include "Tokenizer.h"
Tokenizer::Tokenizer(const char *s, const char *delim)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment