Compare commits
85
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85019ca5d5
|
||
|
|
bc5691f33d
|
||
|
|
9b63a2c6b4
|
||
|
|
126afd2472
|
||
|
|
320c4c8ef7
|
||
|
|
2d924a0c95
|
||
|
|
245854aaa9
|
||
|
|
e56f0b0955
|
||
|
|
03c6bc84f5
|
||
|
|
51d082c17c
|
||
|
|
a64018d5e8
|
||
|
|
ccf1f3a560
|
||
|
|
4fc188be7a
|
||
|
|
214a5fb944
|
||
|
|
c54660a0d8
|
||
|
|
ca17eb19c5
|
||
|
|
50a45f24fa
|
||
|
|
9ba389004e
|
||
|
|
7b3470b3b7
|
||
|
|
29958f0cf8
|
||
|
|
f6093903b7
|
||
|
|
6658df2dd5
|
||
|
|
dc5dd231d0
|
||
|
|
cec3bea1e8
|
||
|
|
29c2873517
|
||
|
|
480d406652
|
||
|
|
90ff3e93bc
|
||
|
|
6bc583eae1
|
||
|
|
3f946afc70
|
||
|
|
05cb32c1b2
|
||
|
|
c2d77bd943
|
||
|
|
5a88a332ea
|
||
|
|
728c0db69f
|
||
|
|
5c4146e9c3
|
||
|
|
20981fab9a
|
||
|
|
5b6b481267
|
||
|
|
7693146cb2
|
||
|
|
3f4a590edf
|
||
|
|
78bf51b402
|
||
|
|
65ee0fa9d6
|
||
|
|
cffa2500ed
|
||
|
|
4560a2d85e
|
||
|
|
b7ec0b0106
|
||
|
|
ccd47cffa7
|
||
|
|
aec3e8069d
|
||
|
|
d544147fdb
|
||
|
|
0177f6358d
|
||
|
|
ee2914e93c
|
||
|
|
7642bf5a11
|
||
|
|
69eeeb66bc
|
||
|
|
80403d7ef0
|
||
|
|
e542a3a6b9
|
||
|
|
0cc5fe50ef
|
||
|
|
51bb7d8e0b
|
||
|
|
f8226f3bea
|
||
|
|
c8a14e9419
|
||
|
|
c132ff57d1
|
||
|
|
05025647bc
|
||
|
|
a70247bc91
|
||
|
|
f725064c91
|
||
|
|
1e0d24e3a8
|
||
|
|
abcc7c2c31
|
||
|
|
5a6efa5df3
|
||
|
|
47185ffcae
|
||
|
|
63db207e47
|
||
|
|
ff6c023aeb
|
||
|
|
d920edc54f
|
||
|
|
700229e6a6
|
||
|
|
c8b5d72b09
|
||
|
|
fd7e9b5f4e
|
||
|
|
9606fd819d
|
||
|
|
6c4e4c2264
|
||
|
|
8c6eaa3328
|
||
|
|
b39afa7592
|
||
|
|
256a355269
|
||
|
|
bb4afd3316
|
||
|
|
9818992f8a
|
||
|
|
bcb600985e
|
||
|
|
6c4ed0677e
|
||
|
|
c47690238f
|
||
|
|
0214cbcd78
|
||
|
|
94ad217644
|
||
|
|
641a9df9de
|
||
|
|
dc45ded218
|
||
|
|
8a94f0ccd0 |
Executable → Regular
@@ -1,55 +0,0 @@
|
|||||||
cmake_minimum_required(VERSION 3.22)
|
|
||||||
|
|
||||||
project(test)
|
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 20)
|
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED true)
|
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
|
||||||
set(CMAKE_EXPORT_COMPILE_COMMANDS true)
|
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Nintendo3DS")
|
|
||||||
if(${PD_BUILD_SHARED})
|
|
||||||
message(ERROR "3DS Only supports Static libraries")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_subdirectory(../ palladium)
|
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Nintendo3DS")
|
|
||||||
add_subdirectory(../backends/3ds pd-3ds)
|
|
||||||
else()
|
|
||||||
add_subdirectory(../backends/desktop pd-desktop)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_executable(test source/main.cpp
|
|
||||||
${BKND_SRC})
|
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Nintendo3DS")
|
|
||||||
target_link_libraries(test PUBLIC pd-3ds palladium)
|
|
||||||
else()
|
|
||||||
target_link_libraries(test PUBLIC pd-desktop palladium)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Nintendo3DS")
|
|
||||||
target_compile_options(palladium PRIVATE
|
|
||||||
$<$<COMPILE_LANGUAGE:C>:-Wall>
|
|
||||||
$<$<COMPILE_LANGUAGE:C>:-Wno-psabi>
|
|
||||||
$<$<COMPILE_LANGUAGE:CXX>:-fno-exceptions>
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
|
||||||
target_compile_options(palladium PRIVATE
|
|
||||||
$<$<CONFIG:Debug>:-O0 -g>
|
|
||||||
$<$<CONFIG:Release>:-O3>
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# set(RC_FILES
|
|
||||||
# testassets/ComicNeue.ttf
|
|
||||||
# testassets/logo.png
|
|
||||||
# testassets/test.png)
|
|
||||||
# install(FILES ${RC_FILES} DESTINATION ".")
|
|
||||||
# else()
|
|
||||||
# target_link_libraries(test PUBLIC pd-backend-3ds ctru citro3d)
|
|
||||||
# endif()
|
|
||||||
Reference in New Issue
Block a user