feat(build): build standard library when building on Windows
This commit is contained in:
parent
e3ac1f66e0
commit
8867f47dd6
1 changed files with 7 additions and 9 deletions
|
@ -313,15 +313,13 @@ if(NOT DEFINED PROCESSOR_COUNT)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if((${CYGWIN} EQUAL "1") OR (NOT (${CMAKE_SYSTEM_NAME} MATCHES "Windows")))
|
|
||||||
# Only build libraries if we are NOT cross compiling
|
# Only build libraries if we are NOT cross compiling
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
standard_lib ALL
|
standard_lib ALL
|
||||||
COMMAND ${LEAN_SOURCE_DIR}/../bin/linja
|
COMMAND python ${LEAN_SOURCE_DIR}/../bin/linja
|
||||||
DEPENDS ${CMAKE_BINARY_DIR}/shell/lean
|
DEPENDS ${CMAKE_BINARY_DIR}/shell/lean
|
||||||
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
|
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
|
||||||
)
|
)
|
||||||
endif()
|
|
||||||
|
|
||||||
add_custom_target(clean-olean
|
add_custom_target(clean-olean
|
||||||
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
|
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
|
||||||
|
|
Loading…
Reference in a new issue