-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Rule Timothy (VM/EMT3) <[email protected]>
- Loading branch information
1 parent
2e2f1e0
commit c2ad640
Showing
3 changed files
with
20 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Target: Linux i386 | ||
|
||
set(CMAKE_SYSTEM_NAME Linux) | ||
set(CDEF_PLATFORM_OS linux) # Available via dse/clib/platform.h. | ||
set(CDEF_PLATFORM_ARCH i386) # Available via dse/clib/platform.h. | ||
|
||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32") | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32") | ||
|
||
|
||
# Enable CCache if available. | ||
# Trigger secondary storage by setting environment variables: | ||
# CCACHE_SECONDARY_STORAGE=redis://YOUR_SERVER | ||
find_program(CCACHE_PROGRAM ccache) | ||
if(CCACHE_PROGRAM) | ||
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PROGRAM}") | ||
endif() |