File: CMakeLists.txt

package info (click to toggle)
gccxml 0.9.0%2Bgit20140716-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 60,796 kB
  • ctags: 77,240
  • sloc: ansic: 793,461; cpp: 37,497; asm: 26,833; sh: 5,086; makefile: 4,700; lex: 589; awk: 566; perl: 334; yacc: 271; pascal: 86
file content (19 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SET(EXE_DIR ".")
IF(EXECUTABLE_OUTPUT_PATH)
  SET(EXE_DIR "${EXECUTABLE_OUTPUT_PATH}")
ENDIF(EXECUTABLE_OUTPUT_PATH)


set(DEBIAN_TESTS 
  "${CMAKE_CURRENT_SOURCE_DIR}/cmath.cc"
  "${CMAKE_CURRENT_SOURCE_DIR}/complex.cc"
)

FOREACH(test ${DEBIAN_TESTS})
  GET_FILENAME_COMPONENT(name "${test}" NAME)
  GET_FILENAME_COMPONENT(name_we "${test}" NAME_WE)
  ADD_TEST(${name}
    ${EXE_DIR}/gccxml ${gccxml_dashI_args} ${test} -fxml=${name}.gcc.xml
  )
ENDFOREACH(test)