http://www.cmake.org/Wiki/BuildingWinDLLI think is what you want to read.
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer D
On Sun, Nov 22, 2009 at 6:53 AM, Alex H wrote:
> If I have a .h file and I want to create a library using that .h file and
> some other file, how can I set the preprocessor definition to some FLAG?
> So far I think the way to go is the following:
> set_source_files_properties(vehicle.h PROPERTIES
If I have a .h file and I want to create a library using that .h file and some
other file, how can I set the preprocessor definition to some FLAG?
So far I think the way to go is the following:
set_source_files_properties(vehicle.h PROPERTIES COMPILE_FLAGS "-DPROJECT")
is this right? I tried it a