mirror of https://github.com/CGAL/cgal
modified the demos to compile if the LEDA is not installed
This commit is contained in:
parent
ddad646d04
commit
34d8ba9942
|
|
@ -1,3 +1,8 @@
|
|||
#ifndef CGAL_USE_LEDA
|
||||
#include <iostream>
|
||||
int main(){ std::cout << "This demo needs LEDA" << std::endl; return 0;}
|
||||
#else
|
||||
|
||||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/IO/Istream_iterator.h>
|
||||
#include <CGAL/IO/Window_stream.h>
|
||||
|
|
@ -26,3 +31,5 @@ int main () {
|
|||
std::ostream_iterator<Point>(std::cout,"\n"));
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
#ifndef CGAL_USE_LEDA
|
||||
#include <iostream>
|
||||
int main(){ std::cout << "This demo needs LEDA" << std::endl; return 0;}
|
||||
#else
|
||||
|
||||
|
||||
// stream_iterator.C
|
||||
// ----------------------------------------------------------
|
||||
// CGAL example program for the CGAL stream iterator adaptor.
|
||||
|
|
@ -49,3 +55,5 @@ int main() {
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue