Merge pull request #17 from hegge/build-system-fixes

Minor build system fixes, gitignore and compiler warning
This commit is contained in:
Magne Sjaastad 2013-04-03 00:17:39 -07:00
commit 99fcb435ed
4 changed files with 13 additions and 2 deletions

8
.gitignore vendored
View File

@ -4,6 +4,7 @@
# compiler output
*.o
*.a
# Octave plugins (compiled)
*.oct
@ -21,6 +22,13 @@ CMakeFiles/
CMakeCache.txt
/Generated/
*.qrc.depends
cmake_install.cmake
CPack*.cmake
CTest*.cmake
#Unit test binaries
*_UnitTests
!*_UnitTests/
# Target program
/ApplicationCode/ResInsight

View File

@ -52,7 +52,7 @@ void getActiveCellInfo(int32NDArray& activeCellInfo, const QString &hostName, qu
activeCellCount = byteCount / sizeof(qint32);
dim_vector dv (2);
dim_vector dv (2, 1);
dv(0) = activeCellCount;
dv(1) = timestepCount;
activeCellInfo.resize(dv);

View File

@ -51,7 +51,7 @@ void getMainGridDimensions(int32NDArray& gridDimensions, const QString &hostName
socketStream >> jCount;
socketStream >> kCount;
dim_vector dv (1);
dim_vector dv (1, 1);
dv(0) = 3;
gridDimensions.resize(dv);

3
ThirdParty/Ert/devel/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/lib/
ert_build_config.h
*_vector.[ch]