Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
2aea0b3b
Commit
2aea0b3b
authored
Aug 13, 2021
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resources in Windows
parent
6b16e02b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
CMakeLists.txt
+2
-0
src/CifUtils.cpp
+6
-6
No files found.
CMakeLists.txt
View file @
2aea0b3b
...
@@ -6,6 +6,8 @@ project(cifpp VERSION 1.1.0)
...
@@ -6,6 +6,8 @@ project(cifpp VERSION 1.1.0)
set
(
CMAKE_CXX_STANDARD 17
)
set
(
CMAKE_CXX_STANDARD 17
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_DEBUG_POSTFIX d
)
if
(
MSVC
)
if
(
MSVC
)
# make msvc standards compliant...
# make msvc standards compliant...
add_compile_options
(
/permissive-
)
add_compile_options
(
/permissive-
)
...
...
src/CifUtils.cpp
View file @
2aea0b3b
...
@@ -822,13 +822,13 @@ struct rsrc_imp
...
@@ -822,13 +822,13 @@ struct rsrc_imp
#if _MSC_VER
#if _MSC_VER
extern
"C"
const
mrsrc
::
rsrc_imp
*
gResourceIndexDefault
=
nullptr
;
extern
"C"
const
mrsrc
::
rsrc_imp
*
gResourceIndexDefault
[
1
]
=
{}
;
extern
"C"
const
char
*
gResourceDataDefault
=
nullptr
;
extern
"C"
const
char
*
gResourceDataDefault
[
1
]
=
{}
;
extern
"C"
const
char
*
gResourceNameDefault
=
nullptr
;
extern
"C"
const
char
*
gResourceNameDefault
[
1
]
=
{}
;
extern
"C"
const
mrsrc
::
rsrc_imp
*
gResourceIndex
;
extern
"C"
const
mrsrc
::
rsrc_imp
gResourceIndex
[]
;
extern
"C"
const
char
*
gResourceData
;
extern
"C"
const
char
gResourceData
[]
;
extern
"C"
const
char
*
gResourceName
;
extern
"C"
const
char
gResourceName
[]
;
#pragma comment(linker, "/alternatename:gResourceIndex=gResourceIndexDefault")
#pragma comment(linker, "/alternatename:gResourceIndex=gResourceIndexDefault")
#pragma comment(linker, "/alternatename:gResourceData=gResourceDataDefault")
#pragma comment(linker, "/alternatename:gResourceData=gResourceDataDefault")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment