diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-12-06 12:04:59 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-12-06 12:04:59 +0000 |
commit | 4315f96a3bcf40153d0e9b19992c8514ea53002d (patch) | |
tree | 6f096a4ac3f684cdda02c8a8bf207bbf8a1f3395 /infrastructure/msvc/getversion.pl | |
parent | 2db3e7a096f6748410c56626ca50e5c69ad1119f (diff) |
Start generating MSVC project files using CMake.
Update getversion.pl to work when run from CMake.
Update modules.txt to give our CMake configuration the necessary dependency
information.
Diffstat (limited to 'infrastructure/msvc/getversion.pl')
-rw-r--r-- | infrastructure/msvc/getversion.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/infrastructure/msvc/getversion.pl b/infrastructure/msvc/getversion.pl index 0cf9cbcb..fe958831 100644 --- a/infrastructure/msvc/getversion.pl +++ b/infrastructure/msvc/getversion.pl @@ -1,8 +1,7 @@ #!perl $basedir = $0; -$basedir =~ s/\\[^\\]*$//; -$basedir =~ s/\\[^\\]*$//; +$basedir =~ s|/|\\|g; $basedir =~ s/\\[^\\]*$//; $basedir =~ s/\\[^\\]*$//; $basedir =~ s/\\[^\\]*$//; |