Rename project files.

This commit is contained in:
2020-03-01 05:58:02 +00:00
parent 2dd23c171d
commit 675872bbda
5 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="dicremote-wii" type="CMakeRunConfiguration" factoryName="Application" nameIsGenerated="true" PASS_PARENT_ENVS_2="true" PROJECT_NAME="dicremote" TARGET_NAME="dicremote-wii" CONFIG_NAME="Wii - Debug" RUN_TARGET_PROJECT_NAME="dicremote" RUN_TARGET_NAME="dicremote-wii">
<configuration default="false" name="dicremote-wii" type="CMakeRunConfiguration" factoryName="Application" nameIsGenerated="true" PASS_PARENT_ENVS_2="true" PROJECT_NAME="aaruremote" TARGET_NAME="dicremote-wii" CONFIG_NAME="Wii - Debug" RUN_TARGET_PROJECT_NAME="aaruremote" RUN_TARGET_NAME="dicremote-wii">
<method v="2">
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
</method>

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 2.8)
project(dicremote C)
project(aaruremote C)
include(CheckIncludeFiles)
include(CheckLibraryExists)
include(TestBigEndian)
@@ -7,7 +7,7 @@ set(CMAKE_C_STANDARD 90)
set(MAIN_SOURCES main.c list_devices.c device.c scsi.c hex2bin.c usb.c ieee1394.c pcmcia.c ata.c sdhci.c worker.c endian.h)
add_library(dicremotecore ${MAIN_SOURCES})
add_library(aaruremotecore ${MAIN_SOURCES})
CHECK_INCLUDE_FILES("endian.h" HAVE_ENDIAN_H)
CHECK_INCLUDE_FILES("sys/endian.h" HAVE_SYS_ENDIAN_H)
@@ -37,8 +37,8 @@ else ()
endif ()
set(DIC_PORTS "linux;wii;win32" CACHE STRING "List of ports to build")
foreach (PORT IN LISTS DIC_PORTS)
set(AARU_PORTS "linux;wii;win32" CACHE STRING "List of ports to build")
foreach (PORT IN LISTS AARU_PORTS)
add_subdirectory(${PORT})
endforeach (PORT)

View File

@@ -1,4 +1,4 @@
project(dicremote-linux C)
project(aaruremote-linux C)
if (NOT "${CMAKE_SYSTEM}" MATCHES "Linux")
return()
@@ -9,10 +9,10 @@ set(PLATFORM_SOURCES list_devices.c linux.h device.c scsi.c usb.c ieee1394.c pcm
CHECK_LIBRARY_EXISTS("udev" udev_new "" HAS_UDEV)
CHECK_INCLUDE_FILES("linux/mmc/ioctl.h" HAVE_MMC_IOCTL_H)
add_executable(dicremote ${PLATFORM_SOURCES})
add_executable(aaruremote ${PLATFORM_SOURCES})
if (HAS_UDEV)
target_link_libraries(dicremote udev)
target_link_libraries(aaruremote udev)
add_definitions(-DHAS_UDEV)
endif ()
@@ -20,4 +20,4 @@ if (HAVE_MMC_IOCTL_H)
add_definitions(-DHAS_UAPI_MMC)
endif ()
target_link_libraries(dicremote dicremotecore)
target_link_libraries(aaruremote aaruremotecore)

View File

@@ -1,4 +1,4 @@
project(dicremote-wii C)
project(aaruremote-wii C)
if (NOT WII)
return()
@@ -6,7 +6,7 @@ endif ()
set(PLATFORM_SOURCES wii.c hello.c network.c wii.h list_devices.c)
add_executable(dicremote-wii ${PLATFORM_SOURCES})
set_target_properties(dicremote-wii PROPERTIES LINK_FLAGS -L$ENV{DEVKITPRO}/libogc/lib/wii/)
set_target_properties(dicremote-wii PROPERTIES OUTPUT_NAME dicremote.elf)
target_link_libraries(dicremote-wii dicremotecore -lwiiuse -lbte -logc -lm)
add_executable(aaruremote-wii ${PLATFORM_SOURCES})
set_target_properties(aaruremote-wii PROPERTIES LINK_FLAGS -L$ENV{DEVKITPRO}/libogc/lib/wii/)
set_target_properties(aaruremote-wii PROPERTIES OUTPUT_NAME aaruremote.elf)
target_link_libraries(aaruremote-wii aaruremotecore -lwiiuse -lbte -logc -lm)

View File

@@ -1,4 +1,4 @@
project("dicremote-win32" C)
project("aaruremote-win32" C)
if (NOT "${CMAKE_SYSTEM}" MATCHES "Windows")
return()
@@ -43,6 +43,6 @@ endif ()
set(PLATFORM_SOURCES "win32.h" network.c hello.c "win32.c" list_devices.c ata.c device.c ieee1394.c pcmcia.c scsi.c sdhci.c usb.h usb.c ntioctl.h)
add_executable(dicremote ${PLATFORM_SOURCES})
add_executable(aaruremote ${PLATFORM_SOURCES})
target_link_libraries(dicremote dicremotecore ws2_32 iphlpapi version setupapi cfgmgr32)
target_link_libraries(aaruremote aaruremotecore ws2_32 iphlpapi version setupapi cfgmgr32)