Re: [Mesa-dev] [PATCH 2/2] wglinfo: use common code from glinfo_common.c

2014-05-28 Thread Jose Fonseca
This is a nice cleanup. You can use ${CMAKE_SOURCE_DIR}/src/xdemos/glinfo_common.c instead. Jose - Original Message - > I'm not a cmake expert so I'm not sure my changes to CMakeLists.txt are > ideal. Doing ../somewhere always feels like a hack. > > -Brian > > > On 05/22/2014

Re: [Mesa-dev] [PATCH 2/2] wglinfo: use common code from glinfo_common.c

2014-05-22 Thread Brian Paul
I'm not a cmake expert so I'm not sure my changes to CMakeLists.txt are ideal. Doing ../somewhere always feels like a hack. -Brian On 05/22/2014 08:53 PM, Brian Paul wrote: --- src/wgl/CMakeLists.txt |3 +- src/wgl/wglinfo.c | 532 ++--

[Mesa-dev] [PATCH 2/2] wglinfo: use common code from glinfo_common.c

2014-05-22 Thread Brian Paul
--- src/wgl/CMakeLists.txt |3 +- src/wgl/wglinfo.c | 532 ++-- 2 files changed, 18 insertions(+), 517 deletions(-) diff --git a/src/wgl/CMakeLists.txt b/src/wgl/CMakeLists.txt index a32a664..d45cbf3 100644 --- a/src/wgl/CMakeLists.txt +++ b/s