Skip to content

Commit

Permalink
Windows build tweaks. (#58)
Browse files Browse the repository at this point in the history
Send VISIT_WINDOWS_DIR to source-pkg creator script.
Remove commented out cmake code.
fix compiler warning.
  • Loading branch information
biagas committed Feb 7, 2019
1 parent 1b0056b commit 7ac21ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2245,6 +2245,7 @@ ELSE (NOT WIN32)
COMMAND ${MAKENSIS}
/DVisItVersion=${VISIT_VERSION}
/DVISIT_SOURCE_DIR=${VSD_NATIVE}
/DVISIT_WINDOWS_DIR=${VWD_NATIVE}
/DINSTALLER_LOCATION=${VISIT_BINARY_DIR}
${VISIT_WINDOWS_DIR}/distribution/installation/sourceinstallation.nsi
DEPENDS ${VISIT_WINDOWS_DIR}/distribution/installation/sourceinstallation.nsi
Expand Down
2 changes: 0 additions & 2 deletions src/viewer/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ ui/VisItPasswordWindow.h
SET(VIEWERLIB_SOURCES
${VIEWER_UI}
${VIEWER_DDT}
#QWsSocket.C
SharedDaemon.C
ViewerBaseUI.C
ViewerClientConnection.C
Expand Down Expand Up @@ -146,7 +145,6 @@ ENDIF(VISIT_STATIC)
SET(VIEWERLIB_MOC_SOURCES
${VIEWER_UI_MOC}
${VIEWER_DDT_MOC}
#QWsSocket.h
SharedDaemon.h
ViewerBaseUI.h
ViewerClientConnection.h
Expand Down
11 changes: 5 additions & 6 deletions src/visitpy/common/visitmodule.C
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@
//
extern "C"
{
VISITMODULE_API void initvisit();
VISITMODULE_API void cli_initvisit(int, bool, int, char **, int, char **);
VISITMODULE_API void cli_runscript(const char *);
void VISITMODULE_API initvisit();
void VISITMODULE_API cli_initvisit(int, bool, int, char **, int, char **);
void VISITMODULE_API cli_runscript(const char *);

// Expose these functions so we can call them from a facade
// VisIt module from "import visit" inside of Python.
Expand Down Expand Up @@ -474,12 +474,11 @@ static std::map<std::string, AnnotationObjectRef> localObjectMap;

static bool suppressQueryOutputState = false;

typedef enum QueryOutputReturnType {
static enum QueryOutputReturnType {
QueryString = 0,
QueryValue,
QueryObject
};
static QueryOutputReturnType queryOutputReturnType = QueryString;
} queryOutputReturnType = QueryString;

// pickle related
bool pickleReady=false;
Expand Down

0 comments on commit 7ac21ed

Please sign in to comment.