make core name a cmake option
This commit is contained in:
parent
391f9bb808
commit
a1fa8877f7
@ -51,11 +51,8 @@ endif()
|
||||
# Define the library
|
||||
add_library(${PROJECT_NAME} SHARED ${LIB_SOURCES})
|
||||
# list code gen dependencies
|
||||
if(TARGET TGF_B_src)
|
||||
add_dependencies(${PROJECT_NAME} TGF_B_src)
|
||||
endif()
|
||||
if(TARGET TGF_C_src)
|
||||
add_dependencies(${PROJECT_NAME} TGF_C_src)
|
||||
if(TARGET ${CORE_NAME}_src)
|
||||
add_dependencies(${PROJECT_NAME} ${CORE_NAME}_src)
|
||||
endif()
|
||||
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -Wno-shift-count-overflow)
|
||||
|
Loading…
Reference in New Issue
Block a user