New project structure: QT with cmake. Thanks to the work by Eduard Kalinowski

This commit is contained in:
lancos 2017-04-18 01:15:01 +02:00
parent a8a2975402
commit 29ada6e3ae
239 changed files with 1797 additions and 5295 deletions

360
CMakeLists.txt Normal file
View File

@ -0,0 +1,360 @@
PROJECT(ponyprog)
# Configure CMake ...
CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
CMAKE_POLICY(SET CMP0003 OLD)
CMAKE_POLICY(SET CMP0015 OLD)
# set the Qt version to 4 or 5
SET(USE_QT_VERSION 4)
# # SET(FILES_TO_TRANSLATE)
#disable -rdynamic
# SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
# SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
# FILE (GLOB TRANSLATIONS_FILES ${CMAKE_CURRENT_SOURCE_DIR}/translations/*.ts)
# OPTION (UPDATE_TRANSLATIONS "Update source translation ${CMAKE_CURRENT_SOURCE_DIR}/translations/*.ts" OFF)
MESSAGE(STATUS "Qt version for compiling: " ${USE_QT_VERSION})
IF(NOT ${USE_QT_VERSION} MATCHES "4" AND NOT ${USE_QT_VERSION} MATCHES "5")
MESSAGE(FATAL_ERROR "-- Qt version must be set to 4 or 5!")
ENDIF()
#debug or release
SET(USE_DEBUGGER false)
OPTION (USE_DEBUGGER "Include in binary file debug information" OFF)
#enable or disable profiling info
# SET(USE_PROFILER false)
OPTION (USE_PROFILER "Include in binary file profiling information" OFF)
IF(${USE_DEBUGGER})
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_DEBUG} -g -Wall")
ELSE()
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_RELEASE} -Wall")
ENDIF()
MESSAGE(STATUS "CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}")
INCLUDE(CheckIncludeFile)
INCLUDE(CheckIncludeFileCXX)
INCLUDE(TestCXXAcceptsFlag)
INCLUDE(CheckCXXCompilerFlag)
INCLUDE(FindPkgConfig)
SET(TARGET_NAME ponyprog )
SET(CMAKE_HELPERS_BINARY_DIR ${PROJECT_SOURCE_DIR}/cmake)
SET(CMAKE_HELPERS_SOURCE_DIR ${PROJECT_SOURCE_DIR}/cmake)
LIST(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
# INCLUDE(PONYPROGOutOfSourceBuild) # Disallow in-source builds
INCLUDE(GenerateDEF) # Convenience macro for linking Win32 DLLs using MSVC
INCLUDE(Dependencies)
INCLUDE(WordSize) # Detect 32/64 bit platform
INCLUDE(Compiler) # Detect problematic compilers
SET(QtApp_RCCS "${CMAKE_CURRENT_SOURCE_DIR}/ponyprog.qrc")
SET(CURRENT_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR})
# IF(NOT ${LIBUSB_VERSION} LESS "1.0.16")
# MESSAGE(STATUS "LibUSB version ${LIBUSB_VERSION}")
# ELSE()
# MESSAGE(FATAL_ERROR "-- LibUSB version ${LIBUSB_VERSION} TOO OLD! Please Install this library newer as 1.0.16")
# ENDIF()
# Set the PonyProg version
#cat README | grep -E '^[0-9]+\.[0-9]+\.[0-9]+' | head -n 1
EXECUTE_PROCESS (
COMMAND cat README
COMMAND grep -E "^[0-9]+\\.[0-9]+\\.[0-9]+"
COMMAND head -n 1
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
RESULT_VARIABLE PONYPROG_VERSION
OUTPUT_VARIABLE DESCRIBE_STRING
OUTPUT_STRIP_TRAILING_WHITESPACE)
IF(NOT DESCRIBE_STRING)
SET(DESCRIBE_STRING "no valid git tag for ${PROJECT_NAME} found")
ELSE()
STRING(REGEX MATCH "([0-9]+\\.[0-9]+\\.[0-9]+)" PONYPROG_VERSION "${DESCRIBE_STRING}" )
IF (NOT PONYPROG_VERSION)
SET(DESCRIBE_STRING "no valid git tag ${PROJECT_NAME}-x.x.x found")
ENDIF()
ENDIF()
MESSAGE(STATUS "Version info: ${PONYPROG_VERSION}")
SET(VERSION ${PONYPROG_VERSION})
#
SET(PONYPROG_VERSION "3.0.0")
EXECUTE_PROCESS (
COMMAND date +"%d %b %Y"
COMMAND sed -e "s/\"//g"
OUTPUT_VARIABLE BUILD_DATE
OUTPUT_STRIP_TRAILING_WHITESPACE)
MESSAGE(STATUS "Version build date: ${BUILD_DATE}")
#
SET(PONYPROG_PACKAGE ponyprog)
SET(PONYPROG_HOST ${CMAKE_SYSTEM} ${CMAKE_SYSTEM_PROCESSOR})
SET(PONYPROG_COPYRIGHT "Copyright (c) 1997-2017 Claudio Lanconelli , All Rights Reserved.")
SET(PONYPROG_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
# Setup high-level build options
# IF(MSVC)
# SET(PONYPROG_ENABLE_SYMBOL_VISIBILITY_DEFAULT ON)
# ELSE(MSVC)
# SET(PONYPROG_ENABLE_SYMBOL_VISIBILITY_DEFAULT OFF)
# ENDIF(MSVC)
# SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -lusb-1.0")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
# options for gprof
IF(${USE_PROFILER})
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pg")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pg")
# after execution of program: gprof ./build/ponyprog
# and get the information from gprof.txt file
MESSAGE(STATUS "Compile with profiling information")
ELSE()
MESSAGE(STATUS "Compile without profiling information")
ENDIF()
IF(${USE_QT_VERSION} MATCHES "4")
SET(HAVE_QT_PRINTSUPPORT true)
FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED)
IF(NOT QT4_FOUND)
MESSAGE(FATAL_ERROR "Qt4 could not be found. "
"If it's INSTALLed in a non-standard location, specify the path to qmake in QT_QMAKE_EXECUTABLE. "
"You can do it in interactive mode (ccmake instead of cmake) or using -DVAR=VAL syntax.")
ENDIF()
ELSE()
FIND_PACKAGE(Qt5 COMPONENTS Core PrintSupport Gui Widgets REQUIRED QUIET)
# FIND_PACKAGE(Qt5 COMPONENTS LinguistTools REQUIRED QUIET)
IF(NOT Qt5Widgets_FOUND)
MESSAGE(FATAL_ERROR "Qt5 could not be found. "
"If it's INSTALLed in a non-standard location, specify the path to qmake in QT_QMAKE_EXECUTABLE. "
"You can do it in interactive mode (ccmake instead of cmake) or using -DVAR=VAL syntax.")
ENDIF(NOT Qt5Widgets_FOUND)
ENDIF()
IF(${USE_QT_VERSION} MATCHES "4")
INCLUDE_DIRECTORIES(${QT_INCLUDES})
MESSAGE(STATUS "QT_INCLUDES ${QT_INCLUDES}")
# ADD_DEFINITIONS(-DGL_IMPLEMENTATION_GL)
# LINK_DIRECTORIES(${QT_LIBRARY_DIR})
ELSE()
INCLUDE_DIRECTORIES(${QT_INCLUDES} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5PrintSupport_INCLUDE_DIRS})
MESSAGE(STATUS "QT_INCLUDES ${QT_INCLUDES} ${Qt5Widgets_INCLUDE_DIRS} ")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS} ${Qt5PrintSupport_EXECUTABLE_COMPILE_FLAGS}")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -lQt5PrintSupport")
ENDIF()
configure_file (
"${PROJECT_SOURCE_DIR}/SrcPony/version.h.in"
"${PROJECT_SOURCE_DIR}/SrcPony/version.h" )
SET ( OBJECTS_DIR temp )
SET ( MOC_DIR temp )
SET ( UI_HEADERS_DIR temp )
SET ( UI_SOURCES_DIR temp )
ADD_SUBDIRECTORY(SrcHex)
ADD_SUBDIRECTORY(SrcPony)
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} $(CMAKE_CURRENT_SOURCE_DIR)/SrcHex/ $(CMAKE_CURRENT_SOURCE_DIR)/SrcPony/ )
IF(${USE_QT_VERSION} MATCHES "4")
# QT4_ADD_TRANSLATION(APP_TRANSLATIONS ${TRANSLATION})
QT4_WRAP_CPP(APP_HEADERS_MOC ${HEX_HEADERS} ${PONY_HEADERS} )
QT4_WRAP_UI(APP_FORMS_HEADERS ${PONY_FORMS} )
QT4_ADD_RESOURCES(APP_RESOURCES_RCC ${APP_RESOURCES})
ELSE()
# QT5_ADD_TRANSLATION(APP_TRANSLATIONS ${TRANSLATION})
QT5_WRAP_CPP(APP_HEADERS_MOC ${HEX_HEADERS} ${PONY_HEADERS} )
QT5_WRAP_UI(APP_FORMS_HEADERS ${PONY_FORMS} )
QT5_ADD_RESOURCES(APP_RESOURCES_RCC ${APP_RESOURCES})
ENDIF()
MESSAGE(STATUS "PONY_RESOURCES ${APP_RESOURCES_RCC}")
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
SOURCE_GROUP( "Generated Files" FILES
${MOC_FILES_CPP}
${APP_FORMS_HEADERS}
${APP_RESOURCES_RCC}
)
IF(${USE_QT_VERSION} MATCHES "4")
INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS} -DQT_PROJECT -DNO_QT3SUPPORT -DDISABLE_QT3SUPPORT)
ELSE()
ADD_DEFINITIONS( ${Qt5Widgets_DEFINITIONS} ${Qt5PrintSupport_DEFINITIONS} -DQT_PROJECT )
ENDIF()
ADD_EXECUTABLE(${CMAKE_PROJECT_NAME}
${APP_SOURCES}
${HEX_SOURCES}
${PONY_SOURCES}
${APP_HEADERS_MOC}
${APP_FORMS_HEADERS}
# ${APP_TRANSLATIONS}
${APP_RESOURCES_RCC}
)
IF(${USE_QT_VERSION} MATCHES "4")
TARGET_LINK_LIBRARIES(${CMAKE_PROJECT_NAME} ${QT_LIBRARIES} )
ELSE()
TARGET_LINK_LIBRARIES(${CMAKE_PROJECT_NAME} ${QT_LIBRARIES} ${Qt5Widgets_LIBRARIES} ${Qt5PrintSupport_LIBRARIES} )
MESSAGE(STATUS "QT LIBRARIES: ${QT_LIBRARIES} ${Qt5Widgets_LIBRARIES} ${Qt5PrintSupport_LIBRARIES} ${Qt5Core_LIBRARIES}")
# ELSE()
# TARGET_LINK_LIBRARIES(${CMAKE_PROJECT_NAME} ${Qt5Widgets_LIBRARIES} )
# ENDIF()
ENDIF()
ADD_CUSTOM_TARGET (tags
COMMAND ctags -R -f tags ${CMAKE_SOURCE_DIR}/SrcPony
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
# MESSAGE("CMAKE_SOURCE_DIR main ${CMAKE_SOURCE_DIR}")
# MESSAGE("CMAKE_CURRENT_BINARY_DIR main ${CMAKE_CURRENT_BINARY_DIR}")
# INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
# Setup module enabled/disabled defaults ...
IF(MSVC)
SET(PONYPROG_BUILD_GLX_MODULE_DEFAULT ON)
SET(PONYPROG_BUILD_OSX_MODULE_DEFAULT OFF)
SET(PONYPROG_BUILD_VIRTUAL_OFFSCREEN_MODULE_DEFAULT OFF)
ENDIF(MSVC)
IF(UNIX AND NOT APPLE)
SET(PONYPROG_BUILD_GLX_MODULE_DEFAULT ON)
SET(PONYPROG_BUILD_OSX_MODULE_DEFAULT OFF)
SET(PONYPROG_BUILD_VIRTUAL_OFFSCREEN_MODULE_DEFAULT OFF)
ENDIF(UNIX AND NOT APPLE)
IF(APPLE)
SET(PONYPROG_BUILD_GLX_MODULE_DEFAULT ON)
SET(PONYPROG_BUILD_OSX_MODULE_DEFAULT ON)
SET(PONYPROG_BUILD_VIRTUAL_OFFSCREEN_MODULE_DEFAULT OFF)
ENDIF(APPLE)
OPTION(PONYPROG_ENABLE_SYMBOL_VISIBILITY "Minimize the number of symbols exported from shared libraries." ${PONYPROG_ENABLE_SYMBOL_VISIBILITY_DEFAULT})
MARK_AS_ADVANCED(PONYPROG_ENABLE_SYMBOL_VISIBILITY)
# OPTION(PONYPROG_ENABLE_TESTING "Build the Ponyprog regression test suite." OFF)
# SET(BUILD_TESTING ${PONYPROG_ENABLE_TESTING} CACHE INTERNAL "" FORCE)
# INCLUDE(CTest)
# MARK_AS_ADVANCED(DART_TESTING_TIMEOUT)
# IF(PONYPROG_ENABLE_TESTING)
# CMAKE_MINIMUM_REQUIRED(VERSION 2.6.1 FATAL_ERROR)
# CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake @ONLY)
# ENDIF(PONYPROG_ENABLE_TESTING)
# Find required external packages
#PONYPROG_CHECK_REQUIRED_DEPENDENCY(PONYPROG_HTTRACK_FOUND "libhttrack2" "http://www.httrack.com" "")
# PONYPROG_CHECK_OPTIONAL_DEPENDENCY(PONYPROG_BUILD_3DS_IO_MODULE PONYPROG_3DS_FOUND "lib3ds")
# Capture system configuration
INCLUDE(SystemConfiguration)
# MSVC configuration
IF(MSVC)
IF(NOT MSVC)
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--enable-runtime-pseudo-reloc" CACHE STRING "" FORCE)
SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--enable-runtime-pseudo-reloc -Wl,--export-all-symbols" CACHE STRING "" FORCE)
ENDIF(NOT MSVC)
ENDIF(MSVC)
# Setup output directories ...
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PONYPROG_BINARY_DIR}/bin)
IF(MSVC)
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PONYPROG_BINARY_DIR}/bin)
ELSE(MSVC)
SET(PONYPROG_LIBDIR lib) # Allows us to handle 64-bit libs if/when it becomes necessary.
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PONYPROG_BINARY_DIR}/${PONYPROG_LIBDIR})
ENDIF(MSVC)
# Setup a macro for compiling resources ...
MACRO(PONYPROG_COMPILE_RESOURCE OUTPUT INPUT RESOURCE_PATH)
SET(INPUT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/${INPUT}")
SET(OUTPUT_FILE "${CMAKE_CURRENT_BINARY_DIR}/${INPUT}.cpp")
GET_FILENAME_COMPONENT(OUTPUT_PATH ${OUTPUT_FILE} PATH)
GET_TARGET_PROPERTY(PONYPROG_RESOURCE_COMPILER ponyprog-resource-compiler LOCATION)
ADD_CUSTOM_COMMAND(
DEPENDS ponyprog-resource-compiler
DEPENDS ${INPUT_FILE}
COMMAND ${CMAKE_COMMAND} -E make_directory ${OUTPUT_PATH}
COMMAND ${PONYPROG_RESOURCE_COMPILER} --input ${INPUT_FILE} --path \"<path>${RESOURCE_PATH}</path>\" --output ${OUTPUT_FILE}
OUTPUT ${OUTPUT_FILE}
COMMENT "Compiling resource ${INPUT_FILE}"
)
LIST(APPEND ${OUTPUT} ${OUTPUT_FILE})
ENDMACRO(PONYPROG_COMPILE_RESOURCE)
# Setup subdirectories ...
PONYPROG_CONDITIONAL_BUILD(MSVC gendef)
#
OPTION(PONYPROG_ENABLE_DISTRIBUTION "Enable distribution targets." ON)
PONYPROG_CONDITIONAL_BUILD(PONYPROG_ENABLE_DISTRIBUTION distribution)
# Hide some cruft ...
MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)
MARK_AS_ADVANCED(CMAKE_EXECUTABLE_FORMAT)
MARK_AS_ADVANCED(CMAKE_LIBRARY_OUTPUT_DIRECTORY)
MARK_AS_ADVANCED(CMAKE_OSX_ARCHITECTURES)
MARK_AS_ADVANCED(CMAKE_OSX_DEPLOYMENT_TARGET)
MARK_AS_ADVANCED(CMAKE_OSX_SYSROOT)
MARK_AS_ADVANCED(CMAKE_RUNTIME_OUTPUT_DIRECTORY)
MARK_AS_ADVANCED(CMAKE_USE_CHRPATH)

View File

@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.0.1, 2015-10-18T10:46:58. -->
<!-- Written by QtCreator 3.5.1, 2017-04-18T00:32:27. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
<value type="QByteArray">{b2e9d717-6bea-4bda-8a6c-4fe04945c59f}</value>
</data>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
<value type="int">0</value>
@ -29,9 +33,12 @@
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
<value type="int" key="EditorConfiguration.IndentSize">4</value>
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
@ -58,19 +65,18 @@
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/lancos/Progetti/PonyProg_Sourceforge/software</value>
<value type="bool" key="CMakeProjectManager.CMakeBuildConfiguration.UseNinja">false</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/lancos/Progetti/PonyProg3/PonyProg-3.0alpha/build</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="GenericProjectManager.GenericMakeStep.BuildTargets">
<value type="QString">all</value>
</valuelist>
<value type="bool" key="GenericProjectManager.GenericMakeStep.Clean">false</value>
<value type="QString" key="GenericProjectManager.GenericMakeStep.MakeArguments"></value>
<value type="QString" key="GenericProjectManager.GenericMakeStep.MakeCommand"></value>
<value type="QString" key="CMakeProjectManager.MakeStep.AdditionalArguments"></value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets"/>
<value type="bool" key="CMakeProjectManager.MakeStep.Clean">false</value>
<value type="QString" key="CMakeProjectManager.MakeStep.MakeCommand"></value>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">GenericProjectManager.GenericMakeStep</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
@ -79,16 +85,14 @@
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="GenericProjectManager.GenericMakeStep.BuildTargets">
<value type="QString">clean</value>
</valuelist>
<value type="bool" key="GenericProjectManager.GenericMakeStep.Clean">true</value>
<value type="QString" key="GenericProjectManager.GenericMakeStep.MakeArguments"></value>
<value type="QString" key="GenericProjectManager.GenericMakeStep.MakeCommand"></value>
<value type="QString" key="CMakeProjectManager.MakeStep.AdditionalArguments">clean</value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets"/>
<value type="bool" key="CMakeProjectManager.MakeStep.Clean">true</value>
<value type="QString" key="CMakeProjectManager.MakeStep.MakeCommand"></value>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">GenericProjectManager.GenericMakeStep</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
@ -98,9 +102,9 @@
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Default</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Default</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">GenericProjectManager.GenericBuildConfiguration</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">all</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeBuildConfiguration</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
@ -152,18 +156,17 @@
<value type="int">13</value>
<value type="int">14</value>
</valuelist>
<value type="QString" key="CMakeProjectManager.CMakeRunConfiguation.Title">ponyprog</value>
<value type="QString" key="CMakeProjectManager.CMakeRunConfiguration.Arguments"></value>
<value type="QString" key="CMakeProjectManager.CMakeRunConfiguration.UserWorkingDirectory"></value>
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">/home/lancos/Progetti/PonyProg_Sourceforge/software/bin/ponyprog2000</value>
<value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run /home/lancos/Progetti/PonyProg_Sourceforge/software/bin/ponyprog2000</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">ponyprog</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeRunConfiguration.ponyprog</value>
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
<value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
@ -176,11 +179,11 @@
<value type="int">1</value>
</data>
<data>
<variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
<value type="QByteArray">{b2e9d717-6bea-4bda-8a6c-4fe04945c59f}</value>
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
<value type="int">18</value>
</data>
<data>
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
<value type="int">15</value>
<variable>Version</variable>
<value type="int">18</value>
</data>
</qtcreator>

334
Makefile
View File

@ -1,334 +0,0 @@
#=======================================================================
# Makefile for PonyProg (based on V lib makefile)
# Copyright (C) 1997-2001 Claudio Lanconelli
#
# This program is part of PonyProg
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#=======================================================================
CONFIG=v/Config.mk
include $(CONFIG)
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#Local configuration (changed from V Config)
Bin = ./bin
CFLAGS += -D_LINUX_ -Wall -fpermissive -Wno-deprecated -Wno-write-strings
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PROGNAME = ponyprog2000
PROG = $(Bin)/$(PROGNAME)
SRCS=\
modaldlg_utilities.cpp \
e2app.cpp \
e2dlg.cpp \
e2cnv.cpp \
e2cmdw.cpp \
e2awinfo.cpp \
device.cpp \
e24xx.cpp \
e24xx-1.cpp \
e24xx-2.cpp \
e24xx-5.cpp \
e2401.cpp \
filebuf.cpp \
e2pfbuf.cpp \
binfbuf.cpp \
busio.cpp \
portint.cpp \
pgminter.cpp \
ponyioint.cpp \
rs232int.cpp \
easyi2c_interf.cpp \
ispinterf.cpp \
lptinterf.cpp \
lpt_io_interf.cpp \
lpt_ext_interf.cpp \
i2cbus.cpp \
crc.cpp \
infomdlg.cpp \
eeptypes.cpp \
profile.cpp \
e2profil.cpp \
intfbuf.cpp \
motsfbuf.cpp \
spi-bus.cpp \
at90sbus.cpp \
at90sxx.cpp \
at89sbus.cpp \
at89sxx.cpp \
interfconv.cpp \
wait.cpp \
microbus.cpp \
at93cbus.cpp \
at93cxx.cpp \
at93cxx8.cpp \
at250bus.cpp \
at250bus2.cpp \
at250xx.cpp \
at25xxx.cpp \
picbus.cpp \
pic16xx.cpp \
picbusnew.cpp \
pic168xx.cpp \
pic12bus.cpp \
pic125xx.cpp \
sde2506.cpp \
sdebus.cpp \
filldlg.cpp \
retrymdlg.cpp \
fusemdlg.cpp \
progoption.cpp \
sernumdlg.cpp \
aboutmdlg.cpp \
sxbus.cpp \
imbus.cpp \
nvm3060.cpp \
at17xxx.cpp \
csmfbuf.cpp \
x2444.cpp \
x2444bus.cpp \
dt006interf.cpp \
linuxsysfsint.cpp \
OBJS = $(SRCS:.cpp=.o)
PRPS = $(SRCS:.cpp=.i)
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.PHONY: default all objs clean cleanobj cleanall backup backuplink
default: vlib $(PROG)
all: vlib $(PROG)
vlib:
cd v; $(MAKE) vlib
installLinuxElf:
$(MAKE) ARCH=linuxelf install
install: $(PROG)
chmod 755 $(PROG)
cp $(PROG) $(INSTALL_PREFIX)/bin
distrib:
rm -f *.gz
rm -f string_table.h
echo "Start build..."
echo "Build SWEDISH ************************"
cp string_table_swedish.h string_table.h
touch string_table.h
$(MAKE) clean
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Swedish
gzip -9 PonyProg2000-Swedish
rm -f string_table.h
echo "Build POLISH ************************"
cp string_table_polish.h string_table.h
touch string_table.h
$(MAKE) clean
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Polish
gzip -9 PonyProg2000-Polish
rm -f string_table.h
echo "Build HUNGARIAN ************************"
cp string_table_hungarian.h string_table.h
touch string_table.h
$(MAKE) clean
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Hungarian
gzip -9 PonyProg2000-Hungarian
rm -f string_table.h
echo "Build CHINESE ************************"
cp string_table_chinese.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Chinese
gzip -9 PonyProg2000-Chinese
rm -f string_table.h
echo "Build ROMANESTE ************************"
cp string_table_romaneste.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Romaneste
gzip -9 PonyProg2000-Romaneste
rm -f string_table.h
echo "Build UKRAINIAN ************************"
cp string_table_ukrainian.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Ukrainian
gzip -9 PonyProg2000-Ukrainian
rm -f string_table.h
echo "Build BULGARIAN ************************"
cp string_table_bulgarian.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Bulgarian
gzip -9 PonyProg2000-Bulgarian
rm -f string_table.h
echo "Build BRAZILIAN ************************"
cp string_table_brazilian.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Brazilian
gzip -9 PonyProg2000-Brazilian
rm -f string_table.h
echo "Build SRPSKI ************************"
cp string_table_srpski.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Srpski
gzip -9 PonyProg2000-Srpski
rm -f string_table.h
echo "Build SLOVAK ************************"
cp string_table_slovak.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Slovak
gzip -9 PonyProg2000-Slovak
rm -f string_table.h
echo "Build RUSSIAN ************************"
cp string_table_russian.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Russian
gzip -9 PonyProg2000-Russian
rm -f string_table.h
echo "Build PORTUGUESE ************************"
cp string_table_portuguese.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Portuguese
gzip -9 PonyProg2000-Portuguese
rm -f string_table.h
echo "Build FRANCAIS ************************"
cp string_table_francais.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Francais
gzip -9 PonyProg2000-Francais
rm -f string_table.h
echo "Build SPANISH ************************"
cp string_table_spanish.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Spanish
gzip -9 PonyProg2000-Spanish
rm -f string_table.h
echo "Build HOLLANDS ************************"
cp string_table_nederlands.h string_table.h
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Nederlands
gzip -9 PonyProg2000-Nederlands
rm -f string_table.h
cp string_table_italiano.h string_table.h
echo "Build ITALIANO ************************"
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Italiano
gzip -9 PonyProg2000-Italiano
rm -f string_table.h
cp string_table_deutsch.h string_table.h
echo "Build DEUTSCH ************************"
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Deutsch
gzip -9 PonyProg2000-Deutsch
rm -f string_table.h
cp string_table_slovenski.h string_table.h
echo "Build SLOVENSKI ************************"
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Slovenski
gzip -9 PonyProg2000-Slovenski
rm -f string_table.h
cp string_table_hrvatski.h string_table.h
echo "Build HRVATSKI ************************"
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-Hrvatski
gzip -9 PonyProg2000-Hrvatski
rm -f string_table.h
cp string_table_english.h string_table.h
echo "Build ENGLISH ************************"
touch string_table.h
$(MAKE) dep
$(MAKE) -j5 $(PROG)
mv $(PROG) PonyProg2000-English
gzip -9 PonyProg2000-English
clean:
cd v; $(MAKE) clean
-rm -f $(CLEANEXTS)
-rm -f dep.file
cleanobj:
-rm -f $(OBJS)
cleanall: cleanobj clean
-rm -f $(PROG)
backup:
rm -f ../ponyprog.tar.gz
cd obj/linux; rm -f *.o
cd obj/linuxelf; rm -f *.o
cd ..; tar cvfhz ponyprog.tar.gz ponyprog/*.cpp ponyprog/*.h ponyprog/Makefile ponyprog/Config.mk ponyprog/COPYING ponyprog/README ponyprog/icons ponyprog/obj ponyprog/bin
chmod 640 ../ponyprog.tar.gz
cd ..; mv ponyprog.tar.gz backups/ponyprog_`date +%d%h%y`.tar.gz
cd ..; ln -s backups/ponyprog_`date +%d%h%y`.tar.gz ponyprog.tar.gz
objs: $(OBJS)
prps: $(PRPS)
$(PROG): $(OBJS) v/lib/libVx.a
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
%.o: %.cpp
$(CXX) $(CFLAGS) -c $< -o $@
%.i: %.cpp
$(CXX) $(CFLAGS) -E $< >$@
dep:
$(CXX) -MM $(CFLAGS) $(SRCS) >dep.file
#dep.file: $(SRCS)
dep.file:
$(CXX) -MM $(CFLAGS) $(SRCS) >dep.file
include dep.file

View File

@ -1,194 +0,0 @@
#=======================================================================
# Makefile for PonyProg for Windows Mingw
# Copyright (C) 1997-2013 Claudio Lanconelli
#
# This program is part of PonyProg
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#=======================================================================
CONFIG=v/Configwin.mk
include $(CONFIG)
INCDIR = -I./v/includew
PROGNAME = ponyprog2000.exe
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#Local configuration (changed from V Config)
BinDir = ./bin/win
oDir = ./obj/win
ifeq ($(DEBUG),no)
CFLAGS = -O2 -DNDEBUG
LDFLAGS = -s -static
else
CFLAGS = -g
LDFLAGS =
endif
CFLAGS += -Wall -fpermissive -Wno-deprecated -Wno-write-strings
CFLAGS += -D_WINDOWS
CFLAGS += $(INCDIR)
LIBS = -lmingw32 -lwinmm -mwindows -lcomctl32
LDFLAGS += -static-libgcc -static-libstdc++ $(LIBS)
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PROG = $(BinDir)/$(PROGNAME)
SRCS = \
modaldlg_utilities.cpp \
e2app.cpp \
e2dlg.cpp \
e2cnv.cpp \
e2cmdw.cpp \
e2awinfo.cpp \
device.cpp \
e24xx.cpp \
e24xx-1.cpp \
e24xx-2.cpp \
e24xx-5.cpp \
e2401.cpp \
filebuf.cpp \
e2pfbuf.cpp \
binfbuf.cpp \
busio.cpp \
portint.cpp \
pgminter.cpp \
ponyioint.cpp \
rs232int.cpp \
easyi2c_interf.cpp \
ispinterf.cpp \
lptinterf.cpp \
lpt_io_interf.cpp \
lpt_ext_interf.cpp \
i2cbus.cpp \
crc.cpp \
infomdlg.cpp \
eeptypes.cpp \
profile.cpp \
e2profil.cpp \
intfbuf.cpp \
motsfbuf.cpp \
spi-bus.cpp \
at90sbus.cpp \
at90sxx.cpp \
at89sbus.cpp \
at89sxx.cpp \
interfconv.cpp \
wait.cpp \
microbus.cpp \
at93cbus.cpp \
at93cxx.cpp \
at93cxx8.cpp \
at250bus.cpp \
at250bus2.cpp \
at250xx.cpp \
at25xxx.cpp \
picbus.cpp \
pic16xx.cpp \
picbusnew.cpp \
pic168xx.cpp \
pic12bus.cpp \
pic125xx.cpp \
sde2506.cpp \
sdebus.cpp \
filldlg.cpp \
retrymdlg.cpp \
fusemdlg.cpp \
progoption.cpp \
sernumdlg.cpp \
aboutmdlg.cpp \
sxbus.cpp \
imbus.cpp \
nvm3060.cpp \
at17xxx.cpp \
csmfbuf.cpp \
x2444.cpp \
x2444bus.cpp \
dt006interf.cpp \
linuxsysfsint.cpp \
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# List of all source files without directory and file-extension. (non toccare)
ALLSRCBASE = $(notdir $(basename $(SRCS)))
# List of all objects files. (aggiungiamo il percorso di output) (non toccare)
OBJS = $(addprefix $(oDir)/, $(addsuffix .o, $(ALLSRCBASE)))
# Generate dependency information (non toccare)
CFLAGS += -MD -MP -MF .dep/$(@F).d
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.PHONY: default all objs clean cleanlib cleanall backup backuplink
default: $(PROG)
all: vlib $(PROG)
vlib:
cd v; $(MAKE) -f Makefile.win
v/lib/libV.a:
cd v; $(MAKE) -f Makefile.win
cleanlib:
cd v; $(MAKE) -f Makefile.win clean
clean:
-rm -f $(oDir)/*.o
-rm -f ponyprog.res
-rm -f libinpout32.a
-rm -f .dep/*.d
cleanall: cleanlib clean
-rm -f $(PROG)
-rm -f $(CLEANEXTS)
objs: $(OBJS)
#prps: $(PRPS)
ponyprog.res: ponyprog.rc
@echo "Generating resource $@"
$(WINDRES) $< -O coff -o $@
libinpout32.a: inpout32.def
rm -f inpout32.dll
ln -s InpOutLib/Win32/inpout32.dll inpout32.dll
$(TOOLCHAINPREFIX)dlltool -D inpout32.dll -d inpout32.def -l $@
$(PROG): $(OBJS) v/lib/libV.a ponyprog.res
$(CXX) -o $@ $(OBJS) ponyprog.res v/lib/libV.a $(LDFLAGS)
# Compile: create object files from C source files.
define COMPILE_C_TEMPLATE
$(oDir)/$(notdir $(basename $(1))).o : $(1)
@echo $$< "->" $$@
$(CXX) -c $$(CFLAGS) $$< -o $$@
endef
$(foreach src, $(SRCS), $(eval $(call COMPILE_C_TEMPLATE, $(src))))
$(shell mkdir -p $(oDir) 2>/dev/null)
$(shell mkdir -p $(BinDir) 2>/dev/null)
#
# Include the dependency files, should be the last of the makefile
#
-include $(shell mkdir -p .dep 2>/dev/null) $(wildcard .dep/*)
# *** EOF ***

View File

@ -1,222 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="PonyProg2000" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option platforms="Windows;" />
<Option output="bin/Debug/ponyprog2000" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="0" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
<Add option="-DvDEBUG" />
</Compiler>
</Target>
<Target title="Release">
<Option platforms="Windows;" />
<Option output="bin/Release/PonyProg" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="0" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fpermissive -Wno-deprecated -Wno-write-strings" />
<Add option="-D_WINDOWS" />
<Add directory="v/includew" />
</Compiler>
<Linker>
<Add option="-static-libgcc" />
<Add option="-static-libstdc++" />
<Add option="-lV" />
<Add option="-linpout32" />
<Add option="-lmingw32" />
<Add option="-lwinmm" />
<Add option="-lcomctl32" />
<Add directory="." />
<Add directory="v/lib" />
</Linker>
<Unit filename="aboutmdlg.cpp" />
<Unit filename="aboutmdlg.h" />
<Unit filename="at17xxx.cpp" />
<Unit filename="at17xxx.h" />
<Unit filename="at250bus.cpp" />
<Unit filename="at250bus.h" />
<Unit filename="at250bus2.cpp" />
<Unit filename="at250bus2.h" />
<Unit filename="at250xx.cpp" />
<Unit filename="at250xx.h" />
<Unit filename="at25xxx.cpp" />
<Unit filename="at25xxx.h" />
<Unit filename="at89sbus.cpp" />
<Unit filename="at89sbus.h" />
<Unit filename="at89sxx.cpp" />
<Unit filename="at89sxx.h" />
<Unit filename="at90sbus.cpp" />
<Unit filename="at90sbus.h" />
<Unit filename="at90sxx.cpp" />
<Unit filename="at90sxx.h" />
<Unit filename="at93cbus.cpp" />
<Unit filename="at93cbus.h" />
<Unit filename="at93cxx.cpp" />
<Unit filename="at93cxx.h" />
<Unit filename="at93cxx8.cpp" />
<Unit filename="at93cxx8.h" />
<Unit filename="binfbuf.cpp" />
<Unit filename="binfbuf.h" />
<Unit filename="businter.h" />
<Unit filename="busio.cpp" />
<Unit filename="busio.h" />
<Unit filename="cmdenum.h" />
<Unit filename="crc.cpp" />
<Unit filename="crc.h" />
<Unit filename="csmfbuf.cpp" />
<Unit filename="csmfbuf.h" />
<Unit filename="device.cpp" />
<Unit filename="device.h" />
<Unit filename="dt006interf.cpp" />
<Unit filename="dt006interf.h" />
<Unit filename="e2401.cpp" />
<Unit filename="e2401.h" />
<Unit filename="e24xx-1.cpp" />
<Unit filename="e24xx-1.h" />
<Unit filename="e24xx-2.cpp" />
<Unit filename="e24xx-2.h" />
<Unit filename="e24xx-5.cpp" />
<Unit filename="e24xx-5.h" />
<Unit filename="e24xx.cpp" />
<Unit filename="e24xx.h" />
<Unit filename="e2app.cpp" />
<Unit filename="e2app.h" />
<Unit filename="e2awinfo.cpp" />
<Unit filename="e2awinfo.h" />
<Unit filename="e2cmdw.cpp" />
<Unit filename="e2cmdw.h" />
<Unit filename="e2cnv.cpp" />
<Unit filename="e2cnv.h" />
<Unit filename="e2dlg.cpp" />
<Unit filename="e2dlg.h" />
<Unit filename="e2pfbuf.cpp" />
<Unit filename="e2pfbuf.h" />
<Unit filename="e2phead.h" />
<Unit filename="e2profil.cpp" />
<Unit filename="e2profil.h" />
<Unit filename="easyi2c_interf.cpp" />
<Unit filename="easyi2c_interf.h" />
<Unit filename="eeptypes.cpp" />
<Unit filename="eeptypes.h" />
<Unit filename="errcode.h" />
<Unit filename="filebuf.cpp" />
<Unit filename="filebuf.h" />
<Unit filename="filldlg.cpp" />
<Unit filename="filldlg.h" />
<Unit filename="fusemdlg.cpp" />
<Unit filename="fusemdlg.h" />
<Unit filename="globals.h" />
<Unit filename="i2cbus.cpp" />
<Unit filename="i2cbus.h" />
<Unit filename="icon1.ico" />
<Unit filename="imbus.cpp" />
<Unit filename="imbus.h" />
<Unit filename="infomdlg.cpp" />
<Unit filename="infomdlg.h" />
<Unit filename="inpout32.h" />
<Unit filename="interfconv.cpp" />
<Unit filename="intfbuf.cpp" />
<Unit filename="intfbuf.h" />
<Unit filename="ispinterf.cpp" />
<Unit filename="ispinterf.h" />
<Unit filename="jdminter.h" />
<Unit filename="lpt_ext_interf.cpp" />
<Unit filename="lpt_ext_interf.h" />
<Unit filename="lpt_io_interf.cpp" />
<Unit filename="lpt_io_interf.h" />
<Unit filename="lptinterf.cpp" />
<Unit filename="lptinterf.h" />
<Unit filename="microbus.cpp" />
<Unit filename="microbus.h" />
<Unit filename="modaldlg_utilities.cpp" />
<Unit filename="modaldlg_utilities.h" />
<Unit filename="motsfbuf.cpp" />
<Unit filename="motsfbuf.h" />
<Unit filename="nvm3060.cpp" />
<Unit filename="nvm3060.h" />
<Unit filename="pgminter.cpp" />
<Unit filename="pgminter.h" />
<Unit filename="pic125xx.cpp" />
<Unit filename="pic125xx.h" />
<Unit filename="pic12bus.cpp" />
<Unit filename="pic12bus.h" />
<Unit filename="pic168xx.cpp" />
<Unit filename="pic168xx.h" />
<Unit filename="pic16xx.cpp" />
<Unit filename="pic16xx.h" />
<Unit filename="picbus.cpp" />
<Unit filename="picbus.h" />
<Unit filename="picbusnew.cpp" />
<Unit filename="picbusnew.h" />
<Unit filename="ponyioint.cpp" />
<Unit filename="ponyioint.h" />
<Unit filename="ponyprog.ico" />
<Unit filename="ponyprog.rc">
<Option compilerVar="WINDRES" />
</Unit>
<Unit filename="portint.cpp" />
<Unit filename="portint.h" />
<Unit filename="ppuser.h" />
<Unit filename="profile.cpp" />
<Unit filename="profile.h" />
<Unit filename="progoption.cpp" />
<Unit filename="progoption.h" />
<Unit filename="resource.h" />
<Unit filename="retrymdlg.cpp" />
<Unit filename="retrymdlg.h" />
<Unit filename="rs232int.cpp" />
<Unit filename="rs232int.h" />
<Unit filename="sde2506.cpp" />
<Unit filename="sde2506.h" />
<Unit filename="sdebus.cpp" />
<Unit filename="sdebus.h" />
<Unit filename="sernumdlg.cpp" />
<Unit filename="sernumdlg.h" />
<Unit filename="spi-bus.cpp" />
<Unit filename="spi-bus.h" />
<Unit filename="string_table.h" />
<Unit filename="sxbus.cpp" />
<Unit filename="sxbus.h" />
<Unit filename="types.h" />
<Unit filename="wait.cpp" />
<Unit filename="wait.h" />
<Unit filename="x2444.cpp" />
<Unit filename="x2444.h" />
<Unit filename="x2444bus.cpp" />
<Unit filename="x2444bus.h" />
<Extensions>
<code_completion />
<envvars />
<debugger />
<lib_finder disable_auto="1" />
<DoxyBlocks>
<comment_style block="0" line="0" />
<doxyfile_project />
<doxyfile_build />
<doxyfile_warnings />
<doxyfile_output />
<doxyfile_dot />
<general />
</DoxyBlocks>
</Extensions>
</Project>
</CodeBlocks_project_file>

View File

@ -1 +0,0 @@
// ADD PREDEFINED MACROS HERE!

View File

@ -1 +0,0 @@
[General]

View File

@ -1,434 +0,0 @@
aboutmdlg.cpp
aboutmdlg.h
at17xxx.cpp
at17xxx.h
at250bus.cpp
at250bus.h
at250bus2.cpp
at250bus2.h
at250xx.cpp
at250xx.h
at25xxx.cpp
at25xxx.h
at89sbus.cpp
at89sbus.h
at89sxx.cpp
at89sxx.h
at90sbus.cpp
at90sbus.h
at90sxx.cpp
at90sxx.h
at93cbus.cpp
at93cbus.h
at93cxx.cpp
at93cxx.h
at93cxx8.cpp
at93cxx8.h
binfbuf.cpp
binfbuf.h
businter.h
busio.cpp
busio.h
cmdenum.h
crc.cpp
crc.h
csmfbuf.cpp
csmfbuf.h
device.cpp
device.h
inpout32.h
dt006interf.cpp
dt006interf.h
e2401.cpp
e2401.h
e24xx-1.cpp
e24xx-1.h
e24xx-2.cpp
e24xx-2.h
e24xx-5.cpp
e24xx-5.h
e24xx.cpp
e24xx.h
e2app.cpp
e2app.h
e2awinfo.cpp
e2awinfo.h
e2cmdw.cpp
e2cmdw.h
e2cnv.cpp
e2cnv.h
e2dlg.cpp
e2dlg.h
e2pfbuf.cpp
e2pfbuf.h
e2phead.h
e2profil.cpp
e2profil.h
easyi2c_interf.cpp
easyi2c_interf.h
eeptypes.cpp
eeptypes.h
errcode.h
filebuf.cpp
filebuf.h
filldlg.cpp
filldlg.h
fusemdlg.cpp
fusemdlg.h
globals.h
i2cbus.cpp
i2cbus.h
imbus.cpp
imbus.h
infomdlg.cpp
infomdlg.h
interfconv.cpp
intfbuf.cpp
intfbuf.h
ispinterf.cpp
ispinterf.h
jdminter.h
lpt_ext_interf.cpp
lpt_ext_interf.h
lpt_io_interf.cpp
lpt_io_interf.h
lptinterf.cpp
lptinterf.h
microbus.cpp
microbus.h
modaldlg_utilities.cpp
modaldlg_utilities.h
motsfbuf.cpp
motsfbuf.h
nvm3060.cpp
nvm3060.h
pgminter.cpp
pgminter.h
pic125xx.cpp
pic125xx.h
pic12bus.cpp
pic12bus.h
pic168xx.cpp
pic168xx.h
pic16xx.cpp
pic16xx.h
picbus.cpp
picbus.h
picbusnew.cpp
picbusnew.h
ponyioint.cpp
ponyioint.h
portint.cpp
portint.h
ppuser.h
profile.cpp
profile.h
progoption.cpp
progoption.h
resource.h
retrymdlg.cpp
retrymdlg.h
rs232int.cpp
rs232int.h
sde2506.cpp
sde2506.h
sdebus.cpp
sdebus.h
sernumdlg.cpp
sernumdlg.h
SETUP/license.txt
SETUP/Readme.txt
spi-bus.cpp
spi-bus.h
string_table.h
sxbus.cpp
sxbus.h
types.h
v/includew/v/v_defs.h
v/includew/v/vapp.h
v/includew/v/vawinfo.h
v/includew/v/vbaseitm.h
v/includew/v/vbasewin.h
v/includew/v/vbglcnv.h
v/includew/v/vboxlblc.h
v/includew/v/vbrush.h
v/includew/v/vbtncmd.h
v/includew/v/vcanvas.h
v/includew/v/vcb2x4.h
v/includew/v/vcb2x8.h
v/includew/v/vcbtncmd.h
v/includew/v/vchkboxc.h
v/includew/v/vclabelc.h
v/includew/v/vcmd.h
v/includew/v/vcmdpane.h
v/includew/v/vcmdprnt.h
v/includew/v/vcmdwin.h
v/includew/v/vcolor.h
v/includew/v/vcomboc.h
v/includew/v/vcpdc.h
v/includew/v/vdc.h
v/includew/v/vdebug.h
v/includew/v/vdialog.h
v/includew/v/vdll.h
v/includew/v/vfilesel.h
v/includew/v/vfinddlg.h
v/includew/v/vfont.h
v/includew/v/vfontsel.h
v/includew/v/vframec.h
v/includew/v/vicon.h
v/includew/v/vkeys.h
v/includew/v/vlabelc.h
v/includew/v/vlayoutp.h
v/includew/v/vlistc.h
v/includew/v/vmemdc.h
v/includew/v/vmenu.h
v/includew/v/vmodald.h
v/includew/v/vnlprntr.h
v/includew/v/vnotice.h
v/includew/v/vnulldc.h
v/includew/v/vos.h
v/includew/v/vpane.h
v/includew/v/vpen.h
v/includew/v/vpopmenu.h
v/includew/v/vprintdc.h
v/includew/v/vprinter.h
v/includew/v/vprogrsc.h
v/includew/v/vradioc.h
v/includew/v/vrepldlg.h
v/includew/v/vreply.h
v/includew/v/vsliderc.h
v/includew/v/vslist.h
v/includew/v/vspinc.h
v/includew/v/vstatusp.h
v/includew/v/vtextc.h
v/includew/v/vtextcnv.h
v/includew/v/vtexted.h
v/includew/v/vtextinc.h
v/includew/v/vthislst.h
v/includew/v/vtimer.h
v/includew/v/vutil.h
v/includew/v/vwin32.h
v/includew/v/vwindc.h
v/includew/v/vwindow.h
v/includew/v/vwinprdc.h
v/includew/v/vwinprtr.h
v/includew/v/vynreply.h
v/includex/v/aw3d.h
v/includex/v/aw3dp.h
v/includex/v/awcmd3d.h
v/includex/v/awcmd3dp.h
v/includex/v/awlbl3d.h
v/includex/v/awlbl3dp.h
v/includex/v/awscl3d.h
v/includex/v/awscl3dp.h
v/includex/v/awsim3d.h
v/includex/v/awsim3dp.h
v/includex/v/awsld3d.h
v/includex/v/awsld3dp.h
v/includex/v/awtog3d.h
v/includex/v/awtog3dp.h
v/includex/v/canvas.h
v/includex/v/canvasp.h
v/includex/v/v_defs.h
v/includex/v/vapp.h
v/includex/v/vappold.h
v/includex/v/vawinfo.h
v/includex/v/vbaseitm.h
v/includex/v/vbasewin.h
v/includex/v/vbglcnv.h
v/includex/v/vbrush.h
v/includex/v/vbtncmd.h
v/includex/v/vcanvas.h
v/includex/v/vcb2x4.h
v/includex/v/vcb2x8.h
v/includex/v/vcbtncmd.h
v/includex/v/vchkboxc.h
v/includex/v/vclabelc.h
v/includex/v/vcmd.h
v/includex/v/vcmdpane.h
v/includex/v/vcmdprnt.h
v/includex/v/vcmdwin.h
v/includex/v/vcolor.h
v/includex/v/vcomboc.h
v/includex/v/vcpdc.h
v/includex/v/vctlclrs.h
v/includex/v/vdc.h
v/includex/v/vdebug.h
v/includex/v/vdialog.h
v/includex/v/vfilesel.h
v/includex/v/vfinddlg.h
v/includex/v/vfont.h
v/includex/v/vfontlst.h
v/includex/v/vfontsel.h
v/includex/v/vframec.h
v/includex/v/vicon.h
v/includex/v/vkeys.h
v/includex/v/vlabelc.h
v/includex/v/vlistc.h
v/includex/v/vmemdc.h
v/includex/v/vmenu.h
v/includex/v/vmodald.h
v/includex/v/vnlprntr.h
v/includex/v/vnotice.h
v/includex/v/vnulldc.h
v/includex/v/vos.h
v/includex/v/vpane.h
v/includex/v/vpaneold.h
v/includex/v/vpen.h
v/includex/v/vpopmenu.h
v/includex/v/vprintdc.h
v/includex/v/vprinter.h
v/includex/v/vprogrsc.h
v/includex/v/vpsdc.h
v/includex/v/vpsprntr.h
v/includex/v/vradioc.h
v/includex/v/vrepldlg.h
v/includex/v/vreply.h
v/includex/v/vsliderc.h
v/includex/v/vslist.h
v/includex/v/vspinc.h
v/includex/v/vstatusp.h
v/includex/v/vtextc.h
v/includex/v/vtextcnv.h
v/includex/v/vtexted.h
v/includex/v/vtextinc.h
v/includex/v/vtimer.h
v/includex/v/vtipwin.h
v/includex/v/vutil.h
v/includex/v/vwindow.h
v/includex/v/vx2vkey.h
v/includex/v/vxdc.h
v/includex/v/vxutil.h
v/includex/v/vynreply.h
v/srcwin/vapp.cpp
v/srcwin/vawinfo.cpp
v/srcwin/vbaseitm.cpp
v/srcwin/vbasewin.cpp
v/srcwin/vbglcnv.cpp
v/srcwin/vboxlblc.cpp
v/srcwin/vbrush.cpp
v/srcwin/vbtncmd.cpp
v/srcwin/vcanvas.cpp
v/srcwin/vcbtncmd.cpp
v/srcwin/vchkboxc.cpp
v/srcwin/vclabelc.cpp
v/srcwin/vcmd.cpp
v/srcwin/vcmdpane.cpp
v/srcwin/vcmdprnt.cpp
v/srcwin/vcmdwin.cpp
v/srcwin/vcolor.cpp
v/srcwin/vcomboc.cpp
v/srcwin/vcpdc.cpp
v/srcwin/vdebug.cpp
v/srcwin/vdialog.cpp
v/srcwin/vfilesel.cpp
v/srcwin/vfinddlg.cpp
v/srcwin/vfont.cpp
v/srcwin/vfontsel.cpp
v/srcwin/vframec.cpp
v/srcwin/vicon.cpp
v/srcwin/vlabelc.cpp
v/srcwin/vlayoutp.cpp
v/srcwin/vlistc.cpp
v/srcwin/vmemdc.cpp
v/srcwin/vmenu.cpp
v/srcwin/vmodald.cpp
v/srcwin/vnotice.cpp
v/srcwin/vos.cpp
v/srcwin/vpen.cpp
v/srcwin/vpopmenu.cpp
v/srcwin/vprogrsc.cpp
v/srcwin/vradioc.cpp
v/srcwin/vrepldlg.cpp
v/srcwin/vreply.cpp
v/srcwin/vsliderc.cpp
v/srcwin/vslist.cpp
v/srcwin/vspinc.cpp
v/srcwin/vstartup.cpp
v/srcwin/vtextc.cpp
v/srcwin/vtextcnv.cpp
v/srcwin/vtexted.cpp
v/srcwin/vtextinc.cpp
v/srcwin/vthislst.cpp
v/srcwin/vtimer.cpp
v/srcwin/vutil.cpp
v/srcwin/vwindc.cpp
v/srcwin/vwindow.cpp
v/srcwin/vwinprdc.cpp
v/srcwin/vwinprtr.cpp
v/srcwin/vynreply.cpp
v/srcx/aw3d.c
v/srcx/awcmd3d.c
v/srcx/awlbl3d.c
v/srcx/awscl3d.c
v/srcx/awsim3d.c
v/srcx/awsld3d.c
v/srcx/awtog3d.c
v/srcx/canvas.c
v/srcx/tabstr.c
v/srcx/tabstr.h
v/srcx/vapp.cxx
v/srcx/vawinfo.cxx
v/srcx/vbaseitm.cxx
v/srcx/vbasewin.cxx
v/srcx/vbglcnv.cxx
v/srcx/vbtncmd.cxx
v/srcx/vcanvas.cxx
v/srcx/vcbtncmd.cxx
v/srcx/vchkboxc.cxx
v/srcx/vclabelc.cxx
v/srcx/vcmd.cxx
v/srcx/vcmdpane.cxx
v/srcx/vcmdprnt.cxx
v/srcx/vcmdwin.cxx
v/srcx/vcolor.cxx
v/srcx/vcomboc.cxx
v/srcx/vcpdc.cxx
v/srcx/vdebug.cxx
v/srcx/vdialog.cxx
v/srcx/vfilesel.cxx
v/srcx/vfinddlg.cpp
v/srcx/vfont.cxx
v/srcx/vfontsel.cxx
v/srcx/vframec.cxx
v/srcx/vicon.cxx
v/srcx/vlabelc.cxx
v/srcx/vlistc.cxx
v/srcx/vmemdc.cxx
v/srcx/vmenu.cxx
v/srcx/vmodald.cxx
v/srcx/vnotice.cxx
v/srcx/vos.cxx
v/srcx/vpopmenu.cxx
v/srcx/vpopmenumin.cxx
v/srcx/vpopmenutry.cxx
v/srcx/vprogrsc.cxx
v/srcx/vpsdc.cxx
v/srcx/vpsprntr.cxx
v/srcx/vradioc.cxx
v/srcx/vrepldlg.cpp
v/srcx/vreply.cxx
v/srcx/vsliderc.cxx
v/srcx/vslist.cpp
v/srcx/vspinc.cxx
v/srcx/vstartup.cxx
v/srcx/vstatusp.cxx
v/srcx/vtextc.cxx
v/srcx/vtextcnv.cxx
v/srcx/vtextinc.cxx
v/srcx/vtimer.cxx
v/srcx/vtipwin.cxx
v/srcx/vutil.cxx
v/srcx/vwindow.cxx
v/srcx/vx2vkey.cxx
v/srcx/vxdc.cxx
v/srcx/vynreply.cxx
wait.cpp
wait.h
x2444.cpp
x2444.h
x2444bus.cpp
x2444bus.h
inpout32.h
linuxsysfsint.cpp
linuxsysfsint.h

View File

@ -1,59 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_layout_file>
<ActiveTarget name="Debug" />
<File name="e2profil.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6497" topLine="70" />
</Cursor>
</File>
<File name="e2profil.cpp" open="1" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="30212" topLine="1468" />
</Cursor>
</File>
<File name="wait.cpp" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4458" topLine="145" />
</Cursor>
</File>
<File name="inpout32.h" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="122" topLine="18" />
</Cursor>
</File>
<File name="e2app.cpp" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="19936" topLine="754" />
</Cursor>
</File>
<File name="aboutmdlg.cpp" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="5142" topLine="118" />
</Cursor>
</File>
<File name="portint.h" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3721" topLine="81" />
</Cursor>
</File>
<File name="portint.cpp" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="26857" topLine="904" />
</Cursor>
</File>
<File name="profile.cpp" open="1" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="5193" topLine="174" />
</Cursor>
</File>
<File name="e2cmdw.cpp" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="40105" topLine="1182" />
</Cursor>
</File>
<File name="lptinterf.cpp" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2930" topLine="54" />
</Cursor>
</File>
</CodeBlocks_layout_file>

Some files were not shown because too many files have changed in this diff Show More