eigen/demos/mandelbrot/CMakeLists.txt
Benoit Jacob 97a1038653 improve greatly mandelbrot demo:
- much better coloring
- determine max number of iterations and choice between float and double
  at runtime based on zoom level
- do draft renderings with increasing resolution before final rendering
2008-06-29 12:04:00 +00:00

21 lines
451 B
CMake

FIND_PACKAGE(Qt4 REQUIRED)
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
IF (CMAKE_COMPILER_IS_GNUCXX)
SET ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
ADD_DEFINITIONS ( "-DNDEBUG" )
ENDIF (CMAKE_COMPILER_IS_GNUCXX)
INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} )
SET(mandelbrot_SRCS
mandelbrot.cpp
)
QT4_AUTOMOC(${mandelbrot_SRCS})
ADD_EXECUTABLE(mandelbrot ${mandelbrot_SRCS})
TARGET_LINK_LIBRARIES(mandelbrot ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})