mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2024-12-22 22:16:38 +08:00
support parallel make
This commit is contained in:
parent
ad1575baab
commit
8a8145e63f
@ -1 +1 @@
|
||||
Subproject commit 4c74f4912c807d6155e354cc10d462ed3ee66a84
|
||||
Subproject commit fb4aecff02f143f322272d5597e428c93bdaa6fb
|
@ -10,3 +10,5 @@ link_libraries(tarsutil pthread)
|
||||
aux_source_directory(. DIR_SRCS)
|
||||
add_executable(${TARGETNAME} ${DIR_SRCS})
|
||||
|
||||
add_dependencies(${TARGETNAME} TUP-TARS)
|
||||
|
||||
|
@ -21,6 +21,7 @@ foreach (FILE ${SRC_LEX_LIST})
|
||||
OUTPUT ${CP_SOURCE_CPP_DIR}/${LEX_CPP}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMAND cp -rf ${LEX_CPP} ${CP_SOURCE_CPP_DIR}
|
||||
DEPENDS ${LEX_CPP}
|
||||
COMMENT "cp -rf ${LEX_CPP} ${CP_SOURCE_CPP_DIR}")
|
||||
|
||||
#设置依赖
|
||||
@ -49,6 +50,7 @@ foreach (FILE ${SRC_YACC_LIST})
|
||||
OUTPUT ${CP_SOURCE_H_DIR}/${YACC_H}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMAND cp -rf ${YACC_H} ${YACC_CPP} ${CP_SOURCE_H_DIR}
|
||||
DEPENDS ${YACC_H}
|
||||
COMMENT "cp -rf ${YACC_H} ${YACC_CPP} ${CP_SOURCE_H_DIR}")
|
||||
|
||||
#设置依赖
|
||||
|
Loading…
Reference in New Issue
Block a user