@@ -33,6 +33,7 @@ endif (UNIX)
3333
3434add_definitions (-DDEBUG)
3535
36+ add_definitions (-DEEZ_OPTION_GUI=1)
3637add_definitions (-DOPTION_SCPI=1)
3738add_definitions (-DHAVE_STRTOLL)
3839add_definitions (-DHAVE_STDBOOL)
@@ -68,12 +69,13 @@ endif()
6869
6970include_directories (
7071 src
71- src/eez/libs/agg
72- src/eez/libs/libscpi/inc
72+ src/bb3/conf
7373 src/bb3/libs/mqtt
74- src/eez/platform/simulator
7574 src/bb3/scpi
76- src/bb3/conf
75+ src/eez-framework /src
76+ src/eez-framework /src/eez/libs/agg
77+ src/eez-framework /src/eez/libs/libscpi/inc
78+ src/eez-framework /src/eez/platform/simulator
7779)
7880
7981include_directories (SYSTEM
@@ -92,15 +94,15 @@ set(header_files)
9294################################################################################
9395# EEZ Framework files
9496file (GLOB_RECURSE src_eez
95- src/eez/*.cpp
96- src/eez/*.c
97+ src/eez- framework /src/eez /*.cpp
98+ src/eez- framework /src/eez /*.c
9799)
98100file (GLOB_RECURSE header_eez
99- src/eez/*.h
101+ src/eez- framework /src/eez /*.h
100102)
101103
102104# exclude STM32 platform specific files
103- set (EXCLUDE_DIR "src/eez/platform/stm32" )
105+ set (EXCLUDE_DIR "src/eez-framework/src/eez /platform/stm32" )
104106foreach (TMP_PATH ${src_eez} )
105107 string (FIND ${TMP_PATH} ${EXCLUDE_DIR} EXCLUDE_DIR_FOUND)
106108 if (NOT ${EXCLUDE_DIR_FOUND} EQUAL -1)
@@ -117,11 +119,11 @@ endforeach(TMP_PATH)
117119list (APPEND src_files ${src_eez} )
118120list (APPEND header_files ${header_eez} )
119121
120- source_group (TREE "../../src/eez" PREFIX "eez" FILES ${src_eez} ${header_eez} )
122+ source_group (TREE "../../src/eez-framework/src/eez " PREFIX "eez" FILES ${src_eez} ${header_eez} )
121123
122124if (MSVC )
123125 set (libscpi_src_files ${src_files} )
124- list (FILTER libscpi_src_files INCLUDE REGEX "${CMAKE_CURRENT_SOURCE_DIR} /src/eez/libs/libscpi" )
126+ list (FILTER libscpi_src_files INCLUDE REGEX "${CMAKE_CURRENT_SOURCE_DIR} /src/eez-framework/src/eez /libs/libscpi" )
125127 set_source_files_properties (${libscpi_src_files} PROPERTIES COMPILE_FLAGS /W0)
126128endif ()
127129
0 commit comments