Visual C++ Compilation

This commit is contained in:
Bertrand Songis
2014-03-29 11:47:58 +01:00
parent 71fb790248
commit 42727e6e19
3 changed files with 25 additions and 11 deletions
+3
View File
@@ -90,12 +90,15 @@ add_custom_command(
WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY}
)
if(WIN32)
else()
add_custom_command(
OUTPUT ${RADIO_SRC_DIRECTORY}/stamp-opentx.h
COMMAND make stamp_header
DEPENDS ${RADIO_SRC_DIRECTORY}/Makefile
WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY}
)
endif()
include_directories(
${CMAKE_CURRENT_BINARY_DIR}