Skip to content

Commit

Permalink
Change project and output names in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jimnarey committed Nov 28, 2020
1 parent ffa977b commit 8e47633
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Firmware/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(OPTIMIZATION_LEVEL "-Os")
set(DEFAULT_BUILD_TYPE "Release")

# Define project
project(ogx360)
project(sxbca)
enable_language(C CXX)

# Default common compiler flags
Expand Down Expand Up @@ -73,12 +73,12 @@ file(GLOB FIRMWARE_FILES
)

# Build the master firmware (without Steel Battalion controller support)
add_executable(ogx360_32u4_master.elf "${FIRMWARE_FILES}")
target_compile_definitions(ogx360_32u4_master.elf PRIVATE "-DDISABLE_BATTALION ")
add_dependencies(ogx360_32u4_master.elf Arduino)
add_dependencies(ogx360_32u4_master.elf LUFA)
add_dependencies(ogx360_32u4_master.elf USB_Host_Shield)
target_link_libraries(ogx360_32u4_master.elf Arduino)
target_link_libraries(ogx360_32u4_master.elf LUFA)
target_link_libraries(ogx360_32u4_master.elf USB_Host_Shield)
add_executable(sxbca.elf "${FIRMWARE_FILES}")
target_compile_definitions(sxbca.elf PRIVATE "-DDISABLE_BATTALION ")
add_dependencies(sxbca.elf Arduino)
add_dependencies(sxbca.elf LUFA)
add_dependencies(sxbca.elf USB_Host_Shield)
target_link_libraries(sxbca.elf Arduino)
target_link_libraries(sxbca.elf LUFA)
target_link_libraries(sxbca.elf USB_Host_Shield)

0 comments on commit 8e47633

Please sign in to comment.