Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit aca7664

Browse files
committed
优化cmake
1 parent ac836f7 commit aca7664

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

native/CMakeLists.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,16 @@ else ()
192192

193193
endif ()
194194

195+
execute_process(
196+
COMMAND python main.py
197+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
198+
RESULT_VARIABLE result
199+
OUTPUT_VARIABLE output
200+
)
201+
202+
if(result EQUAL 0)
203+
message("BUILD FINISH")
204+
else()
205+
message("BUILD ERROR")
206+
endif()
207+

0 commit comments

Comments
 (0)