Rename libsims
This commit is contained in:
committed by
Raphael Coeffic
parent
2e7f20def9
commit
73539a10a9
@@ -313,7 +313,7 @@ add_subdirectory(tests)
|
|||||||
############# Install ####################
|
############# Install ####################
|
||||||
|
|
||||||
# Generate list of simulator plugins, used by all platforms
|
# Generate list of simulator plugins, used by all platforms
|
||||||
file(GLOB simulator_plugins "${CMAKE_BINARY_DIR}/*opentx-*simulator${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
file(GLOB simulator_plugins "${CMAKE_BINARY_DIR}/*edgetx-*simulator${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
||||||
|
|
||||||
# the current flavour is not automatically added if build in the current cmake iteration, so always
|
# the current flavour is not automatically added if build in the current cmake iteration, so always
|
||||||
# add its library name to be sure
|
# add its library name to be sure
|
||||||
@@ -349,7 +349,7 @@ if(POLICY CMP0026)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SIMU_TARGET)
|
if(SIMU_TARGET)
|
||||||
get_property(current_plugin TARGET opentx-${FLAVOUR}-simulator PROPERTY LOCATION)
|
get_property(current_plugin TARGET edgetx-${FLAVOUR}-simulator PROPERTY LOCATION)
|
||||||
list(APPEND simulator_plugins "${current_plugin}")
|
list(APPEND simulator_plugins "${current_plugin}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ if(SIMU_LUA_COMPILER)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(Qt5Widgets_FOUND)
|
if(Qt5Widgets_FOUND)
|
||||||
set(SIMULATOR_FLAVOUR opentx-${FLAVOUR})
|
set(SIMULATOR_FLAVOUR edgetx-${FLAVOUR})
|
||||||
set(SIMULATOR_TARGET ${SIMULATOR_FLAVOUR}-simulator)
|
set(SIMULATOR_TARGET ${SIMULATOR_FLAVOUR}-simulator)
|
||||||
add_definitions(-DSIMULATOR_FLAVOUR="${SIMULATOR_FLAVOUR}")
|
add_definitions(-DSIMULATOR_FLAVOUR="${SIMULATOR_FLAVOUR}")
|
||||||
include_directories(${COMPANION_SRC_DIRECTORY} ${COMPANION_SRC_DIRECTORY}/simulation)
|
include_directories(${COMPANION_SRC_DIRECTORY} ${COMPANION_SRC_DIRECTORY}/simulation)
|
||||||
|
|||||||
Reference in New Issue
Block a user