Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
CAMP
campvis-public
Commits
29618373
Commit
29618373
authored
Feb 18, 2014
by
Jenkins Build Bot Win8.1
Browse files
Some fixes to build CAMPVis on MSVC 2013
parent
98d5c0f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
cmake/FindTBB.cmake
View file @
29618373
...
...
@@ -32,6 +32,8 @@ IF (WIN32)
SET
(
TbbCompilerDirectory
"vc10"
)
ELSEIF
(
CAMPVIS_MSVC11
)
SET
(
TbbCompilerDirectory
"vc11"
)
ELSEIF
(
CAMPVIS_MSVC12
)
SET
(
TbbCompilerDirectory
"vc12"
)
ELSE
()
MESSAGE
(
WARNING
"Compiler not supported by makefile, you might be able to fix that..."
)
ENDIF
(
CAMPVIS_MSVC2010
)
...
...
cmake/commonconf.cmake
View file @
29618373
...
...
@@ -28,11 +28,19 @@ ELSEIF(${CMAKE_GENERATOR} STREQUAL "Visual Studio 10 Win64")
ELSEIF
(
${
CMAKE_GENERATOR
}
STREQUAL
"Visual Studio 11"
)
SET
(
CAMPVIS_MSVC11 TRUE
)
SET
(
CAMPVIS_WIN32 TRUE
)
MESSAGE
(
"Visual Studio 11 Build (32 Bit)
(not actively supported)
"
)
MESSAGE
(
"Visual Studio 11 Build (32 Bit)"
)
ELSEIF
(
${
CMAKE_GENERATOR
}
STREQUAL
"Visual Studio 11 Win64"
)
SET
(
CAMPVIS_MSVC11 TRUE
)
SET
(
CAMPVIS_WIN64 TRUE
)
MESSAGE
(
"Visual Studio 11 Build (64 Bit) (not actively supported)"
)
MESSAGE
(
"Visual Studio 11 Build (64 Bit)"
)
ELSEIF
(
${
CMAKE_GENERATOR
}
STREQUAL
"Visual Studio 12"
)
SET
(
CAMPVIS_MSVC12 TRUE
)
SET
(
CAMPVIS_WIN32 TRUE
)
MESSAGE
(
"Visual Studio 12 Build (32 Bit)"
)
ELSEIF
(
${
CMAKE_GENERATOR
}
STREQUAL
"Visual Studio 12 Win64"
)
SET
(
CAMPVIS_MSVC12 TRUE
)
SET
(
CAMPVIS_WIN64 TRUE
)
MESSAGE
(
"Visual Studio 12 Build (64 Bit)"
)
ELSEIF
(
${
CMAKE_GENERATOR
}
MATCHES
"NMake"
)
SET
(
CAMPVIS_NMAKE TRUE
)
...
...
@@ -43,6 +51,8 @@ ELSEIF(${CMAKE_GENERATOR} MATCHES "NMake")
SET
(
CAMPVIS_MSVC2010 TRUE
)
ELSEIF
(
MSVC11
)
SET
(
CAMPVIS_MSVC11 TRUE
)
ELSEIF
(
MSVC12
)
SET
(
CAMPVIS_MSVC12 TRUE
)
ENDIF
(
MSVC90
)
IF
(
CMAKE_CL_64
)
...
...
ext/tgt/gpucapabilities.cpp
View file @
29618373
...
...
@@ -212,7 +212,7 @@ void GpuCapabilities::logCapabilities(bool extensionsString, bool osString) {
features
.
str
(
""
);
features
<<
"Shaders: "
<<
(
areShadersSupported
()
?
"yes (OpenGL 2.0)"
:
"no"
);
if
(
!
areShadersSupported
())
{
LINFO
(
features
);
LINFO
(
features
.
str
()
);
}
else
{
features
<<
", GLSL Version "
<<
shaderVersion_
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment