@@ -404,8 +404,10 @@ if(BUILD_TOOLS AND WIN32)
404
404
add_executable (texassemble
405
405
Texassemble/texassemble.cpp
406
406
Texassemble/texassemble.rc
407
- Texassemble/settings.manifest
407
+ Common/CmdLineHelpers.h
408
+ Common/settings.manifest
408
409
Texassemble/AnimatedGif.cpp)
410
+ target_include_directories (texassemble PRIVATE Common)
409
411
target_compile_features (texassemble PRIVATE cxx_std_17)
410
412
target_link_libraries (texassemble PRIVATE ${PROJECT_NAME} ole32.lib version .lib)
411
413
source_group (texassemble REGULAR_EXPRESSION Texassemble/*.*)
@@ -416,9 +418,11 @@ if(BUILD_TOOLS AND BUILD_DX11 AND WIN32)
416
418
add_executable (texconv
417
419
Texconv/texconv.cpp
418
420
Texconv/texconv.rc
419
- Texconv/settings.manifest
421
+ Common/CmdLineHelpers.h
422
+ Common/settings.manifest
420
423
Texconv/ExtendedBMP.cpp
421
424
Texconv/PortablePixMap.cpp)
425
+ target_include_directories (texconv PRIVATE Common)
422
426
target_compile_features (texconv PRIVATE cxx_std_17)
423
427
target_link_libraries (texconv PRIVATE ${PROJECT_NAME} ole32.lib shell32.lib version .lib)
424
428
source_group (texconv REGULAR_EXPRESSION Texconv/*.*)
@@ -429,7 +433,9 @@ if(BUILD_TOOLS AND WIN32)
429
433
add_executable (texdiag
430
434
Texdiag/texdiag.cpp
431
435
Texdiag/texdiag.rc
432
- Texdiag/settings.manifest)
436
+ Common/CmdLineHelpers.h
437
+ Common/settings.manifest)
438
+ target_include_directories (texdiag PRIVATE Common)
433
439
target_compile_features (texdiag PRIVATE cxx_std_17)
434
440
target_link_libraries (texdiag PRIVATE ${PROJECT_NAME} ole32.lib version .lib)
435
441
source_group (texdiag REGULAR_EXPRESSION Texdiag/*.*)
@@ -497,6 +503,7 @@ if(BUILD_SAMPLE AND BUILD_DX11 AND WIN32)
497
503
target_include_directories (ddsview PRIVATE ${COMPILED_DDSVIEW_SHADERS} )
498
504
499
505
if (NOT USE_PREBUILT_SHADERS)
506
+ #TODO: DIRECTX_FXC_TOOL
500
507
add_custom_command (
501
508
OUTPUT "${COMPILED_DDSVIEW_SHADERS} /ddsview_ps1D.inc"
502
509
MAIN_DEPENDENCY "${PROJECT_SOURCE_DIR} /DDSView/hlsl.cmd"
0 commit comments