mirror of
https://github.com/vsariola/sointu.git
synced 2025-12-02 07:23:24 -05:00
Remove the cmake magic to create bridge.go from bridge.go.in.
The bridge.go now just assumes that the library you want is built in the build/ directory. It's probably a lot better idea than using wherever the latest build was; this way the same build is always used for the library.
This commit is contained in:
@ -10,9 +10,3 @@ add_library(${LIB} ${SOURCES})
|
||||
set_target_properties(${LIB} PROPERTIES LINKER_LANGUAGE C)
|
||||
target_link_libraries(${LIB})
|
||||
target_compile_definitions(${LIB} PUBLIC SU_USE_INTROSPECTION)
|
||||
|
||||
# Generate cgo wrapper
|
||||
add_custom_command(TARGET ${LIB}
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -P ${PROJECT_SOURCE_DIR}/BindConfig.txt ${PROJECT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/include $<TARGET_FILE:sointu>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user