CMakeLists.txt 1.2 KB
Newer Older
remi cresson's avatar
remi cresson committed
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
if(OTB_USE_TENSORFLOW)
  # Tensorflow-dependent APPS
  OTB_CREATE_APPLICATION(NAME TensorflowModelServe
	SOURCES otbTensorflowModelServe.cxx ${${otb-module}_SYSTEM_INCLUDE_DIRS}
	LINK_LIBRARIES ${${otb-module}_LIBRARIES}
  )

  OTB_CREATE_APPLICATION(NAME TensorflowModelTrain
	SOURCES otbTensorflowModelTrain.cxx ${${otb-module}_SYSTEM_INCLUDE_DIRS}
	LINK_LIBRARIES ${${otb-module}_LIBRARIES}
  )

  OTB_CREATE_APPLICATION(NAME TrainClassifierFromDeepFeatures
	SOURCES otbTrainClassifierFromDeepFeatures.cxx ${${otb-module}_SYSTEM_INCLUDE_DIRS}
	LINK_LIBRARIES ${${otb-module}_LIBRARIES}
  )
  
  OTB_CREATE_APPLICATION(NAME ImageClassifierFromDeepFeatures
	SOURCES otbImageClassifierFromDeepFeatures.cxx ${${otb-module}_SYSTEM_INCLUDE_DIRS}
	LINK_LIBRARIES ${${otb-module}_LIBRARIES}
  )
endif()

# Tensorflow-independent APPS
OTB_CREATE_APPLICATION(NAME PatchesExtraction
	SOURCES otbPatchesExtraction.cxx
	LINK_LIBRARIES ${OTBCOMMON_LIBRARIES}
)
OTB_CREATE_APPLICATION(NAME LabelImageSampleSelection
	SOURCES otbLabelImageSampleSelection.cxx
	LINK_LIBRARIES ${OTBCOMMON_LIBRARIES}
)
33
34
35
36
OTB_CREATE_APPLICATION(NAME DensePolygonClassStatistics
	SOURCES otbDensePolygonClassStatistics.cxx
	LINK_LIBRARIES ${OTBCOMMON_LIBRARIES}
)