Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mattias Ellert
CMake
Commits
930bed0f
Commit
930bed0f
authored
22 years ago
by
Sebastien Barre
Browse files
Options
Downloads
Patches
Plain Diff
ENH: first stab at wxWindows support (win32)
parent
48c13099
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/FindwxWindows.cmake
+39
-0
39 additions, 0 deletions
Modules/FindwxWindows.cmake
with
39 additions
and
0 deletions
Modules/FindwxWindows.cmake
0 → 100644
+
39
−
0
View file @
930bed0f
#
# This module finds if wxWindows is installed and determines where the
# include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables:
#
# WXWINDOWS_STATIC_LIBRARY = full path to the wxWindows static library
# WXWINDOWS_SHARED_LIBRARY = full path to the wxWindows shared import library
# WXWINDOWS_INCLUDE_PATH = path to wx.h
SET
(
WXWINDOWS_POSSIBLE_LIB_PATHS
"[HKEY_LOCAL_MACHINE
\\
SOFTWARE
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Uninstall
\\
wxWindows_is1;Inno Setup: App Path]/lib"
$ENV{WXWIN}/lib
)
FIND_LIBRARY
(
WXWINDOWS_STATIC_LIBRARY
NAMES wx
PATHS
${
WXWINDOWS_POSSIBLE_LIB_PATHS
}
)
FIND_LIBRARY
(
WXWINDOWS_SHARED_LIBRARY
NAMES wx23_2 wx22_9
PATHS
${
WXWINDOWS_POSSIBLE_LIB_PATHS
}
)
SET
(
WXWINDOWS_POSSIBLE_INCLUDE_PATHS
"[HKEY_LOCAL_MACHINE
\\
SOFTWARE
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Uninstall
\\
wxWindows_is1;Inno Setup: App Path]/include/wx"
$ENV{WXWIN}/include/wx
)
FIND_PATH
(
WXWINDOWS_INCLUDE_PATH
wx.h
${
WXWINDOWS_POSSIBLE_INCLUDE_PATHS
}
)
MARK_AS_ADVANCED
(
WXWINDOWS_STATIC_LIBRARY
WXWINDOWS_SHARED_LIBRARY
WXWINDOWS_INCLUDE_PATH
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment