Directory layout change
- Z21 Arduino library is moved to "z21library" subdir - Arduino compatibility code is moved to "arduino_compat" subdir
This commit is contained in:
parent
10a67bf9e2
commit
606b4ba00c
|
@ -24,11 +24,14 @@ set(PROJECT_SOURCES
|
|||
z21.h
|
||||
z21.cpp
|
||||
|
||||
arduinocompat.h
|
||||
arduinocompat.cpp
|
||||
arduino_compat/WProgram.h
|
||||
arduino_compat/EEPROM.h
|
||||
arduino_compat/arduinocompat.h
|
||||
arduino_compat/arduinocompat.cpp
|
||||
|
||||
WProgram.h
|
||||
EEPROM.h
|
||||
z21library/z21header.h
|
||||
z21library/z21.h
|
||||
z21library/z21.cpp
|
||||
)
|
||||
|
||||
if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||
|
@ -54,6 +57,8 @@ else()
|
|||
endif()
|
||||
endif()
|
||||
|
||||
target_include_directories(Z21ServerEmulator PRIVATE z21library arduino_compat)
|
||||
|
||||
target_link_libraries(Z21ServerEmulator PRIVATE Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Network)
|
||||
|
||||
set_target_properties(Z21ServerEmulator PROPERTIES
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
* This header is provided to use Z21 Library without source modifications
|
||||
*/
|
||||
|
||||
#include "arduinocompat.h"
|
||||
#include "arduino_compat/arduinocompat.h"
|
||||
|
||||
#endif // EEPROM_H
|
|
@ -6,6 +6,6 @@
|
|||
* This header is provided to use Z21 Library without source modifications
|
||||
*/
|
||||
|
||||
#include "arduinocompat.h"
|
||||
#include "arduino_compat/arduinocompat.h"
|
||||
|
||||
#endif // WPROGRAM_H
|
Loading…
Reference in New Issue