move specctra. files in a specific folder specctra_import_export

This commit is contained in:
jean-pierre charras 2018-01-29 18:09:18 +01:00
parent 30e3f2e781
commit 39fc0656d1
7 changed files with 16 additions and 15 deletions

View File

@ -46,6 +46,7 @@ include_directories(
./import_dxf ./import_dxf
../utils/idftools ../utils/idftools
${GLM_INCLUDE_DIR} ${GLM_INCLUDE_DIR}
./specctra_import_export
${INC_AFTER} ${INC_AFTER}
) )
@ -270,10 +271,10 @@ set( PCBNEW_CLASS_SRCS
print_board_functions.cpp print_board_functions.cpp
printout_controler.cpp printout_controler.cpp
ratsnest.cpp ratsnest.cpp
specctra.cpp specctra_import_export/specctra.cpp
specctra_export.cpp specctra_import_export/specctra_export.cpp
specctra_import.cpp specctra_import_export/specctra_import.cpp
specctra_keywords.cpp specctra_import_export/specctra_keywords.cpp
swap_layers.cpp swap_layers.cpp
target_edit.cpp target_edit.cpp
tool_modedit.cpp tool_modedit.cpp
@ -347,20 +348,20 @@ set( PCBNEW_SCRIPTING_PYTHON_HELPERS
# auto-generate specctra_lexer.h and specctra_keywords.cpp # auto-generate specctra_lexer.h and specctra_keywords.cpp
make_lexer( make_lexer(
${CMAKE_CURRENT_SOURCE_DIR}/specctra.keywords ${CMAKE_CURRENT_SOURCE_DIR}/specctra_import_export/specctra.keywords
${CMAKE_CURRENT_SOURCE_DIR}/specctra_lexer.h ${CMAKE_CURRENT_SOURCE_DIR}/specctra_import_export/specctra_lexer.h
${CMAKE_CURRENT_SOURCE_DIR}/specctra_keywords.cpp ${CMAKE_CURRENT_SOURCE_DIR}/specctra_import_export/specctra_keywords.cpp
DSN DSN
# Pass header file with dependency on *_lexer.h as extra_arg # Pass header file with dependency on *_lexer.h as extra_arg
specctra.h specctra_import_export/specctra.h
) )
add_custom_target( add_custom_target(
specctra_lexer_source_files ALL specctra_lexer_source_files ALL
DEPENDS DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/specctra_lexer.h ${CMAKE_CURRENT_SOURCE_DIR}/specctra_import_export/specctra_lexer.h
${CMAKE_CURRENT_SOURCE_DIR}/specctra_keywords.cpp ${CMAKE_CURRENT_SOURCE_DIR}/specctra_import_export/specctra_keywords.cpp
) )

View File

@ -55,7 +55,7 @@
#include <class_board.h> #include <class_board.h>
#include <class_track.h> #include <class_track.h>
#include <specctra.h> #include "specctra.h"
#include <macros.h> #include <macros.h>

View File

@ -33,7 +33,7 @@
#include <boost/ptr_container/ptr_set.hpp> #include <boost/ptr_container/ptr_set.hpp>
#include <fctsys.h> #include <fctsys.h>
#include <specctra_lexer.h> #include "specctra_lexer.h"
#include <pcbnew.h> #include <pcbnew.h>
#include <memory> #include <memory>

View File

@ -55,7 +55,7 @@
#include <geometry/shape_poly_set.h> #include <geometry/shape_poly_set.h>
#include <specctra.h> #include "specctra.h"
using namespace DSN; using namespace DSN;

View File

@ -47,7 +47,7 @@
#include <connectivity_data.h> #include <connectivity_data.h>
#include <view/view.h> #include <view/view.h>
#include <specctra.h> #include "specctra.h"
using namespace DSN; using namespace DSN;

View File

@ -34,7 +34,7 @@
#include <cstdarg> #include <cstdarg>
#include <cstdio> #include <cstdio>
#include <specctra.h> #include "specctra.h"
#include <common.h> #include <common.h>