From fcbcb64058471aa7e1f4e34ed7ebcef1008bd675 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Fri, 18 Jun 2010 11:12:15 -0500 Subject: [PATCH] *.lst -> *.keywords, rename input filenames to CMake script TokenList2DsnLexer.cmake --- CMakeModules/TokenList2DsnLexer.cmake | 4 ++-- eeschema/CMakeLists.txt | 12 ++++++------ eeschema/{cmp_library.lst => cmp_library.keywords} | 0 ...e_fieldnames.lst => template_fieldnames.keywords} | 0 4 files changed, 8 insertions(+), 8 deletions(-) rename eeschema/{cmp_library.lst => cmp_library.keywords} (100%) rename eeschema/{template_fieldnames.lst => template_fieldnames.keywords} (100%) diff --git a/CMakeModules/TokenList2DsnLexer.cmake b/CMakeModules/TokenList2DsnLexer.cmake index 49ae4a7683..4223089373 100644 --- a/CMakeModules/TokenList2DsnLexer.cmake +++ b/CMakeModules/TokenList2DsnLexer.cmake @@ -43,9 +43,9 @@ # ${CMAKE_BINARY_DIR}/cmp_library_keywords.cpp # COMMAND ${CMAKE_COMMAND} # -Denum=YOURTOK_T -# -DinputFile=${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.lst +# -DinputFile=${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.keywords # -P ${CMAKE_MODULE_PATH}/TokenList2DsnLexer.cmake -# DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.lst +# DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.keywords # ) # # Input parameters: diff --git a/eeschema/CMakeLists.txt b/eeschema/CMakeLists.txt index 956dfaf86c..f260c712a3 100644 --- a/eeschema/CMakeLists.txt +++ b/eeschema/CMakeLists.txt @@ -160,11 +160,11 @@ add_custom_command( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/cmp_library_keywords.h ${CMAKE_CURRENT_SOURCE_DIR}/cmp_library_keywords.cpp COMMAND ${CMAKE_COMMAND} - -DinputFile=${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.lst + -DinputFile=${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.keywords -P ${CMAKE_MODULE_PATH}/TokenList2DsnLexer.cmake - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.lst + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.keywords COMMENT "creating ${CMAKE_CURRENT_SOURCE_DIR}/cmp_library_keywords.h(.cpp) - from ${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.lst" + from ${CMAKE_CURRENT_SOURCE_DIR}/cmp_library.keywords" ) set_source_files_properties( cmp_library_lexer.cpp PROPERTIES @@ -177,11 +177,11 @@ add_custom_command( ${CMAKE_CURRENT_SOURCE_DIR}/template_fieldnames_keywords.cpp COMMAND ${CMAKE_COMMAND} -Denum=TFIELD_T - -DinputFile=${CMAKE_CURRENT_SOURCE_DIR}/template_fieldnames.lst + -DinputFile=${CMAKE_CURRENT_SOURCE_DIR}/template_fieldnames.keywords -P ${CMAKE_MODULE_PATH}/TokenList2DsnLexer.cmake - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/template_fieldnames.lst + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/template_fieldnames.keywords COMMENT "creating ${CMAKE_CURRENT_SOURCE_DIR}/template_fieldnames_keywords.h(.cpp) - from ${CMAKE_CURRENT_SOURCE_DIR}/template_fieldnames.lst" + from ${CMAKE_CURRENT_SOURCE_DIR}/template_fieldnames.keywords" ) diff --git a/eeschema/cmp_library.lst b/eeschema/cmp_library.keywords similarity index 100% rename from eeschema/cmp_library.lst rename to eeschema/cmp_library.keywords diff --git a/eeschema/template_fieldnames.lst b/eeschema/template_fieldnames.keywords similarity index 100% rename from eeschema/template_fieldnames.lst rename to eeschema/template_fieldnames.keywords