/tomo/pyhst

To get this branch, use:
bzr branch http://darksoft.org/webbzr/tomo/pyhst

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2011-02-09 16:46:23 UTC
  • Revision ID: csa@dside.dyndns.org-20110209164623-euzlyp4a6eh15iqg
Separate CPU code into the hst_cpu

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
set(DISTCLEANED_SLASH \\)
268
268
set(DISTCLEANED_SEMICOLON \;)
269
269
 
270
 
#ADD_SUBDIRECTORY(filters)
271
 
#ADD_SUBDIRECTORY(fastedf)
272
 
 
273
270
if (CUDA_FOUND)
274
271
    ADD_SUBDIRECTORY(hst_cuda)
275
272
    ADD_CUSTOM_TARGET(gpu ALL)
340
337
endif()
341
338
 
342
339
if (PROVIDE_CPU_MODE)
 
340
    ADD_SUBDIRECTORY(hst_cpu)
 
341
    ADD_DEPENDENCIES(cpu hst_cpu)
 
342
 
343
343
    ADD_CUSTOM_COMMAND(
344
344
        COMMAND ${PYTHON_EXECUTABLE}
345
345
        ARGS setup.py build_ext --define USECPU