Commit fa6830ea authored by shadow_walker's avatar shadow_walker
Browse files

cmake custom target: test-renderer

parent c1818613
......@@ -2,6 +2,8 @@
#define EMAN_RENDERER_H
#include <cmath>
#include <vector>
#include "emutil.h"
namespace EMAN {
......
......@@ -6,3 +6,12 @@ add_custom_target(test-eer
COMMAND ${CMAKE_CTEST_COMMAND} -V -C Release -R test-eer
DEPENDS test_eer
)
add_executable(test_renderer test_renderer.cpp)
target_link_libraries(test_renderer PRIVATE EM2)
add_test(test-renderer test_renderer)
add_custom_target(test-renderer
COMMAND ${CMAKE_CTEST_COMMAND} -V -C Release -R test-renderer
DEPENDS test_renderer
)
#include "io/renderer.h"
using namespace EMAN;
#undef NDEBUG
#include <cassert>
int main()
{
return 0;
}
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