~ubuntu-branches/ubuntu/wily/openms/wily

« back to all changes in this revision

Viewing changes to source/TEST/OPENSWATH/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Filippo Rusconi
  • Date: 2013-12-20 11:30:16 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20131220113016-wre5g9bteeheq6he
Tags: 1.11.1-3
* remove version number from libbost development package names;
* ensure that AUTHORS is correctly shipped in all packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project(tests)
 
2
 
 
3
set(my_tests
 
4
MRMScoring_test
 
5
Scoring_test
 
6
TestConvert
 
7
DiaHelpers_test
 
8
)
 
9
 
 
10
## add targets for the executables
 
11
foreach(i ${my_tests})
 
12
  add_executable(${i} ${i}.C)
 
13
  if(USE_BOOST_UNIT_TEST)
 
14
    target_link_libraries(${i} OpenSwathAlgo boost_unit_test_framework)
 
15
  else()
 
16
    target_link_libraries(${i} OpenMS)
 
17
  endif()
 
18
 
 
19
  add_test(${i} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${i})
 
20
endforeach(i)
 
21
 
 
22
add_dependencies(test_build ${my_tests} )
 
23
 
 
24
enable_testing()