khanat-code-old/code/nel/tools/3d/plugin_max/CMakeLists.txt
StudioEtrange 91e6b23d3f ** PCH Support for NMake with VS2012
NMAKE-VS2012 Error LNK2011
while NMAKE-VS2010 does not complain
we need to link the pch.obj file
see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx

** PCH Support for Ninja
Ninja need to add property
        OBJECT_DEPENDS for using PCH
        OBJECT_OUTPUTS for create PCH
see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
2013-09-05 17:18:01 +02:00

33 lines
No EOL
972 B
CMake

ADD_SUBDIRECTORY(nel_patch_lib)
ADD_SUBDIRECTORY(nel_mesh_lib)
ADD_SUBDIRECTORY(nel_patch_converter)
ADD_SUBDIRECTORY(nel_3dsmax_shared)
ADD_SUBDIRECTORY(nel_export)
ADD_SUBDIRECTORY(nel_patch_edit)
ADD_SUBDIRECTORY(nel_patch_edit_adv)
ADD_SUBDIRECTORY(nel_patch_paint)
ADD_SUBDIRECTORY(nel_vertex_tree_paint)
ADD_SUBDIRECTORY(tile_utility)
INSTALL(FILES
max_animation_support.txt
max_lightmap_support.txt
max_skinning_support.txt
nel_water_material.txt
install_plugin_max.txt
max_light_support.txt
max_material_support.txt
resolve_troubles.txt
DESTINATION maxplugin/docs)
INSTALL(DIRECTORY scripts/
DESTINATION maxplugin/scripts/
COMPONENT libraries
PATTERN "CVS" EXCLUDE
PATTERN ".svn" EXCLUDE
PATTERN "Makefile*" EXCLUDE)
INSTALL(DIRECTORY macroscripts/
DESTINATION maxplugin/macroscripts/
COMPONENT libraries
PATTERN "CVS" EXCLUDE
PATTERN ".svn" EXCLUDE
PATTERN "Makefile*" EXCLUDE)