mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-27 00:51:55 +00:00
Merge https://github.com/nigels-com/glew.git into master HEAD at Wed Aug 5 17:44:18 GMT 2015
This commit is contained in:
commit
32051fc50c
@ -36,7 +36,81 @@ BEGIN
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "Comments", "The OpenGL Extension Wrangler Library\r\nCopyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\nCopyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\nCopyright (C) 2002, Lev Povalahev\r\nAll rights reserved.\r\n \r\nRedistribution and use in source and binary forms, with or without \r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, \r\n this list of conditions and the following disclaimer.\r\n* Redistributions in binary form must reproduce the above copyright notice, \r\n this list of conditions and the following disclaimer in the documentation \r\n and/or other materials provided with the distribution.\r\n* The name of the author may be used to endorse or promote products \r\n derived from this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' \r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\nTHE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nLicense Applicability. Except to the extent portions of this file are\r\nmade subject to an alternative license as permitted in the SGI Free\r\nSoftware License B, Version 1.1 (the 'License'), the contents of this\r\nfile are subject only to the provisions of the License. You may not use\r\nthis file except in compliance with the License. You may obtain a copy\r\nof the License at Silicon Graphics, Inc., attn: Legal Services, 1600\r\nAmphitheatre Parkway, Mountain View, CA 94043-1351, or at:\r\n\r\nhttp://oss.sgi.com/projects/FreeB\r\n\r\nNote that, as provided in the License, the Software is distributed on an\r\n'AS IS' basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS\r\nDISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND\r\nCONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A\r\nPARTICULAR PURPOSE, AND NON-INFRINGEMENT.\r\n\r\nOriginal Code. The Original Code is: OpenGL Sample Implementation,\r\nVersion 1.2.1, released January 26, 2000, developed by Silicon Graphics,\r\nInc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.\r\nCopyright in any portions created by third parties is as indicated\r\nelsewhere herein. All Rights Reserved.\r\n\r\nAdditional Notice Provisions: This software was created using the\r\nOpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has\r\nnot been independently verified as being compliant with the OpenGL(R)\r\nversion 1.2.1 Specification.\0"
|
||||
VALUE "Comments",
|
||||
"The OpenGL Extension Wrangler Library\r\n"
|
||||
"Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\n"
|
||||
"Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\n"
|
||||
"Copyright (C) 2002, Lev Povalahev\r\n"
|
||||
"All rights reserved.\r\n"
|
||||
"\r\n"
|
||||
"Redistribution and use in source and binary forms, with or without \r\n"
|
||||
"modification, are permitted provided that the following conditions are met:\r\n"
|
||||
"\r\n"
|
||||
"* Redistributions of source code must retain the above copyright notice, \r\n"
|
||||
" this list of conditions and the following disclaimer.\r\n"
|
||||
"* Redistributions in binary form must reproduce the above copyright notice, \r\n"
|
||||
" this list of conditions and the following disclaimer in the documentation \r\n"
|
||||
" and/or other materials provided with the distribution.\r\n"
|
||||
"* The name of the author may be used to endorse or promote products \r\n"
|
||||
" derived from this software without specific prior written permission.\r\n"
|
||||
"\r\n"
|
||||
"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ''AS IS'' \r\n"
|
||||
"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\n"
|
||||
"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\n"
|
||||
"ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\n"
|
||||
"LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\n"
|
||||
"CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\n"
|
||||
"SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\n"
|
||||
"INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\n"
|
||||
"CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n"
|
||||
"ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\n"
|
||||
"THE POSSIBILITY OF SUCH DAMAGE.\r\n"
|
||||
"\r\n"
|
||||
"\r\n"
|
||||
"Mesa 3-D graphics library\r\n"
|
||||
"\r\n"
|
||||
"Version: 7.0\r\n"
|
||||
"\r\n"
|
||||
"Copyright (C) 1999-2007 Brian Paul All Rights Reserved.\r\n"
|
||||
"\r\n"
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a\r\n"
|
||||
"copy of this software and associated documentation files (the ''Software''),\r\n"
|
||||
"to deal in the Software without restriction, including without limitation\r\n"
|
||||
"the rights to use, copy, modify, merge, publish, distribute, sublicense,\r\n"
|
||||
"and/or sell copies of the Software, and to permit persons to whom the\r\n"
|
||||
"Software is furnished to do so, subject to the following conditions:\r\n"
|
||||
"\r\n"
|
||||
"The above copyright notice and this permission notice shall be included\r\n"
|
||||
"in all copies or substantial portions of the Software.\r\n"
|
||||
"\r\n"
|
||||
"THE SOFTWARE IS PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n"
|
||||
"OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n"
|
||||
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r\n"
|
||||
"BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r\n"
|
||||
"AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\n"
|
||||
"CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n"
|
||||
"\r\n"
|
||||
"\r\n"
|
||||
"Copyright (c) 2007 The Khronos Group Inc.\r\n"
|
||||
"\r\n"
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a\r\n"
|
||||
"copy of this software and/or associated documentation files (the\r\n"
|
||||
"''Materials''), to deal in the Materials without restriction, including\r\n"
|
||||
"without limitation the rights to use, copy, modify, merge, publish,\r\n"
|
||||
"distribute, sublicense, and/or sell copies of the Materials, and to\r\n"
|
||||
"permit persons to whom the Materials are furnished to do so, subject to\r\n"
|
||||
"the following conditions:\r\n"
|
||||
"\r\n"
|
||||
"The above copyright notice and this permission notice shall be included\r\n"
|
||||
"in all copies or substantial portions of the Materials.\r\n"
|
||||
"\r\n"
|
||||
"THE MATERIALS ARE PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND,\r\n"
|
||||
"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n"
|
||||
"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\n"
|
||||
"IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\n"
|
||||
"CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\n"
|
||||
"TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\n"
|
||||
"MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.\0"
|
||||
VALUE "CompanyName", "\0"
|
||||
VALUE "FileDescription", "Utility for verifying extension entry points\0"
|
||||
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
|
||||
|
@ -36,7 +36,81 @@ BEGIN
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "Comments", "The OpenGL Extension Wrangler Library\r\nCopyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\nCopyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\nCopyright (C) 2002, Lev Povalahev\r\nAll rights reserved.\r\n \r\nRedistribution and use in source and binary forms, with or without \r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, \r\n this list of conditions and the following disclaimer.\r\n* Redistributions in binary form must reproduce the above copyright notice, \r\n this list of conditions and the following disclaimer in the documentation \r\n and/or other materials provided with the distribution.\r\n* The name of the author may be used to endorse or promote products \r\n derived from this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' \r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\nTHE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nLicense Applicability. Except to the extent portions of this file are\r\nmade subject to an alternative license as permitted in the SGI Free\r\nSoftware License B, Version 1.1 (the 'License'), the contents of this\r\nfile are subject only to the provisions of the License. You may not use\r\nthis file except in compliance with the License. You may obtain a copy\r\nof the License at Silicon Graphics, Inc., attn: Legal Services, 1600\r\nAmphitheatre Parkway, Mountain View, CA 94043-1351, or at:\r\n\r\nhttp://oss.sgi.com/projects/FreeB\r\n\r\nNote that, as provided in the License, the Software is distributed on an\r\n'AS IS' basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS\r\nDISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND\r\nCONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A\r\nPARTICULAR PURPOSE, AND NON-INFRINGEMENT.\r\n\r\nOriginal Code. The Original Code is: OpenGL Sample Implementation,\r\nVersion 1.2.1, released January 26, 2000, developed by Silicon Graphics,\r\nInc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.\r\nCopyright in any portions created by third parties is as indicated\r\nelsewhere herein. All Rights Reserved.\r\n\r\nAdditional Notice Provisions: This software was created using the\r\nOpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has\r\nnot been independently verified as being compliant with the OpenGL(R)\r\nversion 1.2.1 Specification.\0"
|
||||
VALUE "Comments",
|
||||
"The OpenGL Extension Wrangler Library\r\n"
|
||||
"Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\n"
|
||||
"Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\n"
|
||||
"Copyright (C) 2002, Lev Povalahev\r\n"
|
||||
"All rights reserved.\r\n"
|
||||
"\r\n"
|
||||
"Redistribution and use in source and binary forms, with or without \r\n"
|
||||
"modification, are permitted provided that the following conditions are met:\r\n"
|
||||
"\r\n"
|
||||
"* Redistributions of source code must retain the above copyright notice, \r\n"
|
||||
" this list of conditions and the following disclaimer.\r\n"
|
||||
"* Redistributions in binary form must reproduce the above copyright notice, \r\n"
|
||||
" this list of conditions and the following disclaimer in the documentation \r\n"
|
||||
" and/or other materials provided with the distribution.\r\n"
|
||||
"* The name of the author may be used to endorse or promote products \r\n"
|
||||
" derived from this software without specific prior written permission.\r\n"
|
||||
"\r\n"
|
||||
"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ''AS IS'' \r\n"
|
||||
"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\n"
|
||||
"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\n"
|
||||
"ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\n"
|
||||
"LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\n"
|
||||
"CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\n"
|
||||
"SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\n"
|
||||
"INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\n"
|
||||
"CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n"
|
||||
"ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\n"
|
||||
"THE POSSIBILITY OF SUCH DAMAGE.\r\n"
|
||||
"\r\n"
|
||||
"\r\n"
|
||||
"Mesa 3-D graphics library\r\n"
|
||||
"\r\n"
|
||||
"Version: 7.0\r\n"
|
||||
"\r\n"
|
||||
"Copyright (C) 1999-2007 Brian Paul All Rights Reserved.\r\n"
|
||||
"\r\n"
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a\r\n"
|
||||
"copy of this software and associated documentation files (the ''Software''),\r\n"
|
||||
"to deal in the Software without restriction, including without limitation\r\n"
|
||||
"the rights to use, copy, modify, merge, publish, distribute, sublicense,\r\n"
|
||||
"and/or sell copies of the Software, and to permit persons to whom the\r\n"
|
||||
"Software is furnished to do so, subject to the following conditions:\r\n"
|
||||
"\r\n"
|
||||
"The above copyright notice and this permission notice shall be included\r\n"
|
||||
"in all copies or substantial portions of the Software.\r\n"
|
||||
"\r\n"
|
||||
"THE SOFTWARE IS PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n"
|
||||
"OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n"
|
||||
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r\n"
|
||||
"BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r\n"
|
||||
"AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\n"
|
||||
"CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n"
|
||||
"\r\n"
|
||||
"\r\n"
|
||||
"Copyright (c) 2007 The Khronos Group Inc.\r\n"
|
||||
"\r\n"
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a\r\n"
|
||||
"copy of this software and/or associated documentation files (the\r\n"
|
||||
"''Materials''), to deal in the Materials without restriction, including\r\n"
|
||||
"without limitation the rights to use, copy, modify, merge, publish,\r\n"
|
||||
"distribute, sublicense, and/or sell copies of the Materials, and to\r\n"
|
||||
"permit persons to whom the Materials are furnished to do so, subject to\r\n"
|
||||
"the following conditions:\r\n"
|
||||
"\r\n"
|
||||
"The above copyright notice and this permission notice shall be included\r\n"
|
||||
"in all copies or substantial portions of the Materials.\r\n"
|
||||
"\r\n"
|
||||
"THE MATERIALS ARE PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND,\r\n"
|
||||
"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n"
|
||||
"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\n"
|
||||
"IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\n"
|
||||
"CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\n"
|
||||
"TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\n"
|
||||
"MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.\0"
|
||||
VALUE "CompanyName", "\0"
|
||||
VALUE "FileDescription", "Utility for listing pixelformat capabilities\0"
|
||||
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
|
||||
|
@ -10,9 +10,9 @@ target_link_libraries(cmake-test PRIVATE GLEW::GLEW ${OPENGL_LIBRARIES})
|
||||
target_include_directories(cmake-test PRIVATE ${OPENGL_INCLUDE_DIR})
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 3.0)
|
||||
set(cgex $<CONFIG>)
|
||||
else()
|
||||
set(cgex $<CONFIGURATION>)
|
||||
else()
|
||||
set(cgex $<CONFIG>)
|
||||
endif()
|
||||
|
||||
target_compile_definitions(cmake-test PRIVATE
|
||||
|
@ -440,6 +440,9 @@
|
||||
<Project>{664e6f0d-6784-4760-9565-d54f8eb1edf4}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\glewinfo.rc" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
|
@ -439,6 +439,9 @@
|
||||
<Project>{664e6f0d-6784-4760-9565-d54f8eb1edf4}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\visualinfo.rc" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
|
@ -65,6 +65,7 @@ cmake out/build/cmake-testbuild -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build out/build/cmake-testbuild --target install --config Release --clean-first
|
||||
|
||||
export LD_LIBRARY_PATH=${PWD}/out/lib:$LD_LIBRARY_PATH
|
||||
export DYLD_LIBRARY_PATH=${PWD}/out/lib:$DYLD_LIBRARY_PATH
|
||||
|
||||
out/bin/cmake-test_d
|
||||
out/bin/cmake-test
|
||||
|
Loading…
Reference in New Issue
Block a user