[nostalgia] Cleanup

This commit is contained in:
Gary Talent 2018-04-13 19:30:13 -05:00
parent 5ba2936773
commit 263c14e0ff
2 changed files with 5 additions and 10 deletions

View File

@ -27,7 +27,10 @@
},
"macFrameworkPath": [
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks"
]
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
"cppStandard": "c++17"
},
{
"name": "Linux",

View File

@ -19,18 +19,10 @@ set(CMAKE_FIND_LIBRARY_PREFIXES lib)
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
set(LINKER_FLAGS "-specs=gba.specs")
add_definitions (
-DARM7
)
function(BuildStaticLib LIBNAME SRCFILES)
add_library(${LIBNAME} OBJECT ${SRCFILES})
set(OBJS ${OBJS} $<TARGET_OBJECTS:${LIBNAME}>)
endfunction()
add_definitions(-DARM7)
include(FindPackageHandleStandardArgs)
macro(OBJCOPY_FILE EXE_NAME)
set(FO ${CMAKE_CURRENT_BINARY_DIR}/${EXE_NAME}.bin)
set(FI ${CMAKE_CURRENT_BINARY_DIR}/${EXE_NAME})