Restore the add_subdirectory whitout CMakeList as cmake no longers
find files in it when running. Set policy 0014 to OLD to avoid warnings.
This commit is contained in:
parent
0fbf1ecbcd
commit
1f9fb3d425
|
@ -5,6 +5,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0)
|
|||
IF(COMMAND CMAKE_POLICY)
|
||||
CMAKE_POLICY(SET CMP0003 NEW)
|
||||
CMAKE_POLICY(SET CMP0005 NEW)
|
||||
CMAKE_POLICY(SET CMP0014 OLD)
|
||||
ENDIF(COMMAND CMAKE_POLICY)
|
||||
|
||||
SET(CMAKE_MODULE_PATH "${CRLCORE_SOURCE_DIR}/cmake_modules/" "$ENV{HURRICANE_TOP}/share/cmake_modules/" "$ENV{IO_TOP}/share/cmake_modules/" )
|
||||
|
|
|
@ -124,6 +124,7 @@
|
|||
set ( VstParserGrammar ${VstParserSourceDir}/VstParserGrammar.yy )
|
||||
set ( VstParserScannerCpp ${VstParserBinaryDir}/VstParserScanner.cpp )
|
||||
set ( VstParserGrammarCpp ${VstParserBinaryDir}/VstParserGrammar.cpp )
|
||||
add_subdirectory ( alliance )
|
||||
add_custom_target ( VstParser echo "Creating VST parser" )
|
||||
add_custom_command ( SOURCE ${VstParserScanner}
|
||||
COMMAND ${FLEX_EXECUTABLE}
|
||||
|
@ -152,6 +153,7 @@
|
|||
set ( IocParserGrammar ${IocParserSourceDir}/IocParserGrammar.yy )
|
||||
set ( IocParserScannerCpp ${IocParserBinaryDir}/IocParserScanner.cpp )
|
||||
set ( IocParserGrammarCpp ${IocParserBinaryDir}/IocParserGrammar.cpp )
|
||||
add_subdirectory ( ioc )
|
||||
add_custom_target ( IocParser echo "Creating IOC parser" )
|
||||
add_custom_command ( SOURCE ${IocParserScanner}
|
||||
COMMAND ${FLEX_EXECUTABLE}
|
||||
|
@ -180,6 +182,7 @@
|
|||
# # set ( LibertyParserGrammar ${LibertyParserSourceDir}/LibertyParserGrammar.yy )
|
||||
# # set ( LibertyParserScannerCpp ${LibertyParserBinaryDir}/LibertyParserScanner.cpp )
|
||||
# # set ( LibertyParserGrammarCpp ${LibertyParserBinaryDir}/LibertyParserGrammar.cpp )
|
||||
# # add_subdirectory ( liberty )
|
||||
# # add_custom_target ( LibertyParser echo "Creating LIBERTY parser" )
|
||||
# # add_custom_command ( SOURCE ${LibertyParserScanner}
|
||||
# COMMAND ${FLEX_EXECUTABLE}
|
||||
|
|
Loading…
Reference in New Issue