auto remove lex.yy.h
This commit is contained in:
parent
d01a29b0e0
commit
0b4f65bf9e
|
@ -1,6 +1,7 @@
|
||||||
# flex
|
# flex
|
||||||
find_package(FLEX REQUIRED)
|
find_package(FLEX REQUIRED)
|
||||||
flex_target(scan src/scan.l ${PROJECT_SOURCE_DIR}/src/lex.yy.c COMPILE_FLAGS --header-file="src/lex.yy.h")
|
flex_target(scan src/scan.l ${PROJECT_SOURCE_DIR}/src/lex.yy.c COMPILE_FLAGS --header-file="src/lex.yy.h")
|
||||||
|
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${PROJECT_SOURCE_DIR}/src/lex.yy.h)
|
||||||
|
|
||||||
# build!
|
# build!
|
||||||
file(GLOB C_SOURCES ${PROJECT_SOURCE_DIR}/src/*.c)
|
file(GLOB C_SOURCES ${PROJECT_SOURCE_DIR}/src/*.c)
|
||||||
|
|
Loading…
Reference in New Issue