File: CMakeLists.txt

package info (click to toggle)
cmake 3.6.2-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 61,464 kB
  • sloc: ansic: 214,251; cpp: 167,437; yacc: 3,236; sh: 2,916; xml: 2,476; lex: 1,188; python: 530; asm: 334; lisp: 274; objc: 157; java: 124; f90: 113; fortran: 106; perl: 99; makefile: 78; pascal: 63; tcl: 55; php: 25; ruby: 22
file content (15 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cmake_minimum_required (VERSION 2.6)
project(CTestTestParallel)
include(CTest)

add_executable (LockFile lockFile.c)

add_test (TestRunSerial1 LockFile)
add_test (TestRunSerial2 LockFile)
set_tests_properties(TestRunSerial1 TestRunSerial2 PROPERTIES RUN_SERIAL true)

add_test (TestProcessorsGreaterThanMPL1 LockFile)
add_test (TestProcessorsGreaterThanMPL2 LockFile)
set_tests_properties(TestProcessorsGreaterThanMPL1 PROPERTIES PROCESSORS 10)
set_tests_properties(TestProcessorsGreaterThanMPL1 PROPERTIES DEPENDS
                     TestProcessorsGreaterThanMPL2)