-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make mem module isolated from project
Properly define MEM_USE_RTL definition only for mem library. Link other dependant modules with mem.
- Loading branch information
1 parent
fa3f379
commit db8aa64
Showing
20 changed files
with
39 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ set(CPPS | |
add_library(2dlib STATIC ${HEADERS} ${CPPS}) | ||
target_link_libraries(2dlib PRIVATE | ||
cfile | ||
mem | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ set(CPPS | |
add_library(grtext STATIC ${HEADERS} ${CPPS}) | ||
target_link_libraries(grtext PRIVATE | ||
ddio | ||
mem | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
set(HEADERS) | ||
set(CPPS | ||
mem.cpp) | ||
mem.cpp | ||
) | ||
|
||
add_library(mem STATIC ${HEADERS} ${CPPS}) | ||
add_library(mem STATIC ${CPPS}) | ||
target_compile_definitions(mem PUBLIC | ||
$<$<BOOL:${ENABLE_MEM_RTL}>:MEM_USE_RTL> | ||
) | ||
target_include_directories(mem PUBLIC | ||
$<BUILD_INTERFACE: | ||
${PROJECT_SOURCE_DIR}/mem | ||
> | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ set(CPPS | |
add_library(model STATIC ${HEADERS} ${CPPS}) | ||
target_link_libraries(model PRIVATE | ||
ddio | ||
mem | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ add_library(movie STATIC ${HEADERS} ${CPPS}) | |
target_link_libraries(movie PRIVATE | ||
ddio | ||
libmve | ||
mem | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
set(HEADERS) | ||
set(CPPS | ||
networking.cpp) | ||
|
||
set(PLATFORMCPPS) | ||
|
||
if(WIN32) | ||
set(PLATFORMCPPS "directplay.cpp") | ||
endif() | ||
networking.cpp | ||
$<$<PLATFORM_ID:Windows>: | ||
directplay.cpp | ||
> | ||
) | ||
|
||
add_library(networking STATIC ${HEADERS} ${CPPS} ${PLATFORMCPPS}) | ||
add_library(networking STATIC ${HEADERS} ${CPPS}) | ||
target_link_libraries(networking PRIVATE | ||
ddio | ||
mem | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ set(CPPS | |
add_library(physics STATIC ${HEADERS} ${CPPS}) | ||
target_link_libraries(physics PRIVATE | ||
ddio | ||
mem | ||
sndlib | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,5 @@ add_library(renderer STATIC ${HEADERS} ${CPPS}) | |
target_link_libraries(renderer PRIVATE | ||
bitmap | ||
ddio | ||
mem | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ set(CPPS | |
add_library(ui STATIC ${HEADERS} ${CPPS}) | ||
target_link_libraries(ui PRIVATE | ||
ddio | ||
mem | ||
) |