-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Variables for windows installer Variables for using in the application added in configuration file of each plugin Signed-off-by: Ionut Muthi <[email protected]>
- Loading branch information
1 parent
26fbe9a
commit 6b5aece
Showing
30 changed files
with
204 additions
and
631 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
set(PLUGIN_COMPONENTS "" CACHE STRING "PLUGIN COMPONENTS FOR WINDOWS INSTALLER" FORCE) | ||
set(PLUGIN_COMPONENTS_FILES "" CACHE STRING "PLUGIN COMPONENTS FILES FOR WINDOWS INSTALLER" FORCE) | ||
|
||
function(ConfigureInstallerSettings PLUGIN_TARGET_NAME PLUGIN_INSTALLER_DESCRIPTION DEFAULT) | ||
set(SELECTABLE "Flags: disablenouninstallwarning") | ||
if(${DEFAULT} MATCHES FALSE) | ||
set(SELECTABLE "compact custom ; Flags: ${FIXED}") | ||
endif() | ||
set(PLUGIN_COMPONENTS | ||
"${PLUGIN_COMPONENTS} \n Name: \"plugins/${PLUGIN_TARGET_NAME}\"; Description: ${PLUGIN_INSTALLER_DESCRIPTION} ; Types: full plugins ${SELECTABLE} ;" | ||
CACHE STRING "PLUGIN COMPONENTS FOR WINDOWS INSTALLER" FORCE | ||
) | ||
set(PLUGIN_COMPONENTS_FILES | ||
"${PLUGIN_COMPONENTS_FILES} \n Source:\"{#DestFolder}\\plugins\\plugins\\libscopy-${PLUGIN_TARGET_NAME}.dll\"; DestDir: \"{app}\\plugins\\plugins\"; Components: plugins\\${PLUGIN_TARGET_NAME}; Flags: ignoreversion skipifsourcedoesntexist onlyifdoesntexist ;" | ||
CACHE STRING "PLUGIN COMPONENTS FILES FOR WINDOWS INSTALLER" FORCE | ||
) | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include/adc/scopy-adc_export.h | ||
include/adc/scopy-adc_config.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef SCOPY_ADC_CONFIG_H_CMAKEIN | ||
#define SCOPY_ADC_CONFIG_H_CMAKEIN | ||
|
||
#define ADC_PLUGIN_DISPLAY_NAME "@PLUGIN_DISPLAY_NAME@" | ||
#define ADC_PLUGIN_SCOPY_MODULE "@SCOPY_MODULE@" | ||
#define ADC_PLUGIN_DESCRIPTION "@PLUGIN_DESCRIPTION@" | ||
|
||
#cmakedefine ENABLE_SCOPYJS | ||
|
||
#endif // SCOPY_ADC_CONFIG_H_CMAKEIN | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include/datalogger/scopy-datalogger_export.h | ||
include/datalogger/scopy-datalogger_config.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
plugins/datalogger/include/datalogger/scopy-datalogger_config.h.cmakein
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef SCOPY_DATALOGGER_CONFIG_H_CMAKEIN | ||
#define SCOPY_DATALOGGER_CONFIG_H_CMAKEIN | ||
|
||
#define DATALOGGER_PLUGIN_DISPLAY_NAME "@PLUGIN_DISPLAY_NAME@" | ||
#define DATALOGGER_PLUGIN_SCOPY_MODULE "@SCOPY_MODULE@" | ||
#define DATALOGGER_PLUGIN_DESCRIPTION "@PLUGIN_DESCRIPTION@" | ||
|
||
#cmakedefine ENABLE_SCOPYJS | ||
|
||
#endif // SCOPY_DATALOGGER_CONFIG_H_CMAKEIN | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include/debugger/scopy-debugger_export.h | ||
include/debugger/scopy-debugger_config.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
plugins/debugger/include/debugger/scopy-debugger_config.h.cmakein
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef SCOPY_DEBUGGER_CONFIG_H_CMAKEIN | ||
#define SCOPY_DEBUGGER_CONFIG_H_CMAKEIN | ||
|
||
#define DEBUGGER_PLUGIN_DISPLAY_NAME "@PLUGIN_DISPLAY_NAME@" | ||
#define DEBUGGER_PLUGIN_SCOPY_MODULE "@SCOPY_MODULE@" | ||
#define DEBUGGER_PLUGIN_DESCRIPTION "@PLUGIN_DESCRIPTION@" | ||
|
||
#cmakedefine ENABLE_SCOPYJS | ||
|
||
#endif // SCOPY_DEBUGGER_CONFIG_H_CMAKEIN | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include/iiodebug/scopy-iiodebug_export.h | ||
include/iiodebug/scopy-iiodebug_config.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
plugins/iiodebug/include/iiodebug/scopy-iiodebug_config.h.cmakein
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef SCOPY_IIODEBUG_CONFIG_H_CMAKEIN | ||
#define SCOPY_IIODEBUG_CONFIG_H_CMAKEIN | ||
|
||
#define IIODEBUG_PLUGIN_DISPLAY_NAME "@PLUGIN_DISPLAY_NAME@" | ||
#define IIODEBUG_PLUGIN_SCOPY_MODULE "@SCOPY_MODULE@" | ||
#define IIODEBUG_PLUGIN_DESCRIPTION "@PLUGIN_DESCRIPTION@" | ||
|
||
#cmakedefine ENABLE_SCOPYJS | ||
|
||
#endif // SCOPY_IIODEBUG_CONFIG_H_CMAKEIN | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include/m2k/scopy-m2k_export.h | ||
include/m2k/scopy-m2k_config.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef SCOPY_M2K_CONFIG_H_CMAKEIN | ||
#define SCOPY_M2K_CONFIG_H_CMAKEIN | ||
|
||
#define M2K_PLUGIN_DISPLAY_NAME "@PLUGIN_DISPLAY_NAME@" | ||
#define M2K_PLUGIN_SCOPY_MODULE "@SCOPY_MODULE@" | ||
#define M2K_PLUGIN_DESCRIPTION "@PLUGIN_DESCRIPTION@" | ||
|
||
#cmakedefine ENABLE_SCOPYJS | ||
|
||
#endif // SCOPY_M2K_CONFIG_H_CMAKEIN | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include/pqm/scopy-pqm_export.h | ||
include/pqm/scopy-pqm_config.h |
Oops, something went wrong.