File: render-package.cmake

package info (click to toggle)
libsbml 5.20.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 117,108 kB
  • sloc: cpp: 469,781; xml: 364,270; ansic: 54,078; python: 12,540; makefile: 9,757; sh: 9,245; cs: 8,586; java: 8,151; perl: 6,133; ruby: 4,760; javascript: 1,605; php: 202; csh: 3
file content (62 lines) | stat: -rw-r--r-- 2,282 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
####################################################################
#
# SBML Rendering package 
#
# $Author Lucian Smith$
# $Id$
# $HeadURL$
#

if (ENABLE_RENDER)
#        add_subdirectory(c/render)
  add_subdirectory(c++/render)

  if(WITH_CSHARP)
    add_subdirectory(csharp/render)
  endif(WITH_CSHARP)

  if(WITH_JAVA)
    add_subdirectory(java/render)
  endif(WITH_JAVA)
  
  file(GLOB c_render_samples "${CMAKE_CURRENT_SOURCE_DIR}/c/render/*.c"
                         "${CMAKE_CURRENT_SOURCE_DIR}/c/render/*.h"
                         "${CMAKE_CURRENT_SOURCE_DIR}/c/render/README.txt")
  install(FILES ${c_render_samples} DESTINATION ${MISC_PREFIX}examples/c/render)

  file(GLOB cpp_render_samples "${CMAKE_CURRENT_SOURCE_DIR}/c++/render/*.c"
                         "${CMAKE_CURRENT_SOURCE_DIR}/c++/render/*.cpp"
                         "${CMAKE_CURRENT_SOURCE_DIR}/c++/render/*.h"
                         "${CMAKE_CURRENT_SOURCE_DIR}/c++/render/README.txt")
  install(FILES ${cpp_render_samples} DESTINATION ${MISC_PREFIX}examples/c++/render)

  if(WITH_PERL)
  # install perl examples
  file(GLOB perl_render_samples "${CMAKE_CURRENT_SOURCE_DIR}/perl/render/*.pl"
                         "${CMAKE_CURRENT_SOURCE_DIR}/perl/render/README.txt")
  install(FILES ${perl_render_samples} DESTINATION ${MISC_PREFIX}examples/perl/render)
  endif()
  
  if (WITH_PYTHON)
  # install python examples
  file(GLOB python_render_samples "${CMAKE_CURRENT_SOURCE_DIR}/python/render/*.py"
                           "${CMAKE_CURRENT_SOURCE_DIR}/python/render/README.txt")
  install(FILES ${python_render_samples} DESTINATION ${MISC_PREFIX}examples/python/render)
  endif()
  
  
  if(WITH_RUBY)
  # install ruby examples
  file(GLOB ruby_render_samples "${CMAKE_CURRENT_SOURCE_DIR}/ruby/render/*.rb"
                         "${CMAKE_CURRENT_SOURCE_DIR}/ruby/render/README.txt")
  install(FILES ${ruby_render_samples} DESTINATION ${MISC_PREFIX}examples/ruby/render)
  endif()
  
  if (WITH_R)
  # install r examples
  file(GLOB r_render_samples "${CMAKE_CURRENT_SOURCE_DIR}/r/render/*.R"
                           "${CMAKE_CURRENT_SOURCE_DIR}/r/render/README.txt")
  install(FILES ${r_render_samples} DESTINATION ${MISC_PREFIX}examples/r/render)
  endif()
  
endif(ENABLE_RENDER)