set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb -O0")
set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -ggdb")
endif ()
+
+ # Be nice to Eclipse
+ add_definitions (-fmessage-length=0)
endif ()
if (MINGW)
if (WIN32)
set (os os_win32.cpp)
set (glws_os glws_wgl.cpp)
+ set (workqueue workqueue_win32.cpp)
else ()
set (os os_posix.cpp)
+ set (workqueue workqueue_posix.cpp)
if (APPLE)
set (glws_os glws_cocoa.mm)
else ()
common/image_pnm.cpp
common/image_png.cpp
common/${os}
+ common/${workqueue}
)
set_target_properties (common PROPERTIES