Skip to content

Commit

Permalink
max: try to debug why json_to_maxref not always foujnd
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 25, 2024
1 parent dac6f37 commit aeb569b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/avendish.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ add_library(avnd_dummy_lib OBJECT "${AVND_SOURCE_DIR}/src/dummy.cpp")
include(avendish.dependencies)
include(avendish.disableexceptions)
include(avendish.sources)
include(avendish.tools)

include(avendish.ui.qt)
include(avendish.dump)
Expand All @@ -138,7 +139,6 @@ include(avendish.clap)
include(avendish.ossia)
include(avendish.standalone)
include(avendish.example)
include(avendish.tools)

# Used for getting completion in IDEs...
function(avnd_register)
Expand Down
1 change: 1 addition & 0 deletions cmake/avendish.max.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ function(avnd_create_max_package)

# Copy the doc
if(_maxref_xml)
add_dependencies("${_external}" "dump_maxref_${_external}")
add_custom_command(TARGET ${_external} POST_BUILD
COMMAND echo "=== copy doc === ${_maxref_xml}"
COMMAND ${CMAKE_COMMAND} -E copy "${_maxref_xml}" "${_pkg}/docs/refpages/"
Expand Down
2 changes: 1 addition & 1 deletion cmake/avendish.tools.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Demo: dump all the known metadata.
if(TARGET pantor::inja AND TARGET nlohmann_json::nlohmann_json)
message("Building json_to_maxref")
add_executable(json_to_maxref examples/Demos/JSONToMaxref.cpp)
if(NOT MSVC)
target_compile_options(json_to_maxref PRIVATE -std=c++20)
Expand Down

0 comments on commit aeb569b

Please sign in to comment.