![]() ![]() However when I generate the solution via CMake it seems to ignore this when I look at the compile options for that source file. 3 Answers Sorted by: 50 Since CMake 3. 1 Im working on a C++ project that uses wxWidgets with a CMake script I wrote to resolve this dependency when I build it. ![]() I am trying to add a bunch of compile flags to some of them using like - set_source_files_properties( AmbientPixel.hlsl PROPERTIES COMPILE_FLAGS "/E\"ps_main\" /ps\"_5_0\"" ) CMake must already know about each of these source directories, either by having added them through a call to addsubdirectory () or it being the top level source directory. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |