You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/06/09 16:28:55 UTC

[Bug 59685] New: [Patchset] Fix CMake builds for Visual Studio

https://bz.apache.org/bugzilla/show_bug.cgi?id=59685

            Bug ID: 59685
           Summary: [Patchset] Fix CMake builds for Visual Studio
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
          Assignee: bugs@httpd.apache.org
          Reporter: champion.p@gmail.com

A group of related fixes to fix the CMake build for Visual Studio (2015).
Tested against trunk and 2.4.20.

0001: On my machine, the current implementation isn't able to correctly
discover APR features (like APU_HAVE_CRYPTO). Setting CMAKE_REQUIRED_INCLUDES
to APR's include directory seems to fix this problem.

0002: The current implementation assumes .lib and related files will always be
placed directly inside the build root. But Visual Studio is a
multi-configuration generator, which means that output files may be placed in a
per-configuration subdirectory. To fix this, use CMake generator expressions
instead of hardcoding the paths to these files.

0003: Calls to Perl during installation did not quote the file path arguments,
so the installation would fail if the target path contained spaces (e.g.
"Program Files"). Quote all of these paths.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59685] [Patchset] Fix CMake builds for Visual Studio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59685

--- Comment #4 from Jacob Champion <ch...@gmail.com> ---
Trunked in r1752331, r1752332, and r1752333. Proposed for 2.4.x.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59685] [Patchset] Fix CMake builds for Visual Studio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59685

--- Comment #1 from Jacob Champion <ch...@gmail.com> ---
Created attachment 33933
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33933&action=edit
0001: use CMAKE_REQUIRED_INCLUDES to find APR macros

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59685] [Patchset] Fix CMake builds for Visual Studio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59685

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Christophe JAILLET <ch...@wanadoo.fr> ---
Backported in 2.4.x in r1770674

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59685] [Patchset] Fix CMake builds for Visual Studio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59685

--- Comment #3 from Jacob Champion <ch...@gmail.com> ---
Created attachment 33935
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33935&action=edit
0003: quote installation paths

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59685] [Patchset] Fix CMake builds for Visual Studio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59685

Jacob Champion <ch...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
           Keywords|                            |PatchAvailable

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59685] [Patchset] Fix CMake builds for Visual Studio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59685

--- Comment #2 from Jacob Champion <ch...@gmail.com> ---
Created attachment 33934
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33934&action=edit
0002: use generator expressions to find output files

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org