File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required( VERSION 2.8 )
22
33# executable is ${EXE}, input file is ${INFILE}
44
5- set ( ofile "SdaiINVERSE_PROBLEM.init .cc" )
5+ set ( ofile "entity/SdaiAssembly_component .cc" )
66execute_process ( COMMAND ${EXE} ${INFILE}
77 RESULT_VARIABLE CMD_RESULT )
88if ( NOT ${CMD_RESULT} EQUAL 0 )
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ include_directories( ${SC_SOURCE_DIR}/src/cldai ${SC_SOURCE_DIR}/src/cleditor ${
1111function ( add_schema_dependent_test name sdai_lib exe_args )
1212 # need the path to the lib sources for -I
1313 get_target_property ( sdai_srcs sdai_${sdai_lib} SOURCES )
14- list (GET sdai_srcs 0 fullpath )
14+
15+ # -1 --> last item in list, which will be a file that isn't in a subdir
16+ list (GET sdai_srcs -1 fullpath )
1517 get_filename_component (sdai_src_path ${fullpath} PATH )
1618
1719 add_executable ( tst_${name} "${name} .cc" )
@@ -60,7 +62,7 @@ add_schema_dependent_test( "attribute" "inverse_attr" "${SC_SOURCE_DIR}/test/p21
6062
6163if (HAVE_STD_THREAD)
6264 # for best results, use a large file. as1-oc-214.stp is currently the largest file in the repo that sc works with.
63- add_schema_dependent_test ( "stepfile_rw_progress" "AP214E3_2010 "
65+ add_schema_dependent_test ( "stepfile_rw_progress" "ap214e3 "
6466 "${SC_SOURCE_DIR} /data/ap214e3/as1-oc-214.stp" "-pthread -std=c++0x" "pthread" )
6567endif (HAVE_STD_THREAD )
6668
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ set(sn_insts "
5050set (schema_name_good "AUTOMOTIVE_DESIGN" )
5151set (schema_name_good_asn "AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }" )
5252set (schema_name_mismatch "DOES_NOT_MATCH" )
53- set (p21read_ap214 "${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /p21read_sdai_AP214E3_2010 " )
53+ set (p21read_ap214 "${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /p21read_sdai_ap214e3 " )
5454file (WRITE ${CMAKE_CURRENT_BINARY_DIR} /exch_file_good.p21 "${P21_FILE_HEAD}${schema_name_good}${P21_FILE_MID}
5555${sn_insts}${P21_FILE_TAIL} " )
5656file (WRITE ${CMAKE_CURRENT_BINARY_DIR} /exch_file_good_asn.p21 "${P21_FILE_HEAD}${schema_name_good_asn}${P21_FILE_MID}
You can’t perform that action at this time.
0 commit comments