https://github.com/Kitware/CMake
Raw File
Tip revision: 166bf4c490b8f46eca057fc23c3f3c2e042e9cb3 authored by Brad King on 13 December 2017, 13:34:28 UTC
CMake 3.10.1
Tip revision: 166bf4c
test.rc
#ifdef CMAKE_RCDEFINE
# ifndef CMAKE_RC_NO_INCLUDE
#  include <include.rc>
# endif

// This line can compile with either an unquoted or a quoted string
1025 TEXTFILE CMAKE_RCDEFINE

#ifndef CMAKE_RCDEFINE_NO_QUOTED_STRINGS
// This block can only be compiled if CMAKE_RCDEFINE preprocesses
// to a double quoted string
STRINGTABLE
BEGIN
  1026 CMAKE_RCDEFINE
END
#endif

#else
#error "resource compiler did not get defines from command line!"
#endif
back to top