mirror of
https://github.com/encounter/cpp3ds.git
synced 2026-03-30 11:04:22 -07:00
Fixed gresource generating for CMake
This commit is contained in:
@@ -64,16 +64,7 @@ list(REMOVE_ITEM SRC_SIM ${SRCROOT}/cpp3ds/syscalls.cpp)
|
||||
|
||||
|
||||
|
||||
include(gresource)
|
||||
|
||||
gresource(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/res/sim
|
||||
simulator.gresource.xml
|
||||
${CMAKE_CURRENT_BINARY_DIR}/src/sim3ds/Simulator
|
||||
${CMAKE_CURRENT_BINARY_DIR}/include/cpp3ds/Simulator
|
||||
RESOURCE_SOURCE
|
||||
RESOURCE_HEADER
|
||||
)
|
||||
|
||||
|
||||
# uninstall target
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
include(gresource)
|
||||
|
||||
gresource(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../res/sim
|
||||
simulator.gresource.xml
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../src/sim3ds/Simulator
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../include/cpp3ds/Simulator
|
||||
RESOURCE_SOURCE
|
||||
RESOURCE_HEADER
|
||||
)
|
||||
|
||||
|
||||
add_library(cpp3ds-sim STATIC
|
||||
${SRC_SIM}
|
||||
|
||||
Reference in New Issue
Block a user