8000 Stop deleting source files · Issue #540 · TokTok/c-toxcore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Stop deleting source files #540
Closed
Closed
@GrayHatter

Description

@GrayHatter
diff --git a/cmake/ApiDsl.cmake b/cmake/ApiDsl.cmake
index 759f7f05..0307a2af 100644
--- a/cmake/ApiDsl.cmake
+++ b/cmake/ApiDsl.cmake
@@ -33,7 +33,7 @@ function(apidsl)
       set(out_file ${CMAKE_SOURCE_DIR}/${dirname}/${filename}.h)
 
       # Run apidsl.
-      add_custom_command(
+      add_custom_target(
         OUTPUT ${out_file}
         COMMAND "${APIDSL}" "${CMAKE_SOURCE_DIR}/${in_file}"
           | "${ASTYLE}" --options="${CMAKE_SOURCE_DIR}/other/astyle/astylerc"

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0