CMakeLists.txt 519 B

1234567891011121314151617
  1. # Define target name
  2. set (TARGET_NAME ShaderCompiler)
  3. # Define source files
  4. file (GLOB CPP_FILES *.cpp)
  5. file (GLOB H_FILES *.h)
  6. set (SOURCE_FILES ${CPP_FILES} ${H_FILES})
  7. # Include directories
  8. include_directories (
  9. ../../Engine/Container ../../Engine/Core ../../Engine/IO ../../Engine/Math ../../Engine/Resource
  10. )
  11. # Define target & libraries to link
  12. add_executable (${TARGET_NAME} ${SOURCE_FILES})
  13. target_link_libraries (${TARGET_NAME} Container Core IO Math Resource d3dx9.lib)
  14. finalize_exe ()