Use GLOB for listing all sources becasue ...
- Currently we compile all *.cpp sources.
- By using GLOB, we don't need to modify CMakeLists.txt.
- Our other runtimes (pure_arm_compute, new_runtime) already use this feature.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
PARENT_SCOPE
)
-SET (CUR_SRCS
- ${CMAKE_CURRENT_SOURCE_DIR}/NeuralNetworks.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/ModelBuilder.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/CompilationBuilder.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/ExecutionBuilder.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/Memory.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/Callbacks.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/LibraryInfo.cpp)
+FILE (GLOB_RECURSE CUR_SRCS "*.cpp")
SET (SRCS
${SRCS}