Skip to content

Commit 2acc836

Browse files
committed
Remove obsolete files from build process.
The files `ce_parse.c` and `ce_parse.h` have been replaces by their `cpp` / `hpp` counterparts along time ago but they were still generated
1 parent 321b30e commit 2acc836

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,6 @@ add_custom_command(
7373
set_source_files_properties(${GENERATED_SRC}/configoptions.cpp PROPERTIES GENERATED 1)
7474

7575

76-
# ce_parse.h
77-
add_custom_command(
78-
COMMAND ${BISON_EXECUTABLE} -l -d ${CMAKE_CURRENT_LIST_DIR}/constexp.y -o ce_parse.c
79-
DEPENDS ${CMAKE_CURRENT_LIST_DIR}/constexp.y
80-
OUTPUT ${GENERATED_SRC}/ce_parse.h
81-
WORKING_DIRECTORY ${GENERATED_SRC}
82-
)
83-
set_source_files_properties(${GENERATED_SRC}/ce_parse.h PROPERTIES GENERATED 1)
84-
8576
# all resource files
8677
file(GLOB RESOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/templates/*/*)
8778

@@ -227,7 +218,7 @@ add_library(doxymain STATIC
227218
#
228219
${GENERATED_SRC}/ce_parse.cpp
229220
# custom generated files
230-
${GENERATED_SRC}/ce_parse.h
221+
${GENERATED_SRC}/ce_parse.hpp
231222
${GENERATED_SRC}/resources.cpp
232223
#
233224
aliases.cpp

0 commit comments

Comments
 (0)