Skip to content

Commit

Permalink
build: Add cmake source dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tmmsartor committed Jul 16, 2024
1 parent 2b0cf4b commit c0939cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ add_custom_command(
DEPENDS ${PROJECT_BINARY_DIR}/PackageCompiler_env_status.txt
DEPENDS ${PROJECT_SOURCE_DIR}/src/MadNLP_C.jl
DEPENDS ${PROJECT_SOURCE_DIR}/compiler/build.jl
DEPENDS ${PROJECT_SOURCE_DIR}/compiler/generate_procompile.jl
COMMAND echo 1 > ${PROJECT_BINARY_DIR}/library_precompilation_dummy.txt
COMMAND ${Julia_EXECUTABLE} --startup-file=no --project=compiler ${BUILD_SCRIPT} ${PROJECT_BINARY_DIR}/${MADNLP_C_FULLNAME}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
Expand Down

0 comments on commit c0939cb

Please sign in to comment.