mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 07:09:22 +00:00
1e4bb35894
This allows users to specify different genex-based compile flags for each file in a target, e.g. compiling just a single file with `Od/Ox` in release builds on Visual Studio.
12 lines
193 B
C
12 lines
193 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
#ifndef SRC_GENEX_WORKS
|
|
#error SRC_GENEX_WORKS not defined
|
|
#endif
|
|
printf("%s\n", argv[1]);
|
|
return EXIT_SUCCESS;
|
|
}
|