Chris Pavlina c8ef5208ee Add initial ogltest tool for user testing
This tool is currently very rudimentary. I pushed it because I need to
collect responses from it from users with diverse graphics
configurations, so I want the tool to be in the nightly builds.

This affects no KiCad code.
2017-03-29 16:19:43 -04:00

29 lines
690 B
CMake

include_directories( BEFORE
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/include
${OPENGL_INCLUDE_DIR}
${Boost_INCLUDE_DIR}
)
include_directories( SYSTEM
)
set( OGLTEST_FILES
kicad-ogltest.cpp
)
add_executable( kicad-ogltest ${OGLTEST_FILES} )
target_link_libraries( kicad-ogltest ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES} ${GLEW_LIBRARIES} )
if( APPLE )
# puts binaries into the *.app bundle while linking
set_target_properties( kicad-ogltest PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
)
else()
install( TARGETS kicad-ogltest
DESTINATION ${KICAD_BIN}
COMPONENT binary )
endif()