diff options
author | Peter Johnson <peter@tortall.net> | 2008-05-23 06:46:51 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2008-05-23 06:46:51 +0000 |
commit | eb7b1adb30124353ea0add7a07b569ef72f4646f (patch) | |
tree | 553a24fe5e1b96bcdcbd614ff43022aa81ec2ccd /tools | |
parent | e4f292ef16ec5888920bc07b57227970e54aec7d (diff) | |
download | yasm-eb7b1adb30124353ea0add7a07b569ef72f4646f.tar.gz |
Enable DLL/plugin builds with cmake on Windows.
Add proper declspec dllimport/dllexport to all libyasm functions.
Use macros to make these do nothing on non-cmake and Unix builds.
svn path=/trunk/yasm/; revision=2101
Diffstat (limited to 'tools')
-rw-r--r-- | tools/genperf/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/genperf/CMakeLists.txt b/tools/genperf/CMakeLists.txt index 22afcc95..6f50989e 100644 --- a/tools/genperf/CMakeLists.txt +++ b/tools/genperf/CMakeLists.txt @@ -5,3 +5,4 @@ add_executable(genperf ../../libyasm/xmalloc.c ../../libyasm/xstrdup.c ) +set_target_properties(genperf PROPERTIES COMPILE_FLAGS -DYASM_LIB_DECL=) |