aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Kahrs <Juergen.Kahrs@googlemail.com>2013-03-09 20:33:00 +0100
committerJuergen Kahrs <Juergen.Kahrs@googlemail.com>2013-03-09 20:33:00 +0100
commitb02fb9b76e40a94cdaad17b7d1a720a71f8f8eb0 (patch)
tree68741b8bb5a644b738b7d0d3adf61cf82094e541
parente83d848b576ba38ca98fcb97f72d5c1891982615 (diff)
downloadegawk-b02fb9b76e40a94cdaad17b7d1a720a71f8f8eb0.tar.gz
egawk-b02fb9b76e40a94cdaad17b7d1a720a71f8f8eb0.tar.bz2
egawk-b02fb9b76e40a94cdaad17b7d1a720a71f8f8eb0.zip
Added TODO for pc/config.h.
-rw-r--r--CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ba604c78..cd13ef62 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,7 +52,13 @@ if(WIN32 OR "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
DefineConfigHValue(HAVE_ISWUPPER 1)
DefineConfigHValue(HAVE_SETENV 1)
DefineConfigHValue(STDC_HEADERS 1)
- set (GAWK_SOURCES ${GAWK_SOURCES} regex.c pc/getid.c pc/gawkmisc.pc)
+ # TODO: Eli Zaretskii remined me that the generated
+ # settings in config.h should be the same as those in
+ # pc/config.h. With these settings and DYNAMIC=1
+ # it looks like functions in dynamic libs (extensions) can
+ # be invoked on Windows.
+ set (GAWK_SOURCES ${GAWK_SOURCES} regex.c pc/getid.c pc/gawkmisc.pc pc/popen.c)
+ include_directories(${CMAKE_SOURCE_DIR}/pc)
endif()
set (GAWK_SOURCES ${GAWK_SOURCES}