comparison Resources/CodeGeneration/testCppHandler/CMakeLists.txt @ 687:342f3e04bfa9 am-dev

CodeGen: test cleanup + all working again + using same yaml and stimuli files
author Alain Mazy <alain@mazy.be>
date Thu, 16 May 2019 17:51:17 +0200
parents 1dbf2d9ed1e4
children
comparison
equal deleted inserted replaced
686:0d42bda615a8 687:342f3e04bfa9
1 cmake_minimum_required(VERSION 2.8) 1 cmake_minimum_required(VERSION 2.8)
2 2
3 project(testCppHandler) 3 project(testCppHandler)
4 4
5 set(testCppHandler_Codegen_Deps 5 set(testCppHandler_Codegen_Deps
6 ${CMAKE_CURRENT_LIST_DIR}/../test_data/test1.yaml 6 ${CMAKE_CURRENT_LIST_DIR}/../test_data/testTestStoneCodeGen.yaml
7 ${CMAKE_CURRENT_LIST_DIR}/../template.in.h.j2 7 ${CMAKE_CURRENT_LIST_DIR}/../template.in.h.j2
8 ) 8 )
9 9
10 add_custom_command( 10 add_custom_command(
11 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/VsolMessages_generated.hpp 11 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/VsolMessages_generated.hpp
12 COMMAND python ${CMAKE_CURRENT_LIST_DIR}/../stonegentool.py -o ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_LIST_DIR}/../test_data/test1.yaml 12 COMMAND python ${CMAKE_CURRENT_LIST_DIR}/../stonegentool.py -o ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_LIST_DIR}/../test_data/testTestStoneCodeGen.yaml
13 DEPENDS ${testCppHandler_Codegen_Deps} 13 DEPENDS ${testCppHandler_Codegen_Deps}
14 ) 14 )
15 15
16 include(${CMAKE_BINARY_DIR}/conanbuildinfo_multi.cmake) 16 include(${CMAKE_BINARY_DIR}/conanbuildinfo_multi.cmake)
17 conan_basic_setup() 17 conan_basic_setup()