File size: 982 Bytes
985c397 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
SET(Test_SRCS
__init__.py
Init.py
BaseTests.py
Document.py
GuiDocument.py
Metadata.py
StringHasher.py
Menu.py
TestApp.py
TestGui.py
UnicodeTests.py
UnitTests.py
Workbench.py
unittestgui.py
testmakeWireString.py
TestPythonSyntax.py
TestPerf.py
)
SET(TestData_SRCS
TestData/basic_metadata.xml
TestData/bad_root_node.xml
TestData/bad_xml.xml
TestData/bad_version.xml
TestData/content_items.xml
TestData/DXFSample.dxf
)
SOURCE_GROUP("" FILES ${Test_SRCS} ${TestData_SRCS})
if(BUILD_GUI)
add_subdirectory(Gui)
list (APPEND Test_SRCS InitGui.py)
endif(BUILD_GUI)
ADD_CUSTOM_TARGET(Test ALL
SOURCES ${Test_SRCS} ${TestData_SRCS}
)
fc_copy_sources(Test "${CMAKE_BINARY_DIR}/Mod/Test" ${Test_SRCS} ${TestData_SRCS})
INSTALL(
FILES
${Test_SRCS}
DESTINATION
Mod/Test
)
INSTALL(
FILES
${TestData_SRCS}
DESTINATION
Mod/Test/TestData
)
|