summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2008-05-23 06:46:51 +0000
committerPeter Johnson <peter@tortall.net>2008-05-23 06:46:51 +0000
commiteb7b1adb30124353ea0add7a07b569ef72f4646f (patch)
tree553a24fe5e1b96bcdcbd614ff43022aa81ec2ccd /tools
parente4f292ef16ec5888920bc07b57227970e54aec7d (diff)
downloadyasm-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.txt1
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=)