mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
CMake: define _DLL_EXT for all projects
This is necessary for the macro DLL_EXT_STRING which will be implemented in the next commit.
This commit is contained in:
parent
d4d2244b93
commit
440e5f7fe1
@ -100,6 +100,13 @@ macro( define_compiler_variables )
|
||||
else()
|
||||
message( FATAL_ERROR "Unsupported compiler: ${CMAKE_CXX_COMPILER_ID}" )
|
||||
endif()
|
||||
|
||||
# Win64 is currently the only target we plan to support. If we support more,
|
||||
# we need to adjust the extension from here as _DLL_EXT is used for the macro
|
||||
# DLL_EXT_STRING, which is used for constructing AppSystemInfo_t objects. The
|
||||
# method IAppSystem::GetDependencies() returns these objects which the caller
|
||||
# could use to figure out which modules to load in order to use the interface.
|
||||
add_definitions( -D_DLL_EXT=\".dll\" )
|
||||
endmacro()
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user