Skip to content

Commit fb794ee

Browse files
committed
[Nokia N-Gage] Move compile definitions to the SDK's toolchain file.
1 parent e48eacb commit fb794ee

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

cmake/nokia_ngage.cmake

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ cmake_minimum_required(VERSION 3.16)
22

33
enable_language(CXX)
44

5-
set(GCC_MODULE_COMN_DEFS -D__SYMBIAN32__ -D__GCC32__ -D__EPOC32__ -D__MARM__ -D__MARM_ARMI__)
6-
set(GCC_MODULE_MODE_DEFS -DNDEBUG -D_UNICODE)
7-
set(GCC_MODULE_DEFS ${GCC_MODULE_COMN_DEFS} ${GCC_MODULE_MODE_DEFS})
8-
95
file(GLOB SDL3_sources
106
"${SDL3_SOURCE_DIR}/src/*.c"
117
"${SDL3_SOURCE_DIR}/src/atomic/*.c"
@@ -69,8 +65,7 @@ target_include_directories(
6965
target_compile_definitions(
7066
${PROJECT_NAME}
7167
PUBLIC
72-
SDL_STATIC_LIB
73-
${GCC_MODULE_DEFS})
68+
SDL_STATIC_LIB)
7469

7570
set(test_static_libs
7671
${CMAKE_CURRENT_BINARY_DIR}/libSDL3.a)
@@ -114,18 +109,10 @@ target_compile_definitions(
114109
ngage_test
115110
PUBLIC
116111
__EXE__
117-
FUNCTION_NAME=__FUNCTION__
118-
${GCC_DEFS}
119112
UID1=${UID1}
120113
UID2=${UID2}
121114
UID3=${UID3})
122115

123-
target_compile_options(
124-
ngage_test
125-
PUBLIC
126-
-O3
127-
)
128-
129116
target_include_directories(
130117
ngage_test
131118
PUBLIC

0 commit comments

Comments
 (0)